2011-06-07 21:50:05 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, xorg, alsaLib, mesa, aalib
|
2009-08-11 20:47:33 +00:00
|
|
|
, libvorbis, libtheora, speex, zlib, libdvdcss, perl, ffmpeg
|
2011-06-07 21:50:05 +00:00
|
|
|
, flac, libcaca, pulseaudio, libmng
|
2009-08-11 20:47:33 +00:00
|
|
|
}:
|
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
|
|
|
};
|
2011-07-25 15:08:16 +00:00
|
|
|
|
|
|
|
patches =
|
|
|
|
[ (fetchurl {
|
|
|
|
url = "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-libs/xine-lib/files/xine-lib-1.1.19-ffmpeg.patch?revision=1.1";
|
|
|
|
sha256 = "0dqr0kc829djfn0wvk4jg84v61pxynqbp4s4phvywd7x9caf092b";
|
|
|
|
})
|
|
|
|
];
|
2009-08-11 20:47:33 +00:00
|
|
|
|
2011-06-07 21:50:05 +00:00
|
|
|
buildNativeInputs = [ pkgconfig perl ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
xorg.libX11 xorg.libXv xorg.libXinerama xorg.libxcb xorg.libXext
|
|
|
|
alsaLib mesa aalib libvorbis libtheora speex perl ffmpeg flac
|
|
|
|
libcaca pulseaudio libmng
|
|
|
|
];
|
|
|
|
|
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
|
|
|
|
2011-07-25 15:08:16 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|