agg: disable sdltest on darwin; dgen-sdl: fix darwin build (#353575)
This commit is contained in:
@@ -20,6 +20,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
(lib.enableFeature (!stdenv.hostPlatform.isDarwin) "sdltest")
|
||||
"--enable-debug-vdp"
|
||||
"--enable-debugger"
|
||||
"--enable-joystick"
|
||||
@@ -34,6 +35,8 @@ stdenv.mkDerivation rec {
|
||||
"--with-star=no" # Needs ASM support
|
||||
];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-reserved-user-defined-literal";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://dgen.sourceforge.net/";
|
||||
description = "Sega Genesis/Mega Drive emulator";
|
||||
|
||||
@@ -33,7 +33,8 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
(lib.strings.enableFeature stdenv.hostPlatform.isLinux "platform")
|
||||
(lib.enableFeature stdenv.hostPlatform.isLinux "platform")
|
||||
(lib.enableFeature (!stdenv.hostPlatform.isDarwin) "sdltest")
|
||||
"--enable-examples=no"
|
||||
] ++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
"--x-includes=${lib.getDev libX11}/include"
|
||||
|
||||
Reference in New Issue
Block a user