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 {
|
2008-04-25 23:49:25 +02:00
|
|
|
name = "xine-lib-1.1.12";
|
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";
|
2008-04-25 23:49:25 +02:00
|
|
|
sha256 = "49088635c29a38527bd8590139691951783c5c1c7fdb691a8a3a9954097d4dd0";
|
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; }
|