3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/video/xine-ui/default.nix

35 lines
1 KiB
Nix
Raw Normal View History

{stdenv, fetchurl, pkgconfig, xorg, libpng, xineLib, readline, ncurses, curl
, lirc, shared-mime-info, libjpeg }:
stdenv.mkDerivation rec {
2019-12-25 00:11:56 +00:00
name = "xine-ui-0.99.12";
2018-09-08 14:28:10 +01:00
src = fetchurl {
url = "mirror://sourceforge/xine/${name}.tar.xz";
2019-12-25 00:11:56 +00:00
sha256 = "10zmmss3hm8gjjyra20qhdc0lb1m6sym2nb2w62bmfk8isfw9gsl";
};
2018-09-08 14:28:10 +01:00
nativeBuildInputs = [ pkgconfig shared-mime-info ];
buildInputs =
2012-07-02 22:01:00 +01:00
[ xineLib libpng readline ncurses curl lirc libjpeg
xorg.xlibsWrapper xorg.libXext xorg.libXv xorg.libXxf86vm xorg.libXtst xorg.xorgproto
xorg.libXinerama xorg.libXi xorg.libXft
];
patchPhase = ''sed -e '/curl\/types\.h/d' -i src/xitk/download.c'';
2018-07-25 22:44:21 +01:00
configureFlags = [ "--with-readline=${readline.dev}" ];
2018-09-08 14:28:10 +01:00
LIRC_CFLAGS="-I${lirc}/include";
LIRC_LIBS="-L ${lirc}/lib -llirc_client";
#NIX_LDFLAGS = "-lXext -lgcc_s";
2018-09-08 14:28:10 +01:00
meta = with stdenv.lib; {
homepage = http://www.xine-project.org/;
description = "Xlib-based interface to Xine, a video player";
2018-09-08 14:28:10 +01:00
platforms = platforms.linux;
license = licenses.gpl2;
};
}