From 8d3461afe1f785d2cec72a63a2659ca179858623 Mon Sep 17 00:00:00 2001 From: philipvdh Date: Wed, 16 Oct 2024 21:55:02 +0200 Subject: games/openmsx: Updated for version 20.0 Signed-off-by: Willy Sudiarto Raharjo --- games/openmsx/openmsx.SlackBuild | 8 ++++++-- games/openmsx/openmsx.info | 6 +++--- 2 files changed, 9 insertions(+), 5 deletions(-) mode change 100644 => 100755 games/openmsx/openmsx.SlackBuild diff --git a/games/openmsx/openmsx.SlackBuild b/games/openmsx/openmsx.SlackBuild old mode 100644 new mode 100755 index 008d8b84477c..19f1325caa49 --- 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 89ff3bddc823..f326222737d8 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="" -- cgit v1.2.3