2009-04-09 17:27:48 +02:00
|
|
|
{stdenv, fetchurl, pkgconfig, xlibs, xineLib, libpng, readline, ncurses, curl}:
|
|
|
|
|
2004-12-11 00:16:23 +01:00
|
|
|
stdenv.mkDerivation {
|
2007-08-14 14:10:11 +02:00
|
|
|
name = "xine-ui-0.99.5";
|
2009-04-09 17:27:48 +02:00
|
|
|
|
2004-12-11 00:16:23 +01:00
|
|
|
src = fetchurl {
|
2007-08-27 15:01:33 +02:00
|
|
|
url = mirror://sourceforge/xine/xine-ui-0.99.5.tar.gz;
|
2007-08-14 14:10:11 +02:00
|
|
|
sha256 = "07jywadk6fhk3wn1j9m0cfa0zy0i17kz0nyyxwa3shvhznfals0k";
|
2004-12-11 00:16:23 +01:00
|
|
|
};
|
2009-04-09 17:27:48 +02:00
|
|
|
|
|
|
|
buildInputs =
|
|
|
|
[ pkgconfig xineLib libpng readline ncurses curl
|
|
|
|
xlibs.xlibs xlibs.libXext xlibs.libXv xlibs.libXxf86vm xlibs.libXtst xlibs.inputproto
|
2009-11-06 06:14:41 +01:00
|
|
|
xlibs.libXinerama xlibs.libXi
|
2009-08-11 22:47:33 +02:00
|
|
|
];
|
2009-04-09 17:27:48 +02:00
|
|
|
|
2011-11-08 12:18:24 +01:00
|
|
|
preBuild = ''
|
|
|
|
sed -e '/curl.types.h/d' -i *.c *.h */*.c */*.h */*/*.c */*/*.h
|
|
|
|
'';
|
|
|
|
|
2008-01-28 20:47:42 +01:00
|
|
|
configureFlags = "--with-readline=${readline}";
|
2009-04-09 17:27:48 +02:00
|
|
|
|
2009-04-13 19:07:20 +02:00
|
|
|
NIX_LDFLAGS = "-lXext -lgcc_s";
|
2006-10-12 12:53:16 +02:00
|
|
|
|
2009-08-11 22:47:33 +02:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.xine-project.org/;
|
2006-10-12 12:53:16 +02:00
|
|
|
description = "Xlib-based interface to Xine, a video player";
|
|
|
|
};
|
2004-12-11 00:16:23 +01:00
|
|
|
}
|