Unverified Commit ae6f5e06 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

shadps4: 0.4.0-unstable-2024-12-23 > 0.5.0-unstable-2025-01-02 (#369750)

parents 450382bd 676d6e03
Loading
Loading
Loading
Loading
+13 −15
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
  libunwind,
  libusb1,
  magic-enum,
  libgbm,
  mesa,
  pkg-config,
  pugixml,
  qt6,
@@ -37,13 +37,13 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "shadps4";
  version = "0.4.0-unstable-2024-12-23";
  version = "0.5.0-unstable-2025-01-02";

  src = fetchFromGitHub {
    owner = "shadps4-emu";
    repo = "shadPS4";
    rev = "c2e9c877dd82e9bf79c8ede7bc8cffb591a31c76";
    hash = "sha256-6LmNLH5Fy+9AYDXLh/YFThs3EUgA6gnmUEvBltkUQig=";
    rev = "596f4cdf0e66a97c9d2d4272091d8c0167a5b8e1";
    hash = "sha256-apwAl8TCzSKchqYGHV0UsMSGErF4GgiwhlwmOPWpeLs=";
    fetchSubmodules = true;
  };

@@ -68,7 +68,7 @@ stdenv.mkDerivation (finalAttrs: {
    xorg.libX11
    xorg.libXext
    magic-enum
    libgbm
    mesa
    pugixml
    qt6.qtbase
    qt6.qtdeclarative
@@ -113,15 +113,10 @@ stdenv.mkDerivation (finalAttrs: {
    runHook postInstall
  '';

  fixupPhase = ''
    patchelf --add-rpath ${
      lib.makeLibraryPath [
  runtimeDependencies = [
    vulkan-loader
    xorg.libXi
      ]
    } \
      $out/bin/shadps4
  '';
  ];

  passthru = {
    tests.openorbis-example = nixosTests.shadps4;
@@ -135,7 +130,10 @@ stdenv.mkDerivation (finalAttrs: {
    description = "Early in development PS4 emulator";
    homepage = "https://github.com/shadps4-emu/shadPS4";
    license = lib.licenses.gpl2Plus;
    maintainers = with lib.maintainers; [ ryand56 ];
    maintainers = with lib.maintainers; [
      ryand56
      liberodark
    ];
    mainProgram = "shadps4";
    platforms = lib.intersectLists lib.platforms.linux lib.platforms.x86_64;
  };