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