superTuxKart: fix build on darwin
This commit is contained in:
parent
446b09fd3d
commit
250ddaff9e
|
@ -23,6 +23,7 @@
|
||||||
, sqlite
|
, sqlite
|
||||||
, Cocoa
|
, Cocoa
|
||||||
, IOKit
|
, IOKit
|
||||||
|
, IOBluetooth
|
||||||
, libsamplerate
|
, libsamplerate
|
||||||
, shaderc
|
, shaderc
|
||||||
}:
|
}:
|
||||||
|
@ -111,7 +112,7 @@ stdenv.mkDerivation rec {
|
||||||
]
|
]
|
||||||
++ lib.optional (stdenv.hostPlatform.isWindows || stdenv.hostPlatform.isLinux) libopenglrecorder
|
++ lib.optional (stdenv.hostPlatform.isWindows || stdenv.hostPlatform.isLinux) libopenglrecorder
|
||||||
++ lib.optional stdenv.hostPlatform.isLinux openal
|
++ lib.optional stdenv.hostPlatform.isLinux openal
|
||||||
++ lib.optionals stdenv.hostPlatform.isDarwin [ OpenAL IOKit Cocoa libsamplerate ];
|
++ lib.optionals stdenv.hostPlatform.isDarwin [ OpenAL IOKit Cocoa IOBluetooth libsamplerate ];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DBUILD_RECORDER=${if (stdenv.hostPlatform.isWindows || stdenv.hostPlatform.isLinux) then "ON" else "OFF"}"
|
"-DBUILD_RECORDER=${if (stdenv.hostPlatform.isWindows || stdenv.hostPlatform.isLinux) then "ON" else "OFF"}"
|
||||||
|
|
|
@ -37753,8 +37753,8 @@ with pkgs;
|
||||||
|
|
||||||
superTux = callPackage ../games/supertux { };
|
superTux = callPackage ../games/supertux { };
|
||||||
|
|
||||||
superTuxKart = callPackage ../games/super-tux-kart {
|
superTuxKart = darwin.apple_sdk_11_0.callPackage ../games/super-tux-kart {
|
||||||
inherit (darwin.apple_sdk.frameworks) Cocoa IOKit OpenAL;
|
inherit (darwin.apple_sdk_11_0.frameworks) Cocoa IOKit OpenAL IOBluetooth;
|
||||||
};
|
};
|
||||||
|
|
||||||
synthv1 = libsForQt5.callPackage ../applications/audio/synthv1 { };
|
synthv1 = libsForQt5.callPackage ../applications/audio/synthv1 { };
|
||||||
|
|
Loading…
Reference in a new issue