From 26b32785d214c192eb603c78ab6feff9594f2c3c Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 1 Dec 2006 16:44:26 +0000 Subject: [PATCH] * Xvidcap for making screen recordings. svn path=/nixpkgs/trunk/; revision=7186 --- pkgs/applications/video/xvidcap/default.nix | 16 ++++++++++++++++ pkgs/top-level/all-packages.nix | 9 ++++++++- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 pkgs/applications/video/xvidcap/default.nix diff --git a/pkgs/applications/video/xvidcap/default.nix b/pkgs/applications/video/xvidcap/default.nix new file mode 100644 index 000000000000..34268ad329a4 --- /dev/null +++ b/pkgs/applications/video/xvidcap/default.nix @@ -0,0 +1,16 @@ +{ stdenv, fetchurl, perl, perlXMLParser, pkgconfig, gtk +, scrollkeeper, libglade, libXmu, libXext}: + +stdenv.mkDerivation { + name = "xvidcap-1.1.4p1"; + + src = fetchurl { + url = http://belnet.dl.sourceforge.net/sourceforge/xvidcap/xvidcap-1.1.4p1.tar.gz; + md5 = "35a038dba807f6e09f1d9dd2bc0c5719"; + }; + + buildInputs = [perl perlXMLParser pkgconfig gtk scrollkeeper libglade libXmu]; + + # !!! don't know why this is necessary + NIX_LDFLAGS = "-rpath ${libXext}/lib"; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index da0261eb3eb5..e826e01eca9c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1252,7 +1252,7 @@ rec { glibc = useFromStdenv (stdenv ? glibc) stdenv.glibc (import ../development/libraries/glibc { inherit fetchurl stdenv kernelHeaders; - installLocales = true; + #installLocales = false; }); glibmm = import ../development/libraries/gtk-libs-2.6/glibmm { @@ -2725,6 +2725,13 @@ rec { inherit (xlibs) libXaw xproto libXt libX11 libSM libICE; }; + xvidcap = import ../applications/video/xvidcap { + inherit fetchurl stdenv perl perlXMLParser pkgconfig; + inherit (gtkLibs) gtk; + inherit (gnome) scrollkeeper libglade; + inherit (xlibs) libXmu libXext; + }; + zapping = import ../applications/video/zapping { inherit fetchurl stdenv pkgconfig perl python gettext zvbi libjpeg libpng x11