2021-04-27 14:23:49 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, curl
|
|
|
|
, libjpeg
|
|
|
|
, libpng
|
|
|
|
, lirc
|
|
|
|
, ncurses
|
|
|
|
, pkg-config
|
|
|
|
, readline
|
|
|
|
, shared-mime-info
|
|
|
|
, xine-lib
|
|
|
|
, xorg
|
|
|
|
}:
|
2009-04-09 15:27:48 +00:00
|
|
|
|
2012-01-09 10:25:56 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-04-27 14:23:49 +00:00
|
|
|
pname = "xine-ui";
|
|
|
|
version = "0.99.12";
|
2018-09-08 13:28:10 +00:00
|
|
|
|
2004-12-10 23:16:23 +00:00
|
|
|
src = fetchurl {
|
2021-04-27 14:23:49 +00:00
|
|
|
url = "mirror://sourceforge/xine/${pname}-${version}.tar.xz";
|
2019-12-25 00:11:56 +00:00
|
|
|
sha256 = "10zmmss3hm8gjjyra20qhdc0lb1m6sym2nb2w62bmfk8isfw9gsl";
|
2004-12-10 23:16:23 +00:00
|
|
|
};
|
2018-09-08 13:28:10 +00:00
|
|
|
|
2021-04-27 14:23:49 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
shared-mime-info
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
curl
|
|
|
|
libjpeg
|
|
|
|
libpng
|
|
|
|
lirc
|
|
|
|
ncurses
|
|
|
|
readline
|
|
|
|
xine-lib
|
|
|
|
] ++ (with xorg; [
|
|
|
|
libXext
|
|
|
|
libXft
|
|
|
|
libXi
|
|
|
|
libXinerama
|
|
|
|
libXtst
|
|
|
|
libXv
|
|
|
|
libXxf86vm
|
|
|
|
xlibsWrapper
|
|
|
|
xorgproto
|
|
|
|
]);
|
|
|
|
|
2018-07-25 21:44:21 +00:00
|
|
|
configureFlags = [ "--with-readline=${readline.dev}" ];
|
2018-09-08 13:28:10 +00:00
|
|
|
|
2012-01-09 10:25:56 +00:00
|
|
|
LIRC_CFLAGS="-I${lirc}/include";
|
|
|
|
LIRC_LIBS="-L ${lirc}/lib -llirc_client";
|
2006-10-12 10:53:16 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2021-04-27 14:23:49 +00:00
|
|
|
homepage = "http://xinehq.de/";
|
|
|
|
description = "Xlib-based frontend for Xine video player";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
2018-09-08 13:28:10 +00:00
|
|
|
platforms = platforms.linux;
|
2006-10-12 10:53:16 +00:00
|
|
|
};
|
2004-12-10 23:16:23 +00:00
|
|
|
}
|