dolphinEmuMaster: move inputs to nativeBuildInputs
- add Darwin inputs - Add curl to prevent in-tree build - add libpng hidapi wxgtk for dolphin to use
This commit is contained in:
parent
1e5973850e
commit
1852176d2e
2 changed files with 22 additions and 9 deletions
|
@ -1,7 +1,14 @@
|
|||
{ stdenv, gcc, pkgconfig, cmake, bluez, ffmpeg, libao, mesa, gtk2, glib
|
||||
{ stdenv, fetchFromGitHub, pkgconfig, cmake, bluez, ffmpeg, libao, mesa, gtk2, glib
|
||||
, pcre, gettext, libpthreadstubs, libXrandr, libXext, libSM, readline
|
||||
, openal, libXdmcp, portaudio, fetchFromGitHub, libusb, libevdev
|
||||
, libpulseaudio ? null }:
|
||||
, openal, libXdmcp, portaudio, libusb, libevdev
|
||||
, libpulseaudio ? null
|
||||
, curl
|
||||
# - Inputs used for Darwin
|
||||
, CoreBluetooth, cf-private, ForceFeedback, IOKit, OpenGL
|
||||
, wxGTK
|
||||
, libpng
|
||||
, hidapi
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "dolphin-emu-20170902";
|
||||
|
@ -17,14 +24,17 @@ stdenv.mkDerivation rec {
|
|||
"-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2.out}/lib/gtk-2.0/include"
|
||||
"-DGTK2_INCLUDE_DIRS=${gtk2.dev}/include/gtk-2.0"
|
||||
"-DENABLE_LTO=True"
|
||||
];
|
||||
] ++ stdenv.lib.optionals stdenv.isDarwin [ "-DOSX_USE_DEFAULT_SEARCH_PATH=True" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ gcc cmake bluez ffmpeg libao mesa gtk2 glib pcre
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
|
||||
buildInputs = [ curl ffmpeg libao mesa gtk2 glib pcre
|
||||
gettext libpthreadstubs libXrandr libXext libSM readline openal
|
||||
libevdev libXdmcp portaudio libusb libpulseaudio ];
|
||||
libXdmcp portaudio libusb libpulseaudio libpng hidapi
|
||||
] ++ stdenv.lib.optionals stdenv.isDarwin [ wxGTK CoreBluetooth cf-private ForceFeedback IOKit OpenGL ]
|
||||
++ stdenv.lib.optionals stdenv.isLinux [ bluez libevdev ];
|
||||
|
||||
meta = {
|
||||
homepage = http://dolphin-emu.org/;
|
||||
|
|
|
@ -1839,8 +1839,11 @@ with pkgs;
|
|||
dotnetfx40 = callPackage ../development/libraries/dotnetfx40 { };
|
||||
|
||||
dolphinEmu = callPackage ../misc/emulators/dolphin-emu { };
|
||||
dolphinEmuMaster = callPackage ../misc/emulators/dolphin-emu/master.nix { };
|
||||
|
||||
dolphinEmuMaster = callPackage ../misc/emulators/dolphin-emu/master.nix {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreBluetooth ForceFeedback IOKit OpenGL;
|
||||
inherit (darwin) cf-private;
|
||||
wxGTK = wxGTK31;
|
||||
};
|
||||
doomseeker = callPackage ../applications/misc/doomseeker { };
|
||||
|
||||
slade = callPackage ../applications/misc/slade {
|
||||
|
|
Loading…
Reference in a new issue