2021-05-03 20:48:10 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, curl
|
|
|
|
, libjpeg
|
|
|
|
, libpng
|
|
|
|
, lirc
|
|
|
|
, ncurses
|
|
|
|
, pkg-config
|
|
|
|
, readline
|
|
|
|
, shared-mime-info
|
|
|
|
, xine-lib
|
|
|
|
, xorg
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-05-03 20:48:10 +00:00
|
|
|
pname = "xine-ui";
|
|
|
|
version = "0.99.12";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-05-03 20:48:10 +00:00
|
|
|
url = "mirror://sourceforge/xine/${pname}-${version}.tar.xz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "10zmmss3hm8gjjyra20qhdc0lb1m6sym2nb2w62bmfk8isfw9gsl";
|
|
|
|
};
|
|
|
|
|
2021-05-03 20:48:10 +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
|
|
|
|
]);
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
configureFlags = [ "--with-readline=${readline.dev}" ];
|
|
|
|
|
|
|
|
LIRC_CFLAGS="-I${lirc}/include";
|
|
|
|
LIRC_LIBS="-L ${lirc}/lib -llirc_client";
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2021-05-03 20:48:10 +00:00
|
|
|
homepage = "http://xinehq.de/";
|
|
|
|
description = "Xlib-based frontend for Xine video player";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|