Unverified Commit 8a4c408a authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #231786 from lasers/cemu

cemu: 2.0-36 -> 2.0-39
parents 17243510 d4ccb9d6
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -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 = ''