2018-02-24 14:12:44 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, xorg, alsaLib, libGLU_combined, aalib
|
2018-07-21 02:44:44 +02:00
|
|
|
, libvorbis, libtheora, speex, zlib, perl, ffmpeg
|
2015-05-27 21:42:15 +02:00
|
|
|
, flac, libcaca, libpulseaudio, libmng, libcdio, libv4l, vcdimager
|
2012-01-09 11:25:56 +01:00
|
|
|
, 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 {
|
2018-03-21 15:45:50 +01:00
|
|
|
name = "xine-lib-1.2.9";
|
2016-05-26 15:30:55 +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";
|
2018-03-21 15:45:50 +01:00
|
|
|
sha256 = "13clir4qxl2zvsvvjd9yv3yrdhsnvcn5s7ambbbn5dzy9604xcrj";
|
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
|
2018-02-24 14:12:44 +01:00
|
|
|
alsaLib libGLU_combined aalib libvorbis libtheora speex perl ffmpeg flac
|
2015-05-27 21:42:15 +02:00
|
|
|
libcaca libpulseaudio libmng libcdio libv4l vcdimager libmpcdec
|
2011-06-07 23:50:05 +02:00
|
|
|
];
|
|
|
|
|
2016-05-26 15:43:08 +02:00
|
|
|
NIX_LDFLAGS = "-lxcb-shm";
|
2016-05-26 15:29:54 +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;
|
|
|
|
|
2018-10-27 15:53:47 +02:00
|
|
|
meta = with stdenv.lib; {
|
2009-08-11 22:47:33 +02:00
|
|
|
homepage = http://www.xine-project.org/;
|
|
|
|
description = "A high-performance, portable and reusable multimedia playback engine";
|
2018-10-27 15:53:47 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = with licenses; [ gpl2 lgpl2 ];
|
2009-08-11 22:47:33 +02:00
|
|
|
};
|
|
|
|
}
|