2009-08-11 20:47:33 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, xlibs, alsaLib, mesa, aalib
|
|
|
|
, libvorbis, libtheora, speex, zlib, libdvdcss, perl, ffmpeg
|
|
|
|
}:
|
2004-12-10 23:16:23 +00:00
|
|
|
|
2009-08-11 20:47:33 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2011-02-09 21:09:56 +00:00
|
|
|
name = "xine-lib-1.1.19";
|
2009-08-11 20:47:33 +00:00
|
|
|
|
2004-12-10 23:16:23 +00:00
|
|
|
src = fetchurl {
|
2008-01-28 19:42:09 +00:00
|
|
|
url = "mirror://sourceforge/xine/${name}.tar.bz2";
|
2011-02-09 21:09:56 +00:00
|
|
|
sha256 = "0x47kmsaxx1bv8w2cacvzls3sjw9y4vk82rd94km1m1s6k2wcxv2";
|
2004-12-10 23:16:23 +00:00
|
|
|
};
|
2009-08-11 20:47:33 +00:00
|
|
|
|
|
|
|
buildInputs =
|
|
|
|
[ xlibs.xlibs pkgconfig xlibs.libXv xlibs.libXinerama alsaLib mesa aalib
|
|
|
|
libvorbis libtheora speex perl ffmpeg
|
|
|
|
# removed SDL dependency; it's a big dependency and doesn't seem
|
|
|
|
# particularly useful here.
|
|
|
|
];
|
|
|
|
|
2008-01-28 19:42:09 +00:00
|
|
|
NIX_LDFLAGS = "-rpath ${libdvdcss}/lib -L${libdvdcss}/lib -ldvdcss";
|
2009-08-11 20:47:33 +00:00
|
|
|
|
2004-12-10 23:16:23 +00:00
|
|
|
propagatedBuildInputs = [zlib];
|
2009-08-11 20:47:33 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.xine-project.org/;
|
|
|
|
description = "A high-performance, portable and reusable multimedia playback engine";
|
|
|
|
};
|
|
|
|
}
|