libbluray: fix build on darwin

This commit is contained in:
Mario Rodas 2020-04-06 04:20:00 -05:00
parent b2aa0bbf46
commit bee7f216b5
No known key found for this signature in database
GPG Key ID: 325649BCA6D53027
2 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, fontconfig, autoreconfHook
{ stdenv, fetchurl, pkgconfig, fontconfig, autoreconfHook, DiskArbitration
, withJava ? false, jdk ? null, ant ? null
, withAACS ? false, libaacs ? null
, withBDplus ? false, libbdplus ? null
@ -36,6 +36,7 @@ stdenv.mkDerivation rec {
++ optional withJava jdk
++ optional withMetadata libxml2
++ optional withFonts freetype
++ optional stdenv.isDarwin DiskArbitration
;
propagatedBuildInputs = optional withAACS libaacs;

View File

@ -12390,7 +12390,9 @@ in
libblocksruntime = callPackage ../development/libraries/libblocksruntime { };
libbluray = callPackage ../development/libraries/libbluray { };
libbluray = callPackage ../development/libraries/libbluray {
inherit (darwin.apple_sdk.frameworks) DiskArbitration;
};
libbs2b = callPackage ../development/libraries/audio/libbs2b { };