cemu: 2.0-36 -> 2.0-39
This commit is contained in:
parent
27ca213f7a
commit
d4ccb9d673
|
@ -23,7 +23,7 @@
|
||||||
, wayland
|
, wayland
|
||||||
, wxGTK32
|
, wxGTK32
|
||||||
, zarchive
|
, zarchive
|
||||||
|
, gamemode
|
||||||
, vulkan-loader
|
, vulkan-loader
|
||||||
|
|
||||||
, nix-update-script
|
, nix-update-script
|
||||||
|
@ -31,13 +31,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "cemu";
|
pname = "cemu";
|
||||||
version = "2.0-36";
|
version = "2.0-39";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "cemu-project";
|
owner = "cemu-project";
|
||||||
repo = "Cemu";
|
repo = "Cemu";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-RO8c9gLK00LLwDzcD8UOS3kh3kwTwFyrpuRlIXcInPo=";
|
hash = "sha256-+2V78G4SDFb6ZQDDorvT13yqnZw2JAObF+WGYMMGYHE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -80,6 +80,7 @@ stdenv.mkDerivation rec {
|
||||||
"-DCMAKE_C_FLAGS_RELEASE=-DNDEBUG"
|
"-DCMAKE_C_FLAGS_RELEASE=-DNDEBUG"
|
||||||
"-DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG"
|
"-DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG"
|
||||||
"-DENABLE_VCPKG=OFF"
|
"-DENABLE_VCPKG=OFF"
|
||||||
|
"-DENABLE_FERAL_GAMEMODE=ON"
|
||||||
|
|
||||||
# PORTABLE:
|
# PORTABLE:
|
||||||
# "All data created and maintained by Cemu will be in the directory where the executable file is located"
|
# "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 ''
|
in ''
|
||||||
rm -rf dependencies/imgui
|
rm -rf dependencies/imgui
|
||||||
ln -s ${imgui}/include/imgui 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 = ''
|
installPhase = ''
|
||||||
|
|
Loading…
Reference in a new issue