mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
mednaffe: remove gtk2
Upstream has removed support for it.
This commit is contained in:
parent
3017da1633
commit
cef1694515
@ -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; {
|
||||
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user