mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
35 lines
981 B
Nix
35 lines
981 B
Nix
{ stdenv, fetchurl, pkgconfig, xorg, alsaLib, libGLU_combined, aalib
|
|
, libvorbis, libtheora, speex, zlib, perl, ffmpeg
|
|
, flac, libcaca, libpulseaudio, libmng, libcdio, libv4l, vcdimager
|
|
, libmpcdec
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "xine-lib-1.2.9";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/xine/${name}.tar.xz";
|
|
sha256 = "13clir4qxl2zvsvvjd9yv3yrdhsnvcn5s7ambbbn5dzy9604xcrj";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig perl ];
|
|
|
|
buildInputs = [
|
|
xorg.libX11 xorg.libXv xorg.libXinerama xorg.libxcb xorg.libXext
|
|
alsaLib libGLU_combined aalib libvorbis libtheora speex perl ffmpeg flac
|
|
libcaca libpulseaudio libmng libcdio libv4l vcdimager libmpcdec
|
|
];
|
|
|
|
NIX_LDFLAGS = "-lxcb-shm";
|
|
|
|
propagatedBuildInputs = [zlib];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = {
|
|
homepage = http://www.xine-project.org/;
|
|
description = "A high-performance, portable and reusable multimedia playback engine";
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|