2016-09-11 22:24:51 +01:00
|
|
|
{ stdenv, fetchurl, perl, perlXMLParser, pkgconfig, gtk2
|
2014-09-17 12:35:52 +01:00
|
|
|
, scrollkeeper, libglade, libXmu, libX11, libXext, gettext
|
|
|
|
, lame, libXfixes, libXdamage }:
|
2006-12-01 16:44:26 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-05-03 14:24:31 +01:00
|
|
|
name = "xvidcap-1.1.7";
|
2006-12-01 16:44:26 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2009-05-03 14:24:31 +01:00
|
|
|
url = mirror://sourceforge/xvidcap/xvidcap-1.1.7.tar.gz;
|
|
|
|
sha256 = "0p8rhpyhxgy37crf1xk1046z4p663jg7ww776jw92pld3s024ihm";
|
2006-12-01 16:44:26 +00:00
|
|
|
};
|
2009-05-03 14:24:31 +01:00
|
|
|
|
|
|
|
patches = [ ./xlib.patch ];
|
2017-09-14 20:24:37 +01:00
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2014-09-17 12:35:52 +01:00
|
|
|
buildInputs = [
|
2017-09-14 20:24:37 +01:00
|
|
|
perl perlXMLParser gtk2 scrollkeeper
|
2014-09-17 12:35:52 +01:00
|
|
|
libglade libXmu gettext lame libXdamage libXfixes libXext libX11
|
|
|
|
];
|
2006-12-01 16:44:26 +00:00
|
|
|
|
|
|
|
# !!! don't know why this is necessary
|
2009-05-03 14:24:31 +01:00
|
|
|
NIX_LDFLAGS = "-lXext -lX11 -lz -lgcc_s";
|
2008-10-14 16:26:25 +01:00
|
|
|
|
2014-09-17 12:35:52 +01:00
|
|
|
meta = with stdenv.lib; {
|
2016-06-20 11:53:46 +01:00
|
|
|
description = "Screencast video catpuring tool";
|
2008-10-14 16:26:25 +01:00
|
|
|
homepage = http://xvidcap.sourceforge.net/;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2014-09-17 12:35:52 +01:00
|
|
|
platforms = platforms.linux;
|
2008-10-14 16:26:25 +01:00
|
|
|
};
|
2006-12-01 16:44:26 +00:00
|
|
|
}
|