Merge pull request #226399 from lasers/cemu

cemu: 2.0-32 -> 2.0-36
This commit is contained in:
Nick Cao 2023-04-24 10:20:04 +08:00 committed by GitHub
commit d0002900e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,13 +31,13 @@
stdenv.mkDerivation rec {
pname = "cemu";
version = "2.0-32";
version = "2.0-36";
src = fetchFromGitHub {
owner = "cemu-project";
repo = "Cemu";
rev = "v${version}";
hash = "sha256-47uCGN1wFVx3ph/q3+BG+pwJ7nisbmRPUEatOIq0i9M=";
hash = "sha256-RO8c9gLK00LLwDzcD8UOS3kh3kwTwFyrpuRlIXcInPo=";
};
patches = [
@ -86,9 +86,12 @@ stdenv.mkDerivation rec {
"-DPORTABLE=OFF"
];
preConfigure = ''
preConfigure = with lib; let
tag = last (splitString "-" version);
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
'';
installPhase = ''