2012-01-09 13:48:45 +01:00
|
|
|
{stdenv, fetchurl, pkgconfig, xlibs, xineLib, libpng12, readline, ncurses, curl
|
2012-01-09 11:25:56 +01:00
|
|
|
, lirc, xz, shared_mime_info }:
|
2009-04-09 17:27:48 +02:00
|
|
|
|
2012-01-09 11:25:56 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "xine-ui-0.99.6";
|
2009-04-09 17:27:48 +02:00
|
|
|
|
2004-12-11 00:16:23 +01:00
|
|
|
src = fetchurl {
|
2012-01-09 11:25:56 +01:00
|
|
|
url = "mirror://sourceforge/xine/${name}.tar.xz";
|
|
|
|
sha256 = "1wwylnckm5kfq5fi154w8jqf5cwvp7c1ani15q7sgfrfdkmy7caf";
|
2004-12-11 00:16:23 +01:00
|
|
|
};
|
2009-04-09 17:27:48 +02:00
|
|
|
|
2012-01-09 11:25:56 +01:00
|
|
|
buildNativeInputs = [ xz pkgconfig shared_mime_info ];
|
|
|
|
|
2009-04-09 17:27:48 +02:00
|
|
|
buildInputs =
|
2012-01-09 13:48:45 +01:00
|
|
|
[ xineLib libpng12 readline ncurses curl lirc
|
2009-04-09 17:27:48 +02:00
|
|
|
xlibs.xlibs xlibs.libXext xlibs.libXv xlibs.libXxf86vm xlibs.libXtst xlibs.inputproto
|
2012-01-09 11:25:56 +01:00
|
|
|
xlibs.libXinerama xlibs.libXi xlibs.libXft
|
2009-08-11 22:47:33 +02:00
|
|
|
];
|
2009-04-09 17:27:48 +02:00
|
|
|
|
2012-01-09 11:25:56 +01:00
|
|
|
patchPhase = ''sed -e '/curl\/types\.h/d' -i src/xitk/download.c'';
|
2011-11-08 12:18:24 +01:00
|
|
|
|
2008-01-28 20:47:42 +01:00
|
|
|
configureFlags = "--with-readline=${readline}";
|
2009-04-09 17:27:48 +02:00
|
|
|
|
2012-01-09 11:25:56 +01:00
|
|
|
LIRC_CFLAGS="-I${lirc}/include";
|
|
|
|
LIRC_LIBS="-L ${lirc}/lib -llirc_client";
|
|
|
|
#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
|
|
|
}
|