summary refs log tree commit diff
path: root/pkgs/applications/video/recordmydesktop
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-07-10 15:14:32 +0300
committerNikolay Amiantov <ab@fmap.me>2016-07-10 22:57:00 +0300
commite4aace70289d36688c279562ead7a710d68437a4 (patch)
tree6f2795cbceca499baa90a660e16cac861da86021 /pkgs/applications/video/recordmydesktop
parent7e0a6dd8277f67905e08079c71986f73a364549b (diff)
downloadnixlib-e4aace70289d36688c279562ead7a710d68437a4.tar
nixlib-e4aace70289d36688c279562ead7a710d68437a4.tar.gz
nixlib-e4aace70289d36688c279562ead7a710d68437a4.tar.bz2
nixlib-e4aace70289d36688c279562ead7a710d68437a4.tar.lz
nixlib-e4aace70289d36688c279562ead7a710d68437a4.tar.xz
nixlib-e4aace70289d36688c279562ead7a710d68437a4.tar.zst
nixlib-e4aace70289d36688c279562ead7a710d68437a4.zip
qt-recordmydesktop: init at 0.3.8-svn602
Diffstat (limited to 'pkgs/applications/video/recordmydesktop')
-rw-r--r--pkgs/applications/video/recordmydesktop/qt.nix37
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/applications/video/recordmydesktop/qt.nix b/pkgs/applications/video/recordmydesktop/qt.nix
new file mode 100644
index 000000000000..de372c905bdb
--- /dev/null
+++ b/pkgs/applications/video/recordmydesktop/qt.nix
@@ -0,0 +1,37 @@
+{ stdenv, lib, fetchsvn, recordmydesktop, autoreconfHook, pkgconfig
+, glib, pythonPackages, qt4, jack2, xwininfo }:
+
+let
+  binPath = lib.makeBinPath [ recordmydesktop jack2 xwininfo ];
+
+in stdenv.mkDerivation rec {
+  name = "qt-recordmydesktop-${version}";
+  version = "0.3.8-svn${recordmydesktop.rev}";
+
+  src = fetchsvn {
+    url = https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk/qt-recordmydesktop;
+    inherit (recordmydesktop) rev;
+    sha256 = "0vz7amrmz317sbx2cv2186d0r57as4l26xa9rpim5gbvzk20caqc";
+  };
+
+  nativeBuildInputs = [ autoreconfHook pkgconfig ];
+
+  buildInputs = [ glib qt4 ] ++ (with pythonPackages; [
+    python wrapPython pyqt4
+  ]);
+
+  pythonPath = with pythonPackages; [ pyqt4 ];
+
+  postInstall = ''
+    makeWrapperArgs="--prefix PATH : ${binPath}"
+    wrapPythonPrograms
+  '';
+
+  meta = with stdenv.lib; {
+    description = "GTK frontend for recordmydesktop";
+    homepage = http://recordmydesktop.sourceforge.net/;
+    license = licenses.gpl2;
+    platforms = platforms.linux;
+    maintainers = [ maintainers.DamienCassou ];
+  };
+}