mednaffe: remove gtk2

Upstream has removed support for it.
This commit is contained in:
Zane van Iperen 2021-12-17 01:02:05 +10:00 committed by ehmry
parent 3017da1633
commit cef1694515
2 changed files with 4 additions and 12 deletions

View File

@ -4,8 +4,7 @@
, autoreconfHook
, pkg-config
, mednafen
, gtk2 ? null
, gtk3 ? null
, gtk3
, wrapGAppsHook
}:
@ -21,16 +20,11 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ autoreconfHook pkg-config wrapGAppsHook ];
buildInputs = [ gtk2 gtk3 mednafen ];
configureFlags = [ (lib.enableFeature (gtk3 != null) "gtk3") ];
dontWrapGApps = true;
buildInputs = [ gtk3 mednafen ];
postInstall = ''
wrapProgram $out/bin/mednaffe \
--prefix PATH ':' "${mednafen}/bin" \
"''${gappsWrapperArgs[@]}"
--prefix PATH ':' "${mednafen}/bin"
'';
meta = with lib; {

View File

@ -7674,9 +7674,7 @@ with pkgs;
mednafen-server = callPackage ../misc/emulators/mednafen/server.nix { };
mednaffe = callPackage ../misc/emulators/mednaffe {
gtk2 = null;
};
mednaffe = callPackage ../misc/emulators/mednaffe { };
megacli = callPackage ../tools/misc/megacli { };