mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
scummvm: fix build on darwin
This commit is contained in:
parent
f0e5556c62
commit
6769eec801
@ -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 New Issue
Block a user