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

This commit is contained in:
Gaétan Lepage
2025-01-04 11:39:51 +01:00
committed by GitHub
+13 -15
View File
@@ -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 [
vulkan-loader
xorg.libXi
]
} \
$out/bin/shadps4
'';
runtimeDependencies = [
vulkan-loader
xorg.libXi
];
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;
};