xine-ui: add license

This commit is contained in:
Markus Kowalewski 2018-09-08 15:28:10 +02:00
parent 2be3ed4062
commit 6e6e41b56e
No known key found for this signature in database
GPG Key ID: D865C8A91D7025EB

View File

@ -3,12 +3,12 @@
stdenv.mkDerivation rec {
name = "xine-ui-0.99.10";
src = fetchurl {
url = "mirror://sourceforge/xine/${name}.tar.xz";
sha256 = "0i3jzhiipfs5p1jbxviwh42zcfzag6iqc6yycaan0vrqm90an86a";
};
nativeBuildInputs = [ pkgconfig shared-mime-info ];
buildInputs =
@ -20,14 +20,15 @@ stdenv.mkDerivation rec {
patchPhase = ''sed -e '/curl\/types\.h/d' -i src/xitk/download.c'';
configureFlags = [ "--with-readline=${readline.dev}" ];
LIRC_CFLAGS="-I${lirc}/include";
LIRC_LIBS="-L ${lirc}/lib -llirc_client";
#NIX_LDFLAGS = "-lXext -lgcc_s";
meta = {
meta = with stdenv.lib; {
homepage = http://www.xine-project.org/;
description = "Xlib-based interface to Xine, a video player";
platforms = stdenv.lib.platforms.linux;
platforms = platforms.linux;
license = licenses.gpl2;
};
}