summaryrefslogtreecommitdiff
path: root/games/dolphin-emu/dolphin-emu.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/dolphin-emu/dolphin-emu.SlackBuild')
-rw-r--r--games/dolphin-emu/dolphin-emu.SlackBuild15
1 files changed, 12 insertions, 3 deletions
diff --git a/games/dolphin-emu/dolphin-emu.SlackBuild b/games/dolphin-emu/dolphin-emu.SlackBuild
index 11f291c226..059d3d0056 100644
--- a/games/dolphin-emu/dolphin-emu.SlackBuild
+++ b/games/dolphin-emu/dolphin-emu.SlackBuild
@@ -27,12 +27,15 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dolphin-emu
SRCNAM=dolphin
-VERSION=${VERSION:-20220903_1088021}
-SRCVER=${SRCVER:-1088021e39750c22ba622ab9e5065ffc32cb0e39}
+VERSION=${VERSION:-5.0.17738}
+SRCVER=${SRCVER:-5ee7a555887f4365c61f99aa18a29ff822e4b8d8}
LIBSPNG=${LIBSPNG:-dc5b1032c08efac68ad30170f7ccbf0aa8dd55c9}
MGBA=${MGBA:-40d4c430fc36caeb7ea32fd39624947ed487d2f2}
SPIRVCROSS=${SPIRVCROSS:-50b4d5389b6a06f86fb63a2848e1a7da6d9755ca}
-ZLIBNG=${ZLIBNG:-a406284705a462939c7a634119884a31b87d6af9}
+VULKANMEMORYALLOCATOR=${VULKANMEMORYALLOCATOR:-c351692490513cdb0e5a2c925aaf7ea4a9b672f4}
+ZLIBNG=${ZLIBNG:-ce01b1e41da298334f8214389cc9369540a7560f}
+ANALYTICS=${ANALYTICS:-ON}
+DISCORD=${DISCORD:-OFF}
USEMGBA=${USEMGBA:-ON}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -80,6 +83,8 @@ tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz
tar xvf $CWD/SPIRV-Cross-$SPIRVCROSS.tar.gz -C \
$DEPS/spirv_cross/SPIRV-Cross --strip-components 1
+tar xvf $CWD/VulkanMemoryAllocator-$VULKANMEMORYALLOCATOR.tar.gz -C \
+ $DEPS/VulkanMemoryAllocator --strip-components 1
tar xvf $CWD/libspng-$LIBSPNG.tar.gz -C \
$DEPS/libspng/libspng --strip-components 1
if [ ${USEMGBA} = "ON" ]; then
@@ -106,7 +111,11 @@ cd build
-DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \
-Dmandir=/usr/man \
-DDISTRIBUTOR=SlackBuilds.org \
+ -DENABLE_ANALYTICS=$ANALYTICS \
+ -DENABLE_LTO=ON \
-DENABLE_SDL=ON \
+ -DENABLE_TESTS=OFF \
+ -DUSE_DISCORD_PRESENCE=$DISCORD \
-DUSE_MGBA=$USEMGBA \
-DCMAKE_BUILD_TYPE=Release ..
make