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
|
2015-05-27 22:42:15 +03:00
|
|
|
, flac, libcaca, libpulseaudio, libmng, libcdio, libv4l, vcdimager
|
2012-01-09 14:25:56 +04:00
|
|
|
, 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 {
|
2013-12-18 20:17:23 +04:00
|
|
|
name = "xine-lib-1.2.4";
|
2009-08-12 00:47:33 +04:00
|
|
|
|
2004-12-11 02:16:23 +03:00
|
|
|
src = fetchurl {
|
2012-07-03 01:00:47 +04:00
|
|
|
url = "mirror://sourceforge/xine/${name}.tar.xz";
|
2013-12-18 20:17:23 +04:00
|
|
|
sha256 = "1pdv7bs683ily548arv4wsxabslyf3x3laij5jb921dxyx71nnww";
|
2004-12-11 02:16:23 +03:00
|
|
|
};
|
2011-07-25 19:08:16 +04:00
|
|
|
|
2012-12-28 22:20:09 +04:00
|
|
|
nativeBuildInputs = [ pkgconfig perl ];
|
2011-06-08 01:50:05 +04:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
xorg.libX11 xorg.libXv xorg.libXinerama xorg.libxcb xorg.libXext
|
|
|
|
alsaLib mesa aalib libvorbis libtheora speex perl ffmpeg flac
|
2015-05-27 22:42:15 +03:00
|
|
|
libcaca libpulseaudio libmng libcdio libv4l vcdimager libmpcdec
|
2011-06-08 01:50:05 +04:00
|
|
|
];
|
|
|
|
|
2016-05-26 16:29:54 +03:00
|
|
|
NIX_LDFLAGS = "-rpath ${libdvdcss}/lib -L${libdvdcss}/lib -ldvdcss -lxcb-shm";
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|