mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 21:17:46 +00:00
88c9f8b574
This seems to have been confusing people, using both xlibs and xorg, etc. - Avoided renaming local (and different) xlibs binding in gcc*. - Fixed cases where both xorg and xlibs were used. Hopefully everything still works as before.
33 lines
962 B
Nix
33 lines
962 B
Nix
{stdenv, fetchurl, pkgconfig, xorg, libpng, xineLib, readline, ncurses, curl
|
|
, lirc, shared_mime_info, libjpeg }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "xine-ui-0.99.9";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/xine/${name}.tar.xz";
|
|
sha256 = "18liwmkbj75xs9bipw3vr67a7cwmdfcp04v5lph7nsjlkwhq1lcd";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig shared_mime_info ];
|
|
|
|
buildInputs =
|
|
[ 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}";
|
|
|
|
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";
|
|
};
|
|
}
|