Unverified Commit bbc89727 authored by Zhaofeng Li's avatar Zhaofeng Li Committed by GitHub
Browse files

cemu: 2.0-13 -> 2.0-17 (#201077)

parent 258bc7b0
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -28,13 +28,13 @@

stdenv.mkDerivation rec {
  pname = "cemu";
  version = "2.0-13";
  version = "2.0-17";

  src = fetchFromGitHub {
    owner = "cemu-project";
    repo = "Cemu";
    rev = "v${version}";
    hash = "sha256-0yomEJoXMKZV2PAjINegSvtDB6gbYxQ6XcXA60/ZkEM=";
    hash = "sha256-ryFph55o7s3eiqQ8kx5+3Et5S2U9H5i3fmZTc1CaCnA=";
  };

  patches = [
@@ -106,7 +106,13 @@ stdenv.mkDerivation rec {
  preFixup = let
    libs = [ vulkan-loader ] ++ cubeb.passthru.backendLibs;
  in ''
    gappsWrapperArgs+=(--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath libs}")
    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
    )
  '';

  meta = with lib; {