mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 05:00:16 +00:00
Making pulseaudio optional on libao.
svn path=/nixpkgs/trunk/; revision=20018
This commit is contained in:
parent
6c622c014d
commit
7390c0e31f
|
@ -1,4 +1,5 @@
|
|||
{ stdenv, fetchurl, pkgconfig, pulseaudio }:
|
||||
{ stdenv, fetchurl, pkgconfig, pulseaudio
|
||||
, usePulseAudio }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "libao-0.8.8";
|
||||
|
@ -7,7 +8,7 @@ stdenv.mkDerivation {
|
|||
sha256 = "e52e05af6b10f42d2ee9845df1a581bf2b352060eabf7946aee0a600c3878954";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig pulseaudio ];
|
||||
buildInputs = [ pkgconfig ] ++ stdenv.lib.optional usePulseAudio pulseaudio;
|
||||
|
||||
meta = {
|
||||
longDescription = ''
|
||||
|
|
|
@ -4059,6 +4059,7 @@ let
|
|||
|
||||
libao = import ../development/libraries/libao {
|
||||
inherit stdenv fetchurl pkgconfig pulseaudio;
|
||||
usePulseAudio = getConfig [ "pulseaudio" ] true;
|
||||
};
|
||||
|
||||
libarchive = import ../development/libraries/libarchive {
|
||||
|
|
Loading…
Reference in a new issue