summary refs log tree commit diff
diff options
context:
space:
mode:
authorCillian de Róiste <cillian.deroiste@gmail.com>2014-07-27 12:30:57 +0200
committerCillian de Róiste <cillian.deroiste@gmail.com>2014-07-27 12:53:56 +0200
commit2723681a59f19f2efd743eb00c6d3dd9ea658453 (patch)
treeb348f7516d0892f515b8a457fd326d1733699dc7
parent0fec3f82fcfcf04a0990ef5f514d907b61c466a2 (diff)
downloadnixpkgs-2723681a59f19f2efd743eb00c6d3dd9ea658453.tar
nixpkgs-2723681a59f19f2efd743eb00c6d3dd9ea658453.tar.gz
nixpkgs-2723681a59f19f2efd743eb00c6d3dd9ea658453.tar.bz2
nixpkgs-2723681a59f19f2efd743eb00c6d3dd9ea658453.tar.lz
nixpkgs-2723681a59f19f2efd743eb00c6d3dd9ea658453.tar.xz
nixpkgs-2723681a59f19f2efd743eb00c6d3dd9ea658453.tar.zst
nixpkgs-2723681a59f19f2efd743eb00c6d3dd9ea658453.zip
Kdenlive: 0.9.6 -> 0.9.8, add frei0r plugins, add myself to the maintainers
-rw-r--r--pkgs/applications/video/kdenlive/default.nix30
1 files changed, 19 insertions, 11 deletions
diff --git a/pkgs/applications/video/kdenlive/default.nix b/pkgs/applications/video/kdenlive/default.nix
index d7fab74e6ca..8c51c4f35a3 100644
--- a/pkgs/applications/video/kdenlive/default.nix
+++ b/pkgs/applications/video/kdenlive/default.nix
@@ -1,28 +1,36 @@
-{ stdenv, fetchurl, lib, cmake, qt4, perl, kdelibs, automoc4, phonon
-, mlt, gettext , qimageblitz, qjson, shared_mime_info, soprano
-, pkgconfig, shared_desktop_ontologies, libv4l }:
+{ stdenv, fetchurl, frei0r, lib, cmake, qt4, perl, kdelibs, automoc4
+, phonon , makeWrapper, mlt, gettext , qimageblitz, qjson
+, shared_mime_info, soprano, pkgconfig, shared_desktop_ontologies
+, libv4l
+}:
 
 stdenv.mkDerivation rec {
   name = "kdenlive-${version}";
-  version = "0.9.6";
+  version = "0.9.8";
 
   src = fetchurl {
     url = "mirror://kde/stable/kdenlive/${version}/src/${name}.tar.bz2";
-    sha256 = "1rw2cbzy5mabwijvryyzbhpgldn2zy5jy4j87hl4m1i8ah9lgi7x";
+    sha256 = "17x5srgywcwlbpbs598jwwc62l8313n4dbqx3sdk7p6lyvwk3jln";
   };
 
-  buildInputs =
-    [ cmake qt4 perl kdelibs automoc4 phonon mlt gettext qimageblitz
-      qjson shared_mime_info soprano pkgconfig shared_desktop_ontologies libv4l
-    ];
+  buildInputs = [
+    automoc4 cmake frei0r gettext kdelibs libv4l makeWrapper mlt perl
+    phonon pkgconfig qimageblitz qjson qt4 shared_desktop_ontologies
+    shared_mime_info soprano
+  ];
 
   enableParallelBuilding = true;
 
+  postInstall = ''
+    wrapProgram $out/bin/kdenlive --prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1
+    wrapProgram $out/bin/kdenlive_render  --prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1
+  '';
+
   meta = {
     description = "Free and open source video editor";
-    license = "GPLv2+";
+    license = stdenv.lib.licenses.gpl2Plus;
     homepage = http://www.kdenlive.org/;
-    maintainers = with stdenv.lib.maintainers; [viric];
+    maintainers = with stdenv.lib.maintainers; [ goibhniu viric ];
     platforms = with stdenv.lib.platforms; linux;
   };
 }