2021-01-17 03:09:27 +01:00
|
|
|
{lib, stdenv, fetchurl, pkg-config, xorg, libpng, xineLib, readline, ncurses, curl
|
2018-02-25 03:23:58 +01:00
|
|
|
, lirc, shared-mime-info, libjpeg }:
|
2009-04-09 17:27:48 +02:00
|
|
|
|
2012-01-09 11:25:56 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-12-25 01:11:56 +01:00
|
|
|
name = "xine-ui-0.99.12";
|
2018-09-08 15:28:10 +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";
|
2019-12-25 01:11:56 +01:00
|
|
|
sha256 = "10zmmss3hm8gjjyra20qhdc0lb1m6sym2nb2w62bmfk8isfw9gsl";
|
2004-12-11 00:16:23 +01:00
|
|
|
};
|
2018-09-08 15:28:10 +02:00
|
|
|
|
2021-01-17 03:09:27 +01:00
|
|
|
nativeBuildInputs = [ pkg-config shared-mime-info ];
|
2012-01-09 11:25:56 +01:00
|
|
|
|
2009-04-09 17:27:48 +02:00
|
|
|
buildInputs =
|
2012-07-02 23:01:00 +02:00
|
|
|
[ xineLib libpng readline ncurses curl lirc libjpeg
|
2018-12-31 04:40:47 +01:00
|
|
|
xorg.xlibsWrapper xorg.libXext xorg.libXv xorg.libXxf86vm xorg.libXtst xorg.xorgproto
|
2015-09-15 11:26:18 +02:00
|
|
|
xorg.libXinerama xorg.libXi xorg.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
|
|
|
|
2018-07-25 23:44:21 +02:00
|
|
|
configureFlags = [ "--with-readline=${readline.dev}" ];
|
2018-09-08 15:28:10 +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
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://www.xine-project.org/";
|
2006-10-12 12:53:16 +02:00
|
|
|
description = "Xlib-based interface to Xine, a video player";
|
2018-09-08 15:28:10 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl2;
|
2006-10-12 12:53:16 +02:00
|
|
|
};
|
2004-12-11 00:16:23 +01:00
|
|
|
}
|