diff options
author | Eugene M <damagedone@gmx.com> | 2023-09-24 11:18:59 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-09-29 10:29:26 +0700 |
commit | cbc8c38fa8aa4d72ce604764e7e051b01ec3cc9f (patch) | |
tree | f15cbdc34c32a25fac6abcf220043d0e33d132bf /games/scummvm | |
parent | c0bf1cfc216af6cd193a0d2fc23c5fd5025ceea8 (diff) |
games/scummvm: Updated for version 2.7.1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/scummvm')
-rw-r--r-- | games/scummvm/scummvm.SlackBuild | 29 | ||||
-rw-r--r-- | games/scummvm/scummvm.info | 10 |
2 files changed, 15 insertions, 24 deletions
diff --git a/games/scummvm/scummvm.SlackBuild b/games/scummvm/scummvm.SlackBuild index c17aa05fcd335..728c82f54208f 100644 --- a/games/scummvm/scummvm.SlackBuild +++ b/games/scummvm/scummvm.SlackBuild @@ -27,11 +27,13 @@ # - update icon cache in doinst.sh. # - include SlackBuild in package doc dir. +# Modified by Eugene M., <damagedone at gmx dot com> + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=scummvm -VERSION=${VERSION:-2.5.1} -BUILD=${BUILD:-2} +VERSION=${VERSION:-2.7.1} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -61,13 +63,14 @@ elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" fi -DOCS="AUTHORS COPYING* COPYRIGHT NEWS.md README.md TODO" - set -e rm -rf $PKG @@ -83,10 +86,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# 20200411 bkw: This is necessary for fluidsynth-2.x. Based on upstream's -# git commit 68758a87. -#patch -p1 < $CWD/fix-fluidsynth2-build.diff - # avoid linking breakage on i?86 if [[ $ARCH == i?86 ]]; then linker=bfd; else linker=gold; fi @@ -98,19 +97,12 @@ LDFLAGS="-fuse-ld=$linker" \ --bindir=/usr/games \ --libdir=/usr/lib$LIBDIRSUFFIX \ --mandir=/usr/man \ - --disable-debug + --disable-debug \ + --enable-release-mode make make install DESTDIR=$PKG -# The .desktop file for the menu is not being installed -install -D -m 0644 dists/scummvm.desktop \ - $PKG/usr/share/applications/scummvm.desktop - -# Hardcode the location for the .desktop icon -sed -i s%Icon=%Icon=/usr/share/pixmaps/% \ - $PKG/usr/share/applications/scummvm.desktop - strip --strip-unneeded $PKG/usr/games/scummvm 2> /dev/null # Compress the man page(s) @@ -120,9 +112,8 @@ strip --strip-unneeded $PKG/usr/games/scummvm 2> /dev/null ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING* COPYRIGHT NEWS.md README.md TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -# We don't need these - they're redundant rm -rf $PKG/usr/share/doc mkdir -p $PKG/install diff --git a/games/scummvm/scummvm.info b/games/scummvm/scummvm.info index 5f4b94a939124..75ca03f8ece78 100644 --- a/games/scummvm/scummvm.info +++ b/games/scummvm/scummvm.info @@ -1,10 +1,10 @@ PRGNAM="scummvm" -VERSION="2.5.1" +VERSION="2.7.1" HOMEPAGE="https://www.scummvm.org/" -DOWNLOAD="https://downloads.scummvm.org/frs/scummvm/2.5.1/scummvm-2.5.1.tar.xz" -MD5SUM="79f7541e404f575a37bfa6be448c4046" +DOWNLOAD="https://downloads.scummvm.org/frs/scummvm/2.7.1/scummvm-2.7.1.tar.xz" +MD5SUM="24275e3caa26b9dc0d21020411db77c9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Carlos Corbacho" -EMAIL="carlos@strangeworlds.co.uk" +MAINTAINER="Eugene M." +EMAIL="damagedone@gmx.com" |