1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/applications/video/xine-ui/default.nix

33 lines
965 B
Nix
Raw Normal View History

2012-07-02 22:01:00 +01:00
{stdenv, fetchurl, pkgconfig, xlibs, libpng, xineLib, readline, ncurses, curl
, lirc, shared_mime_info, libjpeg }:
stdenv.mkDerivation rec {
2012-07-02 22:01:00 +01:00
name = "xine-ui-0.99.7";
src = fetchurl {
url = "mirror://sourceforge/xine/${name}.tar.xz";
2012-07-02 22:01:00 +01:00
sha256 = "1i3byriqav06b55kwzs4dkzrjw7mmmcv0rc7jzb52hn8qp8xz34x";
};
nativeBuildInputs = [ pkgconfig shared_mime_info ];
buildInputs =
2012-07-02 22:01:00 +01:00
[ xineLib libpng readline ncurses curl lirc libjpeg
xlibs.xlibs xlibs.libXext xlibs.libXv xlibs.libXxf86vm xlibs.libXtst xlibs.inputproto
xlibs.libXinerama xlibs.libXi xlibs.libXft
];
patchPhase = ''sed -e '/curl\/types\.h/d' -i src/xitk/download.c'';
configureFlags = "--with-readline=${readline}";
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";
};
}