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

81 lines
1.2 KiB
Nix
Raw Normal View History

{ lib
, stdenv
, fetchurl
, aalib
, alsa-lib
, ffmpeg
, flac
, libGL
, libGLU
, libcaca
, libcdio
, libmng
, libmpcdec
, libpulseaudio
, libtheora
, libv4l
, libvorbis
2021-05-08 02:57:45 +00:00
, ncurses
, perl
, pkg-config
, speex
, vcdimager
, xorg
, zlib
}:
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
src = fetchurl {
2021-04-25 20:46:45 +00:00
url = "mirror://sourceforge/xine/xine-lib-${version}.tar.xz";
sha256 = "sha256-71GyHRDdoQRfp9cRvZFxz9rwpaKHQjO88W/98o7AcAU=";
};
nativeBuildInputs = [
pkg-config
perl
];
buildInputs = [
aalib
alsa-lib
ffmpeg
flac
libGL
libGLU
libcaca
libcdio
libmng
libmpcdec
libpulseaudio
libtheora
libv4l
libvorbis
2021-05-08 02:57:45 +00:00
ncurses
perl
speex
vcdimager
zlib
] ++ (with xorg; [
libX11
libXext
libXinerama
libXv
libxcb
]);
2021-05-08 02:57:45 +00: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 20:46:45 +00:00
license = with licenses; [ gpl2Plus lgpl2Plus ];
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.linux;
};
}