1 { lib, stdenv, fetchurl, fetchpatch, pkg-config, xorg, alsaLib, libGLU, libGL, aalib
2 , libvorbis, libtheora, speex, zlib, perl, ffmpeg_3
3 , flac, libcaca, libpulseaudio, libmng, libcdio, libv4l, vcdimager
7 stdenv.mkDerivation rec {
8 name = "xine-lib-1.2.9";
11 url = "mirror://sourceforge/xine/${name}.tar.xz";
12 sha256 = "13clir4qxl2zvsvvjd9yv3yrdhsnvcn5s7ambbbn5dzy9604xcrj";
15 nativeBuildInputs = [ pkg-config perl ];
18 xorg.libX11 xorg.libXv xorg.libXinerama xorg.libxcb xorg.libXext
19 alsaLib libGLU libGL aalib libvorbis libtheora speex perl ffmpeg_3 flac
20 libcaca libpulseaudio libmng libcdio libv4l vcdimager libmpcdec
25 name = "0001-fix-XINE_PLUGIN_PATH-splitting.patch";
26 url = "https://sourceforge.net/p/xine/mailman/attachment/32394053-5e27-6558-f0c9-49e0da0bc3cc%40gmx.de/1/";
27 sha256 = "0nrsdn7myvjs8fl9rj6k4g1bnv0a84prsscg1q9n49gwn339v5rc";
31 NIX_LDFLAGS = "-lxcb-shm";
33 propagatedBuildInputs = [zlib];
35 enableParallelBuilding = true;
38 homepage = "http://www.xine-project.org/";
39 description = "A high-performance, portable and reusable multimedia playback engine";
40 platforms = platforms.linux;
41 license = with licenses; [ gpl2 lgpl2 ];