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