2011-06-08 01:50:05 +04:00
|
|
|
{ stdenv, fetchurl, pkgconfig, xorg, alsaLib, mesa, aalib
|
2009-08-12 00:47:33 +04:00
|
|
|
, libvorbis, libtheora, speex, zlib, libdvdcss, perl, ffmpeg
|
2012-01-09 14:25:56 +04:00
|
|
|
, flac, libcaca, pulseaudio, libmng, libcdio, libv4l, vcdimager
|
|
|
|
, libmpcdec
|
2009-08-12 00:47:33 +04:00
|
|
|
}:
|
2004-12-11 02:16:23 +03:00
|
|
|
|
2009-08-12 00:47:33 +04:00
|
|
|
stdenv.mkDerivation rec {
|
2012-01-09 14:25:56 +04:00
|
|
|
name = "xine-lib-1.2.0";
|
2009-08-12 00:47:33 +04:00
|
|
|
|
2004-12-11 02:16:23 +03:00
|
|
|
src = fetchurl {
|
2008-01-28 22:42:09 +03:00
|
|
|
url = "mirror://sourceforge/xine/${name}.tar.bz2";
|
2012-01-09 14:25:56 +04:00
|
|
|
sha256 = "1yss9cxxkcb6dzrv78xvi845ls6lhhbv6g8yfm6zjjl07v7jbm6c";
|
2004-12-11 02:16:23 +03:00
|
|
|
};
|
2011-07-25 19:08:16 +04:00
|
|
|
|
2012-02-09 13:35:54 +04:00
|
|
|
patches = [ ./zlib126.patch ];
|
2012-01-09 14:25:56 +04: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-12 00:47:33 +04:00
|
|
|
|
2011-06-08 01:50:05 +04:00
|
|
|
buildNativeInputs = [ pkgconfig perl ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
xorg.libX11 xorg.libXv xorg.libXinerama xorg.libxcb xorg.libXext
|
|
|
|
alsaLib mesa aalib libvorbis libtheora speex perl ffmpeg flac
|
2012-01-09 14:25:56 +04:00
|
|
|
libcaca pulseaudio libmng libcdio libv4l vcdimager libmpcdec
|
2011-06-08 01:50:05 +04:00
|
|
|
];
|
|
|
|
|
2008-01-28 22:42:09 +03:00
|
|
|
NIX_LDFLAGS = "-rpath ${libdvdcss}/lib -L${libdvdcss}/lib -ldvdcss";
|
2009-08-12 00:47:33 +04:00
|
|
|
|
2004-12-11 02:16:23 +03:00
|
|
|
propagatedBuildInputs = [zlib];
|
2009-08-12 00:47:33 +04:00
|
|
|
|
2011-07-25 19:08:16 +04:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2009-08-12 00:47:33 +04:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.xine-project.org/;
|
|
|
|
description = "A high-performance, portable and reusable multimedia playback engine";
|
|
|
|
};
|
|
|
|
}
|