aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-09-25 21:39:11 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-09-28 06:54:29 +0700
commiteef07d366fb16ee65000a707f255fb9d04abad86 (patch)
treec371b05d26631a14e5bc9b933b0d6905a6f69937 /games
parent159bf3349c473151f748e0316206f3e0493954eb (diff)
games/vbam: Updated for version 2.1.11.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/vbam/vbam.SlackBuild24
-rw-r--r--games/vbam/vbam.info6
2 files changed, 15 insertions, 15 deletions
diff --git a/games/vbam/vbam.SlackBuild b/games/vbam/vbam.SlackBuild
index 975d4f5837a2..cc59633d9226 100644
--- a/games/vbam/vbam.SlackBuild
+++ b/games/vbam/vbam.SlackBuild
@@ -9,6 +9,10 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20240925 bkw:
+# - update for v2.1.11.
+# - disable x86 asm optimizations (broken for now).
+
# 20240215 bkw: update for v2.1.9.
# 20231219 bkw: *finally* update, for v2.1.8.
@@ -63,7 +67,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=vbam
-VERSION=${VERSION:-2.1.9}
+VERSION=${VERSION:-2.1.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -91,11 +95,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
- ASM=ON # x86 ASM optimizations are available.
+ #ASM=ON # x86 ASM optimizations are available (but currently broken)
+ ASM=OFF
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
- ASM=ON
+ #ASM=ON
+ ASM=OFF
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
@@ -183,20 +189,14 @@ cd build
-DENABLE_LIRC=$LIRCOPT \
-DCMAKE_EXE_LINKER_FLAGS="-fuse-ld=gold" \
-DCMAKE_SHARED_LINKER_FLAGS="-fuse-ld=gold" \
+ -DCMAKE_INSTALL_BINDIR=games \
+ -DCMAKE_INSTALL_MANDIR=man \
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc \
-DCMAKE_BUILD_TYPE=Release ..
make VERBOSE=1
- sed -i \
- -e 's,/usr/share/man,/usr/man,g' \
- -e 's,/usr/bin,/usr/games,g' \
- cmake_install.cmake
make install DESTDIR=$PKG
cd ..
-# 20230107 bkw: this gets installed in the wrong place in 2.1.5.
-[ -e $PKG/usr/bin/$SRCNAM ] && \
- mv $PKG/usr/bin/$SRCNAM $PKG/usr/games && \
- rmdir $PKG/usr/bin
-
strip $PKG/usr/games/*
gzip $PKG/usr/man/man6/*.6
diff --git a/games/vbam/vbam.info b/games/vbam/vbam.info
index 43596850d88d..d79928c676c8 100644
--- a/games/vbam/vbam.info
+++ b/games/vbam/vbam.info
@@ -1,8 +1,8 @@
PRGNAM="vbam"
-VERSION="2.1.9"
+VERSION="2.1.11"
HOMEPAGE="http://vba-m.com/"
-DOWNLOAD="https://github.com/visualboyadvance-m/visualboyadvance-m/archive/v2.1.9/visualboyadvance-m-2.1.9.tar.gz"
-MD5SUM="ef7116e57f912a5bc07a318f25a5d3e9"
+DOWNLOAD="https://github.com/visualboyadvance-m/visualboyadvance-m/archive/v2.1.11/visualboyadvance-m-2.1.11.tar.gz"
+MD5SUM="21e583019aa72b14528a00f3d3c832d2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""