libcdio-paranoia: fix darwin build
This commit is contained in:
parent
a6425fc66d
commit
285ef9be09
2 changed files with 13 additions and 3 deletions
|
@ -1,4 +1,5 @@
|
|||
{ stdenv, fetchFromGitHub, autoreconfHook, libcdio, pkgconfig }:
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, libcdio, pkgconfig,
|
||||
libiconv, IOKit, DiskArbitration}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "libcdio-paranoia-0.94+2";
|
||||
|
@ -11,7 +12,14 @@ stdenv.mkDerivation {
|
|||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
buildInputs = [ libcdio ];
|
||||
buildInputs = [ libcdio ] ++
|
||||
stdenv.lib.optionals stdenv.isDarwin [ libiconv IOKit DiskArbitration ];
|
||||
|
||||
propagatedBuildInputs = stdenv.lib.optional stdenv.isDarwin DiskArbitration;
|
||||
|
||||
configureFlags = stdenv.lib.optionals stdenv.isDarwin [
|
||||
"--disable-ld-version-script"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "CD paranoia on top of libcdio";
|
||||
|
|
|
@ -9601,7 +9601,9 @@ with pkgs;
|
|||
inherit (darwin.apple_sdk.frameworks) Carbon IOKit;
|
||||
};
|
||||
|
||||
libcdio-paranoia = callPackage ../development/libraries/libcdio-paranoia { };
|
||||
libcdio-paranoia = callPackage ../development/libraries/libcdio-paranoia {
|
||||
inherit (darwin.apple_sdk.frameworks) DiskArbitration IOKit;
|
||||
};
|
||||
|
||||
libcdr = callPackage ../development/libraries/libcdr { lcms = lcms2; };
|
||||
|
||||
|
|
Loading…
Reference in a new issue