mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
5cdc569477
pulseAudio) svn path=/nixpkgs/branches/stdenv-updates/; revision=23315
24 lines
660 B
Nix
24 lines
660 B
Nix
{ stdenv, fetchurl, pkgconfig, pulseaudio, alsaLib
|
|
, usePulseAudio }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "libao-0.8.8";
|
|
src = fetchurl {
|
|
url = http://downloads.xiph.org/releases/ao/libao-0.8.8.tar.gz;
|
|
sha256 = "e52e05af6b10f42d2ee9845df1a581bf2b352060eabf7946aee0a600c3878954";
|
|
};
|
|
|
|
buildInputs = [ pkgconfig alsaLib ] ++ (if usePulseAudio then [ pulseaudio ]
|
|
else [ alsaLib ]);
|
|
|
|
meta = {
|
|
longDescription = ''
|
|
Libao is Xiph.org's cross-platform audio library that allows
|
|
programs to output audio using a simple API on a wide variety of
|
|
platforms.
|
|
'';
|
|
homepage = http://xiph.org/ao/;
|
|
license = "GPLv2+";
|
|
};
|
|
}
|