nixpkgs/pkgs/applications/video/xine-ui/default.nix

34 lines
1,010 B
Nix
Raw Normal View History

{stdenv, fetchurl, pkgconfig, xorg, libpng, xineLib, readline, ncurses, curl
2012-07-02 23:01:00 +02:00
, lirc, shared_mime_info, libjpeg }:
stdenv.mkDerivation rec {
2015-03-16 18:38:21 +01:00
name = "xine-ui-0.99.9";
src = fetchurl {
url = "mirror://sourceforge/xine/${name}.tar.xz";
2015-03-16 18:38:21 +01:00
sha256 = "18liwmkbj75xs9bipw3vr67a7cwmdfcp04v5lph7nsjlkwhq1lcd";
};
nativeBuildInputs = [ pkgconfig shared_mime_info ];
buildInputs =
2012-07-02 23:01:00 +02:00
[ xineLib libpng readline ncurses curl lirc libjpeg
xorg.xlibsWrapper xorg.libXext xorg.libXv xorg.libXxf86vm xorg.libXtst xorg.inputproto
xorg.libXinerama xorg.libXi xorg.libXft
];
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 = {
homepage = http://www.xine-project.org/;
description = "Xlib-based interface to Xine, a video player";
platforms = stdenv.lib.platforms.linux;
};
}