Unverified Commit 819a66c5 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

agg: disable sdltest on darwin; dgen-sdl: fix darwin build (#353575)

parents 8298cfeb eb2009ec
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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";
+2 −1
Original line number Diff line number Diff line
@@ -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"