1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00
nixpkgs/pkgs/development/libraries/xine-lib/default.nix
Yury G. Kudryashov ff7e3daf73 Add flac, pulseaudio, libmng, libxcb
I need flac, pulseaudio and xcb.

svn path=/nixpkgs/trunk/; revision=27380
2011-06-07 21:50:05 +00:00

31 lines
861 B
Nix

{ stdenv, fetchurl, pkgconfig, xorg, alsaLib, mesa, aalib
, libvorbis, libtheora, speex, zlib, libdvdcss, perl, ffmpeg
, flac, libcaca, pulseaudio, libmng
}:
stdenv.mkDerivation rec {
name = "xine-lib-1.1.19";
src = fetchurl {
url = "mirror://sourceforge/xine/${name}.tar.bz2";
sha256 = "0x47kmsaxx1bv8w2cacvzls3sjw9y4vk82rd94km1m1s6k2wcxv2";
};
buildNativeInputs = [ pkgconfig perl ];
buildInputs = [
xorg.libX11 xorg.libXv xorg.libXinerama xorg.libxcb xorg.libXext
alsaLib mesa aalib libvorbis libtheora speex perl ffmpeg flac
libcaca pulseaudio libmng
];
NIX_LDFLAGS = "-rpath ${libdvdcss}/lib -L${libdvdcss}/lib -ldvdcss";
propagatedBuildInputs = [zlib];
meta = {
homepage = http://www.xine-project.org/;
description = "A high-performance, portable and reusable multimedia playback engine";
};
}