diff options
| author | Thiago Kenji Okada <thiagokokada@gmail.com> | 2021-12-07 19:54:42 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-07 19:54:42 -0300 |
| commit | edee910cc9707bbe646724c76fd5e6878ecd5d54 (patch) | |
| tree | da54cac6f2efe9e0be59139cb84eea3c64e3aa31 | |
| parent | Merge pull request #149452 from NixOS/backport-149438-to-release-21.11 (diff) | |
| parent | pcsx2: build with wayland support (diff) | |
| download | nixpkgs-edee910cc9707bbe646724c76fd5e6878ecd5d54.tar.gz | |
Merge pull request #149464 from NixOS/backport-149445-to-release-21.11
[Backport release-21.11] pcsx2: 2021-10-28 -> 1.7.2105 & wayland support
| -rw-r--r-- | pkgs/misc/emulators/pcsx2/default.nix | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/pkgs/misc/emulators/pcsx2/default.nix b/pkgs/misc/emulators/pcsx2/default.nix index 4246240463ee..2e22e7d9053a 100644 --- a/pkgs/misc/emulators/pcsx2/default.nix +++ b/pkgs/misc/emulators/pcsx2/default.nix @@ -6,6 +6,7 @@ , glib , gtk3 , harfbuzz +, lib , libaio , libpcap , libpng @@ -17,29 +18,31 @@ , portaudio , SDL2 , soundtouch -, lib, stdenv +, stdenv , udev , wrapGAppsHook , wxGTK , zlib +, wayland }: -stdenv.mkDerivation { +stdenv.mkDerivation rec { pname = "pcsx2"; - version = "unstable-2021-10-28"; + version = "1.7.2105"; src = fetchFromGitHub { owner = "PCSX2"; repo = "pcsx2"; fetchSubmodules = true; - rev = "52eab493591137d830b45337e04c75ff525a31f9"; - sha256 = "RhAo5Fob8G16jzb9MOAS43vwTkFzf5XupymN0dzeGJU="; + rev = "v${version}"; + hash = "sha256-/A8u7oDIVs0Zmne0ebaXxOeIQbM9pr62KEH6FJR2umk="; }; cmakeFlags = [ "-DDISABLE_ADVANCE_SIMD=TRUE" "-DDISABLE_PCSX2_WRAPPER=TRUE" "-DPACKAGE_MODE=TRUE" + "-DWAYLAND_API=TRUE" "-DXDG_STD=TRUE" ]; @@ -62,13 +65,14 @@ stdenv.mkDerivation { SDL2 soundtouch udev + wayland wxGTK zlib ]; meta = with lib; { description = "Playstation 2 emulator"; - longDescription= '' + longDescription = '' PCSX2 is an open-source PlayStation 2 (AKA PS2) emulator. Its purpose is to emulate the PS2 hardware, using a combination of MIPS CPU Interpreters, Recompilers and a Virtual Machine which manages hardware |
