From ff7e3daf733a9ea42f24d78230af162334570da3 Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Tue, 7 Jun 2011 21:50:05 +0000 Subject: [PATCH] Add flac, pulseaudio, libmng, libxcb I need flac, pulseaudio and xcb. svn path=/nixpkgs/trunk/; revision=27380 --- .../development/libraries/xine-lib/default.nix | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/pkgs/development/libraries/xine-lib/default.nix b/pkgs/development/libraries/xine-lib/default.nix index 3cbb6ba2dd20..49d68f152678 100644 --- a/pkgs/development/libraries/xine-lib/default.nix +++ b/pkgs/development/libraries/xine-lib/default.nix @@ -1,5 +1,6 @@ -{ stdenv, fetchurl, pkgconfig, xlibs, alsaLib, mesa, aalib +{ stdenv, fetchurl, pkgconfig, xorg, alsaLib, mesa, aalib , libvorbis, libtheora, speex, zlib, libdvdcss, perl, ffmpeg +, flac, libcaca, pulseaudio, libmng }: stdenv.mkDerivation rec { @@ -10,13 +11,14 @@ stdenv.mkDerivation rec { sha256 = "0x47kmsaxx1bv8w2cacvzls3sjw9y4vk82rd94km1m1s6k2wcxv2"; }; - buildInputs = - [ xlibs.xlibs pkgconfig xlibs.libXv xlibs.libXinerama alsaLib mesa aalib - libvorbis libtheora speex perl ffmpeg - # removed SDL dependency; it's a big dependency and doesn't seem - # particularly useful here. - ]; - + 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];