scummvm: fix build on darwin
This commit is contained in:
parent
f0e5556c62
commit
6769eec801
2 changed files with 2 additions and 3 deletions
|
@ -17,11 +17,11 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ nasm ];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isLinux [
|
||||
alsa-lib
|
||||
alsa-lib libGLU libGL
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
Cocoa AudioToolbox Carbon CoreMIDI AudioUnit
|
||||
] ++ [
|
||||
curl freetype flac fluidsynth libjpeg libmad libmpeg2 libogg libtheora libvorbis libGLU libGL SDL2 zlib
|
||||
curl freetype flac fluidsynth libjpeg libmad libmpeg2 libogg libtheora libvorbis SDL2 zlib
|
||||
];
|
||||
|
||||
dontDisableStatic = true;
|
||||
|
|
|
@ -38345,7 +38345,6 @@ with pkgs;
|
|||
scid-vs-pc = callPackage ../games/scid-vs-pc { };
|
||||
|
||||
scummvm = callPackage ../games/scummvm {
|
||||
stdenv = if (stdenv.isDarwin && stdenv.isAarch64) then llvmPackages_14.stdenv else stdenv;
|
||||
inherit (darwin) cctools;
|
||||
inherit (darwin.apple_sdk.frameworks) Cocoa AudioToolbox Carbon CoreMIDI AudioUnit;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue