mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 06:31:20 +00:00
audiofile: fix build on darwin
* disable alsaLib * build with gccApple
This commit is contained in:
parent
0024926701
commit
7ef50f5098
@ -3,17 +3,18 @@
|
||||
stdenv.mkDerivation rec {
|
||||
name = "audiofile-0.3.3";
|
||||
|
||||
buildInputs = [ alsaLib ];
|
||||
buildInputs = stdenv.lib.optional (!stdenv.isDarwin) alsaLib;
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://audiofile.68k.org/${name}.tar.gz";
|
||||
sha256 = "1qm7z0g1d9rcxi1m87slgdi0rhl94g13dx3d2b05dilghwpgjjgq";
|
||||
};
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
description = "A library for reading and writing audio files in various formats";
|
||||
homepage = http://www.68k.org/~michael/audiofile/;
|
||||
license = "lgpl";
|
||||
maintainers = [ stdenv.lib.maintainers.shlevy ];
|
||||
homepage = http://www.68k.org/~michael/audiofile/;
|
||||
license = licenses.lgpl;
|
||||
maintainers = with maintainers; [ lovek323 shlevy ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
@ -3703,7 +3703,11 @@ let
|
||||
|
||||
aubio = callPackage ../development/libraries/aubio { };
|
||||
|
||||
audiofile = callPackage ../development/libraries/audiofile { };
|
||||
audiofile = callPackage ../development/libraries/audiofile {
|
||||
stdenv = if stdenv.isDarwin
|
||||
then overrideGCC stdenv gccApple
|
||||
else stdenv;
|
||||
};
|
||||
|
||||
axis = callPackage ../development/libraries/axis { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user