2012-07-03 01:01:00 +04:00
|
|
|
{stdenv, fetchurl, pkgconfig, xlibs, libpng, xineLib, readline, ncurses, curl
|
|
|
|
, lirc, shared_mime_info, libjpeg }:
|
2009-04-09 19:27:48 +04:00
|
|
|
|
2012-01-09 14:25:56 +04:00
|
|
|
stdenv.mkDerivation rec {
|
2012-07-03 01:01:00 +04:00
|
|
|
name = "xine-ui-0.99.7";
|
2009-04-09 19:27:48 +04:00
|
|
|
|
2004-12-11 02:16:23 +03:00
|
|
|
src = fetchurl {
|
2012-01-09 14:25:56 +04:00
|
|
|
url = "mirror://sourceforge/xine/${name}.tar.xz";
|
2012-07-03 01:01:00 +04:00
|
|
|
sha256 = "1i3byriqav06b55kwzs4dkzrjw7mmmcv0rc7jzb52hn8qp8xz34x";
|
2004-12-11 02:16:23 +03:00
|
|
|
};
|
2009-04-09 19:27:48 +04:00
|
|
|
|
2012-12-28 22:20:09 +04:00
|
|
|
nativeBuildInputs = [ pkgconfig shared_mime_info ];
|
2012-01-09 14:25:56 +04:00
|
|
|
|
2009-04-09 19:27:48 +04:00
|
|
|
buildInputs =
|
2012-07-03 01:01:00 +04:00
|
|
|
[ xineLib libpng readline ncurses curl lirc libjpeg
|
2009-04-09 19:27:48 +04:00
|
|
|
xlibs.xlibs xlibs.libXext xlibs.libXv xlibs.libXxf86vm xlibs.libXtst xlibs.inputproto
|
2012-01-09 14:25:56 +04:00
|
|
|
xlibs.libXinerama xlibs.libXi xlibs.libXft
|
2009-08-12 00:47:33 +04:00
|
|
|
];
|
2009-04-09 19:27:48 +04:00
|
|
|
|
2012-01-09 14:25:56 +04:00
|
|
|
patchPhase = ''sed -e '/curl\/types\.h/d' -i src/xitk/download.c'';
|
2011-11-08 15:18:24 +04:00
|
|
|
|
2008-01-28 22:47:42 +03:00
|
|
|
configureFlags = "--with-readline=${readline}";
|
2009-04-09 19:27:48 +04:00
|
|
|
|
2012-01-09 14:25:56 +04:00
|
|
|
LIRC_CFLAGS="-I${lirc}/include";
|
|
|
|
LIRC_LIBS="-L ${lirc}/lib -llirc_client";
|
|
|
|
#NIX_LDFLAGS = "-lXext -lgcc_s";
|
2006-10-12 14:53:16 +04:00
|
|
|
|
2009-08-12 00:47:33 +04:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.xine-project.org/;
|
2006-10-12 14:53:16 +04:00
|
|
|
description = "Xlib-based interface to Xine, a video player";
|
|
|
|
};
|
2004-12-11 02:16:23 +03:00
|
|
|
}
|