Skip to content

Commit

Permalink
libretro.mame: depend on MetalKit
Browse files Browse the repository at this point in the history
  • Loading branch information
AluisioASG committed Nov 4, 2020
1 parent 554675c commit ac211b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkgs/misc/emulators/retroarch/cores.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ stdenv, fetchgit, fetchFromGitHub, fetchFromGitLab, fetchpatch, cmake, pkgconfig, makeWrapper, python27, python37, retroarch
, alsaLib, fluidsynth, curl, hidapi, libGLU, gettext, glib, gtk2, portaudio, SDL, SDL_net, SDL2, SDL2_image, libGL
, ffmpeg_3, pcre, libevdev, libpng, libjpeg, libzip, udev, libvorbis, snappy, which, hexdump
, miniupnpc, sfml, xorg, zlib, nasm, libpcap, boost, icu, openssl, AppKit, Cocoa, CoreAudioKit, ForceFeedback, Foundation, libiconv
, miniupnpc, sfml, xorg, zlib, nasm, libpcap, boost, icu, openssl, AppKit, Cocoa, CoreAudioKit, ForceFeedback, Foundation, MetalKit, libiconv
, buildPackages }:

let
Expand Down Expand Up @@ -555,7 +555,7 @@ in with stdenv.lib.licenses;

extraBuildInputs = [ libGLU libGL portaudio python27 xorg.libX11 ]
++ stdenv.lib.optional stdenv.isLinux alsaLib
++ stdenv.lib.optionals stdenv.isDarwin [ libpcap Cocoa CoreAudioKit ForceFeedback Foundation ];
++ stdenv.lib.optionals stdenv.isDarwin [ libpcap Cocoa CoreAudioKit ForceFeedback Foundation MetalKit ];
postPatch = ''
# Prevent the failure during the parallel building of:
# make -C 3rdparty/genie/build/gmake.linux -f genie.make obj/Release/src/host/lua-5.3.0/src/lgc.o
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27629,7 +27629,7 @@ in

libretro = recurseIntoAttrs (callPackage ../misc/emulators/retroarch/cores.nix {
retroarch = retroarchBare;
inherit (darwin.apple_sdk.frameworks) AppKit Cocoa CoreAudioKit ForceFeedback Foundation;
inherit (darwin.apple_sdk.frameworks) AppKit Cocoa CoreAudioKit ForceFeedback Foundation MetalKit;
});

retrofe = callPackage ../misc/emulators/retrofe { };
Expand Down

0 comments on commit ac211b0

Please sign in to comment.