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