2018-02-24 13:12:44 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, xorg, alsaLib, libGLU_combined, aalib
|
2009-08-11 20:47:33 +00:00
|
|
|
, libvorbis, libtheora, speex, zlib, libdvdcss, perl, ffmpeg
|
2015-05-27 19:42:15 +00:00
|
|
|
, flac, libcaca, libpulseaudio, libmng, libcdio, libv4l, vcdimager
|
2012-01-09 10:25:56 +00:00
|
|
|
, libmpcdec
|
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 {
|
2016-05-26 13:30:55 +00:00
|
|
|
name = "xine-lib-1.2.6";
|
|
|
|
|
2004-12-10 23:16:23 +00:00
|
|
|
src = fetchurl {
|
2012-07-02 21:00:47 +00:00
|
|
|
url = "mirror://sourceforge/xine/${name}.tar.xz";
|
2016-05-26 13:30:55 +00:00
|
|
|
sha256 = "01d0nv4zhr4k8id5n4rmw13llrjsv9dhwg1a773c1iqpi1ris15x";
|
2004-12-10 23:16:23 +00:00
|
|
|
};
|
2011-07-25 15:08:16 +00:00
|
|
|
|
2012-12-28 18:20:09 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig perl ];
|
2011-06-07 21:50:05 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
xorg.libX11 xorg.libXv xorg.libXinerama xorg.libxcb xorg.libXext
|
2018-02-24 13:12:44 +00:00
|
|
|
alsaLib libGLU_combined aalib libvorbis libtheora speex perl ffmpeg flac
|
2015-05-27 19:42:15 +00:00
|
|
|
libcaca libpulseaudio libmng libcdio libv4l vcdimager libmpcdec
|
2011-06-07 21:50:05 +00:00
|
|
|
];
|
|
|
|
|
2016-05-26 13:43:08 +00:00
|
|
|
NIX_LDFLAGS = "-lxcb-shm";
|
2016-05-26 13:29:54 +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";
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-08-11 20:47:33 +00:00
|
|
|
};
|
|
|
|
}
|