diff options
author | Philip Lykke Carlsen <plcplc@gmail.com> | 2014-05-21 20:45:58 +0200 |
---|---|---|
committer | Luca Bruno <lethalman88@gmail.com> | 2014-06-03 22:00:47 +0200 |
commit | e87da7761a597d6c2092e5b7331a5389e14ce348 (patch) | |
tree | 367cfb80c7ab724177cff75e88e28272da472cd9 /pkgs/applications/video/subtitleeditor | |
parent | 2943fe1e7650136212e90b0c8f8813660c04069a (diff) | |
download | nixpkgs-e87da7761a597d6c2092e5b7331a5389e14ce348.tar nixpkgs-e87da7761a597d6c2092e5b7331a5389e14ce348.tar.gz nixpkgs-e87da7761a597d6c2092e5b7331a5389e14ce348.tar.bz2 nixpkgs-e87da7761a597d6c2092e5b7331a5389e14ce348.tar.lz nixpkgs-e87da7761a597d6c2092e5b7331a5389e14ce348.tar.xz nixpkgs-e87da7761a597d6c2092e5b7331a5389e14ce348.tar.zst nixpkgs-e87da7761a597d6c2092e5b7331a5389e14ce348.zip |
subtitleeditor, gstreamermm: new packages
Diffstat (limited to 'pkgs/applications/video/subtitleeditor')
-rw-r--r-- | pkgs/applications/video/subtitleeditor/default.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/applications/video/subtitleeditor/default.nix b/pkgs/applications/video/subtitleeditor/default.nix new file mode 100644 index 00000000000..c1c11357ca0 --- /dev/null +++ b/pkgs/applications/video/subtitleeditor/default.nix @@ -0,0 +1,45 @@ +{ stdenv, fetchurl, desktop_file_utils, enchant, gnome, gstreamer, gstreamermm, + gst_plugins_base, gst_plugins_good, intltool, hicolor_icon_theme, + libsigcxx, libxmlxx, makeWrapper, xdg_utils, pkgconfig } : + +let + ver_maj = "0.41"; + ver_min = "0"; +in + +stdenv.mkDerivation rec { + name = "subtitle-editor-${ver_maj}.${ver_min}"; + + buildInputs = [ + desktop_file_utils enchant gnome.gtk gnome.gtkmm gstreamer gstreamermm + gst_plugins_base gst_plugins_good intltool hicolor_icon_theme libsigcxx libxmlxx + makeWrapper xdg_utils pkgconfig + ]; + + src = fetchurl { + url = "http://download.gna.org/subtitleeditor/${ver_maj}/subtitleeditor-${ver_maj}.${ver_min}.tar.gz"; + md5 = "3c21ccd8296001dcb1a02c62396db1b6"; + }; + + doCheck = true; + + postInstall = '' + wrapProgram "$out/bin/subtitleeditor" --prefix \ + GST_PLUGIN_SYSTEM_PATH ":" "$GST_PLUGIN_SYSTEM_PATH" \ + ''; + + + meta = { + description = "GTK+2 application to edit video subtitles"; + longDescription = '' + Subtitle Editor is a GTK+2 tool to edit subtitles for GNU/Linux/*BSD. It can be + used for new subtitles or as a tool to transform, edit, correct and refine + existing subtitle. This program also shows sound waves, which makes it easier + to synchronise subtitles to voices. + ''; + homepage = http://home.gna.org/subtitleeditor; + license = stdenv.lib.licenses.gpl3; + maintainers = stdenv.lib.maintainers.plcplc; + platforms = stdenv.lib.platforms.linux; + }; +} |