From 1f9783a39bf7f1d90bd0f5cee9a56d3865be397a Mon Sep 17 00:00:00 2001 From: Zane van Iperen Date: Sun, 24 Oct 2021 22:04:52 +1000 Subject: [PATCH 1/2] wolfssl: add --enable-writedup configure flag Required for RPCS3. --- pkgs/development/libraries/wolfssl/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/wolfssl/default.nix b/pkgs/development/libraries/wolfssl/default.nix index d696961a4eb0..29ad55cacd3a 100644 --- a/pkgs/development/libraries/wolfssl/default.nix +++ b/pkgs/development/libraries/wolfssl/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { "--enable-all" "--enable-base64encode" "--enable-pkcs11" + "--enable-writedup" "--enable-reproducible-build" "--enable-tls13" ]; From 659e4b7457a7b5056261c9266061b0c5f2544744 Mon Sep 17 00:00:00 2001 From: Zane van Iperen Date: Tue, 2 Nov 2021 19:42:13 +1000 Subject: [PATCH 2/2] rpcs3: 0.0.16-12235-a4f4b81e6 -> 0.0.19-12975-37383f421 * De-vendor FAudio, WolfSSL, pugixml, and flatbuffers * Add update script * Add myself as maintainer --- pkgs/misc/emulators/rpcs3/default.nix | 32 ++++++++------- pkgs/misc/emulators/rpcs3/update.sh | 56 +++++++++++++++++++++++++++ 2 files changed, 74 insertions(+), 14 deletions(-) create mode 100755 pkgs/misc/emulators/rpcs3/update.sh diff --git a/pkgs/misc/emulators/rpcs3/default.nix b/pkgs/misc/emulators/rpcs3/default.nix index bf1dc1c95732..25a6d6befad1 100644 --- a/pkgs/misc/emulators/rpcs3/default.nix +++ b/pkgs/misc/emulators/rpcs3/default.nix @@ -1,6 +1,6 @@ -{ mkDerivation, lib, fetchFromGitHub, cmake, pkg-config, git -, qtbase, qtquickcontrols, openal, glew, vulkan-headers, vulkan-loader, libpng -, ffmpeg, libevdev, libusb1, zlib, curl, python3 +{ gcc11Stdenv, lib, fetchFromGitHub, wrapQtAppsHook, cmake, pkg-config, git +, qtbase, qtquickcontrols, qtmultimedia, openal, glew, vulkan-headers, vulkan-loader, libpng +, ffmpeg, libevdev, libusb1, zlib, curl, wolfssl, python3, pugixml, faudio, flatbuffers , sdl2Support ? true, SDL2 , pulseaudioSupport ? true, libpulseaudio , waylandSupport ? true, wayland @@ -8,21 +8,23 @@ }: let - majorVersion = "0.0.16"; - gitVersion = "12235-a4f4b81e6"; # echo $(git rev-list HEAD --count)-$(git rev-parse --short HEAD) + majorVersion = "0.0.19"; + gitVersion = "12975-37383f421"; in -mkDerivation { +gcc11Stdenv.mkDerivation { pname = "rpcs3"; version = "${majorVersion}-${gitVersion}"; src = fetchFromGitHub { owner = "RPCS3"; repo = "rpcs3"; - rev = "a4f4b81e6b0c00f4c30f9f5f182e5fe56f9fb03c"; + rev = "37383f4217e1c510a543e100d0ca495800b3361a"; fetchSubmodules = true; - sha256 = "1d70nljl1kmpbk50jpjki7dglw1bbxd7x4qzg6nz5np2sdsbpckd"; + sha256 = "1pm1r4j4cdcmr8xmslyv2n6iwcjldnr396by4r6lgf4mdlnwahhm"; }; + passthru.updateScript = ./update.sh; + preConfigure = '' cat > ./rpcs3/git-version.h <