aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorSteven Voges <svoges.sbo@gmail.com>2022-10-28 07:55:02 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-10-29 10:28:38 +0700
commit82592f7509788ef773a33b186c59c924d80feeda (patch)
tree3cc46247d1a1f830fe5c4d1c41d273f612adee12 /games
parentce50767fb93d8bcc52fe7d3607209e939e8a2db3 (diff)
games/pcsx2: Updated for version 1.7.3492.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/pcsx2/README6
-rw-r--r--games/pcsx2/pcsx2.SlackBuild20
-rw-r--r--games/pcsx2/pcsx2.info12
3 files changed, 20 insertions, 18 deletions
diff --git a/games/pcsx2/README b/games/pcsx2/README
index 568e8ae7e075..9be6dba23157 100644
--- a/games/pcsx2/README
+++ b/games/pcsx2/README
@@ -3,3 +3,9 @@ purpose is to emulate the PS2's hardware, using a combination of MIPS
CPU Interpreters, Recompilers and a Virtual Machine which manages
hardware states and PS2 system memory. This allows you to play PS2
games on your PC, with many additional features and benefits.
+
+RetroAchievements are enabled by default, to disable this
+functionality, pass ACHIEVEMENTS=OFF to the build script.
+
+Discord Rich Presence is disabled by default, to enable Discord
+functionality, pass DISCORD=ON to the build script.
diff --git a/games/pcsx2/pcsx2.SlackBuild b/games/pcsx2/pcsx2.SlackBuild
index 17e1e7125960..a9e3da5fbd12 100644
--- a/games/pcsx2/pcsx2.SlackBuild
+++ b/games/pcsx2/pcsx2.SlackBuild
@@ -25,13 +25,14 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pcsx2
-VERSION=${VERSION:-20220908_4707c02}
-SRCVER=${SRCVER:-4707c02a3439107c83293689d3ab9aa251cdccfc}
-CUBEB=${CUBEB:-dc511c6b3597b6384d28949285b9289e009830ea}
+VERSION=${VERSION:-1.7.3492}
+COMMIT=$(echo $VERSION | cut -c 5-)
+SRCVER=${SRCVER:-6ad98e2c70d1f1e18f09a9b752ace427693f3da3}
GLSLANG=${GLSLANG:-c9706bdda0ac22b9856f1aa8261e5b9e15cd20c5}
-IMGUI=${IMGUI:-60bea052a92cbb4a93b221002fdf04f0da3698e1}
LIBCHDR=${LIBCHDR:-5de1a59019815ccdbba0fe07c71b31406d023248}
VULKANHEADERS=${VULKANHEADERS:-9f4c61a31435a7a90a314fc68aeb386c92a09c0f}
+ACHIEVEMENTS=$ACHIEVEMENTS=:-ON}
+DISCORD=${DISCORD:-OFF}
QT=${QT:-OFF}
WAYLAND=${WAYLAND:-ON}
BUILD=${BUILD:-1}
@@ -79,17 +80,16 @@ rm -rf $PRGNAM-$SRCVER
tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
cd $PRGNAM-$SRCVER
-tar xvf $CWD/cubeb-$CUBEB.tar.gz -C \
- $DEPS/cubeb/cubeb --strip-components 1
tar xvf $CWD/glslang-$GLSLANG.tar.gz -C \
$DEPS/glslang/glslang --strip-components 1
-tar xvf $CWD/imgui-$IMGUI.tar.gz -C \
- $DEPS/imgui/imgui --strip-components 1
tar xvf $CWD/libchdr-$LIBCHDR.tar.gz -C \
$DEPS/libchdr/libchdr --strip-components 1
tar xvf $CWD/Vulkan-Headers-$VULKANHEADERS.tar.gz -C \
$DEPS/vulkan-headers --strip-components 1
+sed -i "s/#define PCSX2_VersionLo 0/#define PCSX2_VersionLo ${COMMIT}/g" \
+ pcsx2/SysForwardDefs.h
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -105,14 +105,14 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_STRIP=ON \
- -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON \
-DDISABLE_PCSX2_WRAPPER=ON \
-DDISABLE_SETCAP=ON \
-DENABLE_TESTS=OFF \
-DPACKAGE_MODE=ON \
-DQT_BUILD=$QT \
- -DSDL2_API=TRUE \
+ -DUSE_DISCORD_PRESENCE=$DISCORD \
-DUSE_SYSTEM_LIBS=ON \
+ -DUSE_VULKAN=ON \
-DWAYLAND_API=$WAYLAND \
-DXDG_STD=ON \
-DCMAKE_BUILD_TYPE=Release ..
diff --git a/games/pcsx2/pcsx2.info b/games/pcsx2/pcsx2.info
index 20bca833310a..4ac53f139b5c 100644
--- a/games/pcsx2/pcsx2.info
+++ b/games/pcsx2/pcsx2.info
@@ -1,20 +1,16 @@
PRGNAM="pcsx2"
-VERSION="20220908_4707c02"
+VERSION="1.7.3492"
HOMEPAGE="https://pcsx2.net"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/PCSX2/pcsx2/archive/4707c02a3439107c83293689d3ab9aa251cdccfc/pcsx2-4707c02a3439107c83293689d3ab9aa251cdccfc.tar.gz \
+DOWNLOAD_x86_64="https://github.com/PCSX2/pcsx2/archive/6ad98e2c70d1f1e18f09a9b752ace427693f3da3/pcsx2-6ad98e2c70d1f1e18f09a9b752ace427693f3da3.tar.gz \
https://github.com/KhronosGroup/Vulkan-Headers/archive/9f4c61a31435a7a90a314fc68aeb386c92a09c0f/Vulkan-Headers-9f4c61a31435a7a90a314fc68aeb386c92a09c0f.tar.gz \
- https://github.com/mozilla/cubeb/archive/dc511c6b3597b6384d28949285b9289e009830ea/cubeb-dc511c6b3597b6384d28949285b9289e009830ea.tar.gz \
https://github.com/KhronosGroup/glslang/archive/c9706bdda0ac22b9856f1aa8261e5b9e15cd20c5/glslang-c9706bdda0ac22b9856f1aa8261e5b9e15cd20c5.tar.gz \
- https://github.com/ocornut/imgui/archive/60bea052a92cbb4a93b221002fdf04f0da3698e1/imgui-60bea052a92cbb4a93b221002fdf04f0da3698e1.tar.gz \
https://github.com/rtissera/libchdr/archive/5de1a59019815ccdbba0fe07c71b31406d023248/libchdr-5de1a59019815ccdbba0fe07c71b31406d023248.tar.gz"
-MD5SUM_x86_64="57f94444a123c8e092591fbadc4549e7 \
+MD5SUM_x86_64="ca0e7f50c36be96461238306480801b7 \
d3ccd22b8486dae09a44462b2f06b7e8 \
- 5a40e81e1d6b2438c9b618ffcb679430 \
e2f744abeca9a55aa7e49e652a983ebd \
- 4a8b4d4183604ed7d2c6c22624e2efaf \
fc702efac9ba601156c27f7fc7055f98"
-REQUIRES="fmt rapidyaml soundtouch wxWidgets zstd-cmake"
+REQUIRES="fast_float fmt rapidyaml soundtouch wxWidgets zstd-cmake"
MAINTAINER="Steven Voges"
EMAIL="svoges.sbo@gmail.com"