Merge pull request #231786 from lasers/cemu

cemu: 2.0-36 -> 2.0-39
This commit is contained in:
Nick Cao 2023-05-19 07:52:31 -06:00 committed by GitHub
commit 8a4c408a8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@
, wayland
, wxGTK32
, zarchive
, gamemode
, vulkan-loader
, nix-update-script
@ -31,13 +31,13 @@
stdenv.mkDerivation rec {
pname = "cemu";
version = "2.0-36";
version = "2.0-39";
src = fetchFromGitHub {
owner = "cemu-project";
repo = "Cemu";
rev = "v${version}";
hash = "sha256-RO8c9gLK00LLwDzcD8UOS3kh3kwTwFyrpuRlIXcInPo=";
hash = "sha256-+2V78G4SDFb6ZQDDorvT13yqnZw2JAObF+WGYMMGYHE=";
};
patches = [
@ -80,6 +80,7 @@ stdenv.mkDerivation rec {
"-DCMAKE_C_FLAGS_RELEASE=-DNDEBUG"
"-DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG"
"-DENABLE_VCPKG=OFF"
"-DENABLE_FERAL_GAMEMODE=ON"
# PORTABLE:
# "All data created and maintained by Cemu will be in the directory where the executable file is located"
@ -91,7 +92,8 @@ stdenv.mkDerivation rec {
in ''
rm -rf dependencies/imgui
ln -s ${imgui}/include/imgui dependencies/imgui
sed 's/\(EMULATOR_VERSION_SUFFIX\).*experimental.*/\1 "-${tag} (experimental)"/' -i src/Common/version.h
substituteInPlace src/Common/version.h --replace " (experimental)" "-${tag} (experimental)"
substituteInPlace dependencies/gamemode/lib/gamemode_client.h --replace "libgamemode.so.0" "${gamemode.lib}/lib/libgamemode.so.0"
'';
installPhase = ''