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