2008-01-28 20:42:09 +01:00
|
|
|
args: with args;
|
2004-12-11 00:16:23 +01:00
|
|
|
|
2008-01-28 20:42:09 +01:00
|
|
|
(stdenv.mkDerivation rec {
|
|
|
|
name = "xine-lib-1.1.9.1";
|
2004-12-11 00:16:23 +01:00
|
|
|
src = fetchurl {
|
2008-01-28 20:42:09 +01:00
|
|
|
url = "mirror://sourceforge/xine/${name}.tar.bz2";
|
|
|
|
sha256 = "1rz4k2a9pny2ksqb5diw1ci8ijihpcm0mi8qxp5p7nasgzgqcj82";
|
2004-12-11 00:16:23 +01:00
|
|
|
};
|
2008-01-28 20:42:09 +01:00
|
|
|
buildInputs = [ x11 pkgconfig libXv libXinerama alsaLib mesa aalib SDL
|
|
|
|
libvorbis libtheora speex ];
|
|
|
|
configureFlags = "--with-xv-path=${libXv}/lib";
|
|
|
|
NIX_LDFLAGS = "-rpath ${libdvdcss}/lib -L${libdvdcss}/lib -ldvdcss";
|
2004-12-11 00:16:23 +01:00
|
|
|
propagatedBuildInputs = [zlib];
|
2008-01-28 20:42:09 +01:00
|
|
|
}) // { xineramaSupport = true; inherit libXinerama; }
|