summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author philipvdh <philip@vd-hoeven.nl>2024-10-16 21:55:02 +0200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-10-20 07:53:52 +0700
commit8d3461afe1f785d2cec72a63a2659ca179858623 (patch)
treee79dce449096bbda8aa107b7da156d5c97f103ce
parentb674d0bc7eccc7d0f25683660caebd0ad82928d5 (diff)
downloadslackbuilds-8d3461afe1f785d2cec72a63a2659ca179858623.tar.gz
slackbuilds-8d3461afe1f785d2cec72a63a2659ca179858623.tar.xz
games/openmsx: Updated for version 20.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to '')
-rwxr-xr-x[-rw-r--r--]games/openmsx/openmsx.SlackBuild8
-rw-r--r--games/openmsx/openmsx.info6
2 files changed, 9 insertions, 5 deletions
diff --git a/games/openmsx/openmsx.SlackBuild b/games/openmsx/openmsx.SlackBuild
index 008d8b8447..19f1325caa 100644..100755
--- a/games/openmsx/openmsx.SlackBuild
+++ b/games/openmsx/openmsx.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=openmsx
-VERSION=${VERSION:-19.1}
+VERSION=${VERSION:-20.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -95,7 +95,7 @@ make install DESTDIR=$PKG
cd Contrib/dmk
for DMKTOOL in analyze-dmk combine-dmk der2dmk dsk2dmk empty-dmk svi2dmk svicpm2dmk; do
echo "Building $DMKTOOL"
- g++ -std=c++11 $SLKCFLAGS -o $DMKTOOL $DMKTOOL.cc
+ g++ -std=c++20 $SLKCFLAGS -o $DMKTOOL $DMKTOOL.cc
cp $DMKTOOL $PKG/usr/bin
chmod 755 $PKG/usr/bin/$DMKTOOL
done
@@ -104,6 +104,10 @@ cd ../..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+mkdir -p $PKG/usr/share/bash-completion/completions
+install -D -m0644 Contrib/$PRGNAM-complete.bash \
+ $PKG/usr/share/bash-completion/completions/$PRGNAM
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README doc/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/games/openmsx/openmsx.info b/games/openmsx/openmsx.info
index 89ff3bddc8..f326222737 100644
--- a/games/openmsx/openmsx.info
+++ b/games/openmsx/openmsx.info
@@ -1,8 +1,8 @@
PRGNAM="openmsx"
-VERSION="19.1"
+VERSION="20.0"
HOMEPAGE="http://openmsx.org/"
-DOWNLOAD="https://github.com/openMSX/openMSX/releases/download/RELEASE_19_1/openmsx-19.1.tar.gz"
-MD5SUM="20d7eae3544f5c3d1cc1034712df0b4b"
+DOWNLOAD="https://github.com/openMSX/openMSX/releases/download/RELEASE_20_0/openmsx-20.0.tar.gz"
+MD5SUM="baa9eb5e84a7b3114a8a62d969197455"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""