mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
yquake: fix on darwin
This commit is contained in:
parent
9c662b149c
commit
d3fa660288
@ -3,6 +3,7 @@
|
||||
, oggSupport ? true, libogg, libvorbis
|
||||
, openalSupport ? true, openal
|
||||
, zipSupport ? true, zlib
|
||||
, Cocoa, OpenAL
|
||||
}:
|
||||
|
||||
let
|
||||
@ -28,6 +29,7 @@ let
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
buildInputs = [ SDL2 libGL ]
|
||||
++ lib.optionals stdenv.isDarwin [ Cocoa OpenAL ]
|
||||
++ lib.optionals oggSupport [ libogg libvorbis ]
|
||||
++ lib.optional openalSupport openal
|
||||
++ lib.optional zipSupport zlib;
|
||||
|
@ -21668,7 +21668,9 @@ in
|
||||
|
||||
xtris = callPackage ../games/xtris { };
|
||||
|
||||
inherit (callPackage ../games/quake2/yquake2 { })
|
||||
inherit (callPackage ../games/quake2/yquake2 {
|
||||
inherit (darwin.apple_sdk.frameworks) Cocoa OpenAL;
|
||||
})
|
||||
yquake2
|
||||
yquake2-ctf
|
||||
yquake2-ground-zero
|
||||
|
Loading…
Reference in New Issue
Block a user