diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2009-08-07 12:00:00 +0000 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2009-08-07 12:00:00 +0000 |
commit | 7ae63ef5cbf80cbbc7d3a144542949360f54b768 (patch) | |
tree | dad0074efc9fd82ea45dd98c88535740be065031 /pkgs | |
parent | 098626dc86e48dc2bbfa184b81e71ca2de3a9cb6 (diff) |
Adding vncrec - a VNC recorder
svn path=/nixpkgs/trunk/; revision=16603
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/video/vncrec/default.nix | 39 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 6 |
2 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/tools/video/vncrec/default.nix b/pkgs/tools/video/vncrec/default.nix new file mode 100644 index 0000000000000..29227318ae0b4 --- /dev/null +++ b/pkgs/tools/video/vncrec/default.nix @@ -0,0 +1,39 @@ +a : +let + fetchurl = a.fetchurl; + + buildInputs = with a; [ + libX11 xproto imake gccmakedep libXt libXmu libXaw + libXext xextproto libSM libICE libXpm libXp + ]; +in +rec { + src = fetchurl { + url = "http://ronja.twibright.com/utils/vncrec-twibright.tgz"; + sha256 = "1yp6r55fqpdhc8cgrgh9i0mzxmkls16pgf8vfcpng1axr7cigyhc"; + }; + + inherit buildInputs; + makeFlags = [ + "World" + ]; + installFlags=[ + "BINDIR=/bin/" + "MANDIR=/share/man/man1" + "DESTDIR=$out" + "install.man" + ]; + + phaseNames = ["doXMKMF" "doMakeInstall"]; + + doXMKMF = a.fullDepEntry ('' + xmkmf + '') ["doUnpack" "minInit" "addInputs"]; + + name = "vncrec"; + meta = { + description = "VNC recorder"; + maintainers = [ + ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b0a22b384992d..b5311a825880a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1411,6 +1411,12 @@ let inherit (gtkLibs) gtk; }; + vncrec = builderDefsPackage ../tools/video/vncrec { + inherit (xlibs) imake libX11 xproto gccmakedep libXt + libXmu libXaw libXext xextproto libSM libICE libXpm + libXp; + }; + vpnc = import ../tools/networking/vpnc { inherit fetchurl stdenv libgcrypt perl gawk nettools makeWrapper; |