nixpkgs-suyu/pkgs/applications/video/xine-ui/default.nix
Eelco Dolstra fd03290fc0 * Simplified the pthread_cancel fix a bit: you just need to use -lgcc_s.
svn path=/nixpkgs/branches/stdenv-updates/; revision=15017
2009-04-13 17:07:20 +00:00

23 lines
696 B
Nix

{stdenv, fetchurl, pkgconfig, xlibs, xineLib, libpng, readline, ncurses, curl}:
stdenv.mkDerivation {
name = "xine-ui-0.99.5";
src = fetchurl {
url = mirror://sourceforge/xine/xine-ui-0.99.5.tar.gz;
sha256 = "07jywadk6fhk3wn1j9m0cfa0zy0i17kz0nyyxwa3shvhznfals0k";
};
buildInputs =
[ pkgconfig xineLib libpng readline ncurses curl
xlibs.xlibs xlibs.libXext xlibs.libXv xlibs.libXxf86vm xlibs.libXtst xlibs.inputproto
] ++ stdenv.lib.optional xineLib.xineramaSupport xineLib.libXinerama;
configureFlags = "--with-readline=${readline}";
NIX_LDFLAGS = "-lXext -lgcc_s";
meta = {
description = "Xlib-based interface to Xine, a video player";
};
}