diff options
-rw-r--r-- | games/mednaffe/README | 5 | ||||
-rw-r--r-- | games/mednaffe/mednaffe.SlackBuild | 20 | ||||
-rw-r--r-- | games/mednaffe/mednaffe.info | 6 | ||||
-rw-r--r-- | games/mednaffe/slack-desc | 2 |
4 files changed, 12 insertions, 21 deletions
diff --git a/games/mednaffe/README b/games/mednaffe/README index ffa06d8dde..720c516061 100644 --- a/games/mednaffe/README +++ b/games/mednaffe/README @@ -6,10 +6,7 @@ Its main features are: * It is written in C. * Available for Linux and Windows. - * The only dependency is GTK+2 (or GTK+3). + * The only dependency is GTK+3. * GPLv3 licensed. Note: Mednaffe only works with 1.21.1 or higher versions of mednafen. - -By default, mednaffe is built with GTK+2. If you prefer GTK+3, export -GTK3=yes in the script's environment. diff --git a/games/mednaffe/mednaffe.SlackBuild b/games/mednaffe/mednaffe.SlackBuild index 21f1dfe683..b0063819fb 100644 --- a/games/mednaffe/mednaffe.SlackBuild +++ b/games/mednaffe/mednaffe.SlackBuild @@ -6,8 +6,11 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20210222 bkw: update for v0.9.1. Upstream dropped support for GTK+2, +# so got rid of GTKVER environment variable. + PRGNAM=mednaffe -VERSION=${VERSION:-0.8.8} +VERSION=${VERSION:-0.9.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -50,19 +53,10 @@ chown -R root:root . find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ -if [ "${GTK3:-no}" = "yes" ]; then - GTKOPT="--enable-gtk3" - GTKVER=3 -else - GTKOPT="--disable-gtk3" - GTKVER=2 -fi - -# --docdir is ignored, have to use nonstandard docsdir in make install. CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ - $GTKOPT \ + --docdir="/usr/doc/$PRGNAM-$VERSION" \ --bindir=/usr/games \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -72,13 +66,13 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make -make install-strip DESTDIR=$PKG docsdir="/usr/doc/$PRGNAM-$VERSION" +make install-strip DESTDIR=$PKG # docs already installed, just add this: cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install -sed "s,@GTKVER@,$GTKVER," $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG diff --git a/games/mednaffe/mednaffe.info b/games/mednaffe/mednaffe.info index 5bb00ceed2..280e2cc7c2 100644 --- a/games/mednaffe/mednaffe.info +++ b/games/mednaffe/mednaffe.info @@ -1,8 +1,8 @@ PRGNAM="mednaffe" -VERSION="0.8.8" +VERSION="0.9.1" HOMEPAGE="https://github.com/AmatCoder/mednaffe" -DOWNLOAD="https://github.com/AmatCoder/mednaffe/releases/download/0.8.8/mednaffe-0.8.8.tar.gz" -MD5SUM="8beab613db597d53bcc8cd4e62f281eb" +DOWNLOAD="https://github.com/AmatCoder/mednaffe/releases/download/0.9.1/mednaffe-0.9.1.tar.gz" +MD5SUM="45e094397c227fc018a1e0f758fd139b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/games/mednaffe/slack-desc b/games/mednaffe/slack-desc index 3d6e3a71bf..9815a8a62b 100644 --- a/games/mednaffe/slack-desc +++ b/games/mednaffe/slack-desc @@ -10,7 +10,7 @@ mednaffe: mednaffe (frontend for mednafen) mednaffe: mednaffe: Mednaffe is a GUI front-end for the mednafen emulator. mednaffe: -mednaffe: This package was built with GTK+@GTKVER@. +mednaffe: mednaffe: mednaffe: mednaffe: |