diff options
author | B. Watson <yalhcru@gmail.com> | 2021-10-26 19:26:57 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-29 17:07:24 +0700 |
commit | 32cb34b26c7c979c82944eaeaf47cf26003436f4 (patch) | |
tree | 35cd59b90eb069ca70fb8d8323bedb9b562d257d /games/stella | |
parent | b1e728b46a082463fac7020e82f26c6ef3acec3c (diff) |
games/stella: Updated for version 6.5.3.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/stella')
-rw-r--r-- | games/stella/README | 6 | ||||
-rw-r--r-- | games/stella/stella.SlackBuild | 25 | ||||
-rw-r--r-- | games/stella/stella.info | 6 |
3 files changed, 18 insertions, 19 deletions
diff --git a/games/stella/README b/games/stella/README index a9d24f71a84f4..0272c99746e35 100644 --- a/games/stella/README +++ b/games/stella/README @@ -1,6 +1,4 @@ +stella (Atari 2600 VCS emulator) + Stella is a multi-platform Atari 2600 VCS emulator released under the GNU General Public License (GPL). - -Version note: 6.4 is the last version that can be compiled on Slackware -14.2. Do not ask for an upgrade to 6.5 or later until after Slackware -15.0 is released. diff --git a/games/stella/stella.SlackBuild b/games/stella/stella.SlackBuild index a6cd09bfef7b6..601285b238ba1 100644 --- a/games/stella/stella.SlackBuild +++ b/games/stella/stella.SlackBuild @@ -8,9 +8,12 @@ # Now maintained by B. Watson <yalhcru@gmail.com> +# 20211026 bkw: we're on -current now, so: +# - update for 6.5.3. +# - use g++ for the compile (clang++ lacks the -Weverything flag). + # 20210224 bkw: Note to self: do not attempt to upgrade past 6.4, on # Slackware 14.2. Our g++ *and* clang++ are now too old. - # 20201103 bkw: update for 6.4. # 20201027 bkw: update for 6.3. # 20200804 bkw: update for 6.2.1. @@ -53,7 +56,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=stella -VERSION=${VERSION:-6.4} +VERSION=${VERSION:-6.5.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -66,9 +69,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -103,11 +103,7 @@ cd $PRGNAM-$VERSION find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ -# 20170620 bkw: configure checks for gcc 4.7, 5.x, or 6.x. Fails on -current -# because we have 7.x. -#sed -i 's,\[5-6\],[5-9],g' configure - -CC="clang" CXX="clang++" CFLAGS="$SLKCFLAGS" \ +CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ @@ -118,7 +114,10 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-shared make -make install-strip DESTDIR=$PKG +make install DESTDIR=$PKG + +# 20211026 bkw: install-strip doesn't actually strip... +strip $PKG/usr/games/$PRGNAM mkdir -p $PKG/usr/share/pixmaps ln -s \ @@ -139,7 +138,9 @@ cat $CWD/$PRGNAM.xml > $PKG/usr/share/mime/packages/$PRGNAM.xml # add MIME type to .desktop file, and remove startup notification, # which doesn't actually work (at least not in xfce) DESKTOP=$PKG/usr/share/applications/$PRGNAM.desktop -sed -i '/^StartupNotify/s,true,false,' $DESKTOP +sed -i -e '/^StartupNotify/s,true,false,' \ + -e 's,Exec=,&/usr/games/,' \ + $DESKTOP echo 'MimeType=application/x-2600rom;' >> $DESKTOP mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/games/stella/stella.info b/games/stella/stella.info index 8afd63cecee0d..3e51b91aaf161 100644 --- a/games/stella/stella.info +++ b/games/stella/stella.info @@ -1,8 +1,8 @@ PRGNAM="stella" -VERSION="6.4" +VERSION="6.5.3" HOMEPAGE="https://stella-emu.github.io/" -DOWNLOAD="https://github.com/stella-emu/stella/releases/download/6.4/stella-6.4-src.tar.xz" -MD5SUM="a6509ba4c1c45e0d1d9b017ff3c4e545" +DOWNLOAD="https://github.com/stella-emu/stella/releases/download/6.5.3/stella-6.5.3-src.tar.xz" +MD5SUM="3c8834a80fe3bbc77854101f3f9088c0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |