nixpkgs/pkgs/development/libraries/xine-lib/default.nix

81 lines
1.2 KiB
Nix
Raw Normal View History

{ lib
, stdenv
, fetchurl
, aalib
, alsaLib
, ffmpeg
, flac
, libGL
, libGLU
, libcaca
, libcdio
, libmng
, libmpcdec
, libpulseaudio
, libtheora
, libv4l
, libvorbis
2021-05-08 04:57:45 +02:00
, ncurses
, perl
, pkg-config
, speex
, vcdimager
, xorg
, zlib
}:
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
src = fetchurl {
2021-04-25 22:46:45 +02:00
url = "mirror://sourceforge/xine/xine-lib-${version}.tar.xz";
sha256 = "sha256-71GyHRDdoQRfp9cRvZFxz9rwpaKHQjO88W/98o7AcAU=";
};
nativeBuildInputs = [
pkg-config
perl
];
buildInputs = [
aalib
alsaLib
ffmpeg
flac
libGL
libGLU
libcaca
libcdio
libmng
libmpcdec
libpulseaudio
libtheora
libv4l
libvorbis
2021-05-08 04:57:45 +02:00
ncurses
perl
speex
vcdimager
zlib
] ++ (with xorg; [
libX11
libXext
libXinerama
libXv
libxcb
]);
2021-05-08 04:57:45 +02:00
enableParallelBuilding = true;
NIX_LDFLAGS = "-lxcb-shm";
meta = with lib; {
homepage = "http://www.xinehq.de/";
description = "A high-performance, portable and reusable multimedia playback engine";
2021-04-25 22:46:45 +02:00
license = with licenses; [ gpl2Plus lgpl2Plus ];
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.linux;
};
}