diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/mgba/README | 7 | ||||
-rw-r--r-- | games/mgba/mgba.SlackBuild | 19 | ||||
-rw-r--r-- | games/mgba/mgba.info | 14 |
3 files changed, 24 insertions, 16 deletions
diff --git a/games/mgba/README b/games/mgba/README index 397c41f49c806..dfcff1ec60f28 100644 --- a/games/mgba/README +++ b/games/mgba/README @@ -2,8 +2,8 @@ mGBA is an emulator for running Game Boy Advance games. It aims to be faster and more accurate than many existing Game Boy Advance emulators, as well as adding features that other emulators lack. -This build both the standalone application and the Libretro core (for use with -RetroArch). +This build both the standalone application and the Libretro core (for +use with RetroArch). The following optional dependencies will be automatically detected. @@ -11,6 +11,7 @@ The following optional dependencies will be automatically detected. * libedit (for the command-line debugger) * ffmpeg -If you have Qt 5, then you can build the standalone application with a GUI: +If you have Qt 5, then you can build the standalone application with a +GUI: QT=on ./mGBA.SlackBuild diff --git a/games/mgba/mgba.SlackBuild b/games/mgba/mgba.SlackBuild index c4edefe1b8e64..bf31fdb0d0e55 100644 --- a/games/mgba/mgba.SlackBuild +++ b/games/mgba/mgba.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for mgba # Copyright 2015 Dugan Chen Canada +# Copyright 2019-2020 Ruoh-Shoei LIN # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,8 +25,8 @@ PRGNAM=mgba LIBNAM=${PRGNAM}_libretro -VERSION=${VERSION:-0.6.3} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.8.1} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -64,7 +65,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -91,8 +92,13 @@ cd build make install DESTDIR=$PKG cd .. -install -Dm0644 $CWD/$LIBNAM.info \ - $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info/$LIBNAM.info +if [ -d /usr/lib${LIBDIRSUFFIX}/libretro ]; then + (echo "=== Building libretro core" + install -Dm0644 $CWD/$LIBNAM.info \ + $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info/$LIBNAM.info) +else + echo "=== NOT building libretro core" +fi 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 @@ -101,7 +107,8 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGES LICENSE *.md $PKG/usr/doc/$PRGNAM-$VERSION +cp CHANGES LICENSE ONTRIBUTING.md PORTING.md README.md README_DE.md \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/games/mgba/mgba.info b/games/mgba/mgba.info index 7baf81b7df34d..e6e349b144978 100644 --- a/games/mgba/mgba.info +++ b/games/mgba/mgba.info @@ -1,12 +1,12 @@ PRGNAM="mgba" -VERSION="0.6.3" +VERSION="0.8.1" HOMEPAGE="https://mgba.io/" -DOWNLOAD="https://github.com/mgba-emu/mgba/archive/0.6.3/mgba-0.6.3.tar.gz \ - https://raw.githubusercontent.com/libretro/libretro-super/4eced73/dist/info/mgba_libretro.info" -MD5SUM="5e46c98c6321941499c44f88b2001d9b \ - cf3a49852fb5f5af22dc8a1b1a26feac" +DOWNLOAD="https://github.com/mgba-emu/mgba/archive/0.8.1/mgba-0.8.1.tar.gz \ + https://github.com/libretro/libretro-super/raw/master/dist/info/mgba_libretro.info" +MD5SUM="ac438d2769b47dee4ce245281d11b959 \ + ca0d63ca40183c9e28bf336f63e84492" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Dugan Chen" -EMAIL="thedoogster [at] gmail [dot] com" +MAINTAINER="Ruoh-Shoei LIN" +EMAIL="lin[dot]ruohshoei [at] gmail [dot] com" |