aacgain: fix build on darwin and add update script (#520904)
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
autoconf,
|
||||
automake,
|
||||
libtool,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
@@ -27,7 +28,11 @@ stdenv.mkDerivation {
|
||||
libtool
|
||||
];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = "-Wno-error=narrowing";
|
||||
env.NIX_CFLAGS_COMPILE = "-Wno-error=narrowing -DHAVE_GETOPT_H=1";
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [ "--version=branch" ];
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "ReplayGain for AAC files";
|
||||
|
||||
Reference in New Issue
Block a user