2015-09-15 09:26:18 +00:00
|
|
|
{stdenv, fetchurl, pkgconfig, xorg, libpng, xineLib, readline, ncurses, curl
|
2018-02-25 02:23:58 +00:00
|
|
|
, lirc, shared-mime-info, libjpeg }:
|
2009-04-09 15:27:48 +00:00
|
|
|
|
2012-01-09 10:25:56 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2015-03-16 17:38:21 +00:00
|
|
|
name = "xine-ui-0.99.9";
|
2009-04-09 15:27:48 +00:00
|
|
|
|
2004-12-10 23:16:23 +00:00
|
|
|
src = fetchurl {
|
2012-01-09 10:25:56 +00:00
|
|
|
url = "mirror://sourceforge/xine/${name}.tar.xz";
|
2015-03-16 17:38:21 +00:00
|
|
|
sha256 = "18liwmkbj75xs9bipw3vr67a7cwmdfcp04v5lph7nsjlkwhq1lcd";
|
2004-12-10 23:16:23 +00:00
|
|
|
};
|
2009-04-09 15:27:48 +00:00
|
|
|
|
2018-02-25 02:23:58 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig shared-mime-info ];
|
2012-01-09 10:25:56 +00:00
|
|
|
|
2009-04-09 15:27:48 +00:00
|
|
|
buildInputs =
|
2012-07-02 21:01:00 +00:00
|
|
|
[ xineLib libpng readline ncurses curl lirc libjpeg
|
2015-09-15 09:26:18 +00:00
|
|
|
xorg.xlibsWrapper xorg.libXext xorg.libXv xorg.libXxf86vm xorg.libXtst xorg.inputproto
|
|
|
|
xorg.libXinerama xorg.libXi xorg.libXft
|
2009-08-11 20:47:33 +00:00
|
|
|
];
|
2009-04-09 15:27:48 +00:00
|
|
|
|
2012-01-09 10:25:56 +00:00
|
|
|
patchPhase = ''sed -e '/curl\/types\.h/d' -i src/xitk/download.c'';
|
2011-11-08 11:18:24 +00:00
|
|
|
|
2016-04-16 17:46:17 +00:00
|
|
|
configureFlags = "--with-readline=${readline.dev}";
|
2009-04-09 15:27:48 +00:00
|
|
|
|
2012-01-09 10:25:56 +00:00
|
|
|
LIRC_CFLAGS="-I${lirc}/include";
|
|
|
|
LIRC_LIBS="-L ${lirc}/lib -llirc_client";
|
|
|
|
#NIX_LDFLAGS = "-lXext -lgcc_s";
|
2006-10-12 10:53:16 +00:00
|
|
|
|
2009-08-11 20:47:33 +00:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.xine-project.org/;
|
2006-10-12 10:53:16 +00:00
|
|
|
description = "Xlib-based interface to Xine, a video player";
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2006-10-12 10:53:16 +00:00
|
|
|
};
|
2004-12-10 23:16:23 +00:00
|
|
|
}
|