2019-11-10 16:44:34 +00:00
|
|
|
{ stdenv, fetchurl, fetchpatch, pkgconfig, xorg, alsaLib, libGLU, libGL, aalib
|
2020-06-07 13:39:09 +01:00
|
|
|
, libvorbis, libtheora, speex, zlib, perl, ffmpeg_3
|
2015-05-27 20:42:15 +01:00
|
|
|
, flac, libcaca, libpulseaudio, libmng, libcdio, libv4l, vcdimager
|
2012-01-09 10:25:56 +00:00
|
|
|
, libmpcdec
|
2009-08-11 21:47:33 +01:00
|
|
|
}:
|
2004-12-10 23:16:23 +00:00
|
|
|
|
2009-08-11 21:47:33 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-21 14:45:50 +00:00
|
|
|
name = "xine-lib-1.2.9";
|
2016-05-26 14:30:55 +01:00
|
|
|
|
2004-12-10 23:16:23 +00:00
|
|
|
src = fetchurl {
|
2012-07-02 22:00:47 +01:00
|
|
|
url = "mirror://sourceforge/xine/${name}.tar.xz";
|
2018-03-21 14:45:50 +00:00
|
|
|
sha256 = "13clir4qxl2zvsvvjd9yv3yrdhsnvcn5s7ambbbn5dzy9604xcrj";
|
2004-12-10 23:16:23 +00:00
|
|
|
};
|
2011-07-25 16:08:16 +01:00
|
|
|
|
2012-12-28 18:20:09 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig perl ];
|
2011-06-07 22:50:05 +01:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
xorg.libX11 xorg.libXv xorg.libXinerama xorg.libxcb xorg.libXext
|
2020-06-07 13:39:09 +01:00
|
|
|
alsaLib libGLU libGL aalib libvorbis libtheora speex perl ffmpeg_3 flac
|
2015-05-27 20:42:15 +01:00
|
|
|
libcaca libpulseaudio libmng libcdio libv4l vcdimager libmpcdec
|
2011-06-07 22:50:05 +01:00
|
|
|
];
|
|
|
|
|
2019-06-14 09:04:27 +01:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
name = "0001-fix-XINE_PLUGIN_PATH-splitting.patch";
|
|
|
|
url = "https://sourceforge.net/p/xine/mailman/attachment/32394053-5e27-6558-f0c9-49e0da0bc3cc%40gmx.de/1/";
|
|
|
|
sha256 = "0nrsdn7myvjs8fl9rj6k4g1bnv0a84prsscg1q9n49gwn339v5rc";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2016-05-26 14:43:08 +01:00
|
|
|
NIX_LDFLAGS = "-lxcb-shm";
|
2016-05-26 14:29:54 +01:00
|
|
|
|
2004-12-10 23:16:23 +00:00
|
|
|
propagatedBuildInputs = [zlib];
|
2009-08-11 21:47:33 +01:00
|
|
|
|
2011-07-25 16:08:16 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2018-10-27 14:53:47 +01:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.xine-project.org/";
|
2009-08-11 21:47:33 +01:00
|
|
|
description = "A high-performance, portable and reusable multimedia playback engine";
|
2018-10-27 14:53:47 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = with licenses; [ gpl2 lgpl2 ];
|
2009-08-11 21:47:33 +01:00
|
|
|
};
|
|
|
|
}
|