2021-04-30 20:50:49 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, fetchpatch
|
|
|
|
, aalib
|
|
|
|
, alsaLib
|
|
|
|
, ffmpeg
|
|
|
|
, flac
|
|
|
|
, libGL
|
|
|
|
, libGLU
|
|
|
|
, libcaca
|
|
|
|
, libcdio
|
|
|
|
, libmng
|
|
|
|
, libmpcdec
|
|
|
|
, libpulseaudio
|
|
|
|
, libtheora
|
|
|
|
, libv4l
|
|
|
|
, libvorbis
|
|
|
|
, perl
|
|
|
|
, pkg-config
|
|
|
|
, speex
|
|
|
|
, vcdimager
|
|
|
|
, xorg
|
|
|
|
, zlib
|
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 {
|
2021-04-25 20:46:45 +00:00
|
|
|
pname = "xine-lib";
|
|
|
|
version = "1.2.11";
|
2016-05-26 13:30:55 +00:00
|
|
|
|
2004-12-10 23:16:23 +00:00
|
|
|
src = fetchurl {
|
2021-04-25 20:46:45 +00:00
|
|
|
url = "mirror://sourceforge/xine/xine-lib-${version}.tar.xz";
|
2021-04-30 20:50:49 +00:00
|
|
|
sha256 = "sha256-71GyHRDdoQRfp9cRvZFxz9rwpaKHQjO88W/98o7AcAU=";
|
2004-12-10 23:16:23 +00:00
|
|
|
};
|
2011-07-25 15:08:16 +00:00
|
|
|
|
2021-04-30 20:50:49 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
perl
|
|
|
|
];
|
2011-06-07 21:50:05 +00:00
|
|
|
buildInputs = [
|
2021-04-30 20:50:49 +00:00
|
|
|
aalib
|
|
|
|
alsaLib
|
|
|
|
ffmpeg
|
|
|
|
flac
|
|
|
|
libGL
|
|
|
|
libGLU
|
|
|
|
libcaca
|
|
|
|
libcdio
|
|
|
|
libmng
|
|
|
|
libmpcdec
|
|
|
|
libpulseaudio
|
|
|
|
libtheora
|
|
|
|
libv4l
|
|
|
|
libvorbis
|
|
|
|
perl
|
|
|
|
speex
|
|
|
|
vcdimager
|
|
|
|
zlib
|
|
|
|
] ++ (with xorg; [
|
|
|
|
libX11
|
|
|
|
libXext
|
|
|
|
libXinerama
|
|
|
|
libXv
|
|
|
|
libxcb
|
|
|
|
]);
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
# splitting path plugin
|
|
|
|
(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 = "sha256-LJedxrD8JWITDo9pnS9BCmy7wiPTyJyoQ1puX49tOls=";
|
|
|
|
})
|
2019-06-14 08:04:27 +00:00
|
|
|
];
|
|
|
|
|
2016-05-26 13:43:08 +00:00
|
|
|
NIX_LDFLAGS = "-lxcb-shm";
|
2016-05-26 13:29:54 +00:00
|
|
|
|
2011-07-25 15:08:16 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2021-04-30 20:50:49 +00:00
|
|
|
homepage = "http://www.xinehq.de/";
|
2009-08-11 20:47:33 +00:00
|
|
|
description = "A high-performance, portable and reusable multimedia playback engine";
|
2021-04-25 20:46:45 +00:00
|
|
|
license = with licenses; [ gpl2Plus lgpl2Plus ];
|
2021-04-30 20:50:49 +00:00
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
|
|
platforms = platforms.linux;
|
2009-08-11 20:47:33 +00:00
|
|
|
};
|
|
|
|
}
|