Merge pull request #206359 from zhaofengli/cemu-2.0-22

cemu: 2.0-17 -> 2.0-22
This commit is contained in:
Bobby Rong 2022-12-22 23:01:58 +08:00 committed by GitHub
commit 215e668a02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,21 +20,24 @@
, pugixml
, rapidjson
, vulkan-headers
, wayland
, wxGTK32
, zarchive
, vulkan-loader
, nix-update-script
}:
stdenv.mkDerivation rec {
pname = "cemu";
version = "2.0-17";
version = "2.0-22";
src = fetchFromGitHub {
owner = "cemu-project";
repo = "Cemu";
rev = "v${version}";
hash = "sha256-ryFph55o7s3eiqQ8kx5+3Et5S2U9H5i3fmZTc1CaCnA=";
hash = "sha256-ZQfJHQnT5mV6GC3dO6QV1fGsnyZMYqXiVdBSsimL5yU=";
};
patches = [
@ -68,6 +71,7 @@ stdenv.mkDerivation rec {
pugixml
rapidjson
vulkan-headers
wayland
wxGTK32
zarchive
];
@ -108,13 +112,13 @@ stdenv.mkDerivation rec {
in ''
gappsWrapperArgs+=(
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath libs}"
# Force X11 to be used until Wayland is natively supported
# <https://github.com/cemu-project/Cemu/pull/143>
--set GDK_BACKEND x11
)
'';
passthru.updateScript = nix-update-script {
attrPath = pname;
};
meta = with lib; {
description = "Cemu is a Wii U emulator";
homepage = "https://cemu.info";