games/mgba: Updated for version 0.8.2

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Ruoh-Shoei LIN 2020-07-15 20:25:43 +00:00 committed by Willy Sudiarto Raharjo
parent 5d366d7ae0
commit 1f3018296d
3 changed files with 7 additions and 17 deletions

View file

@ -2,14 +2,12 @@ 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).
The following optional dependencies will be automatically detected.
* SDL2
* libedit (for the command-line debugger)
* ffmpeg
* Qt5
If you have Qt 5, then you can build the standalone application with a
GUI:

View file

@ -24,9 +24,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mgba
LIBNAM=${PRGNAM}_libretro
VERSION=${VERSION:-0.8.1}
BUILD=${BUILD:-2}
VERSION=${VERSION:-0.8.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -83,19 +82,14 @@ cd build
-DCMAKE_INSTALL_BINDIR=games \
-DCMAKE_INSTALL_DOCDIR=doc/$PRGNAM-$VERSION \
-DCMAKE_INSTALL_LIBDIR:PATH=lib$LIBDIRSUFFIX \
-DLIBRETRO_LIBDIR=/usr/lib$LIBDIRSUFFIX/libretro \
-DMANDIR=man \
-DUSE_LIBZIP=OFF \
-DBUILD_QT=${QT} \
-DBUILD_LIBRETRO=ON \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
cd ..
# install libretro info file
install -Dm0644 $CWD/$LIBNAM.info \
$PKG/usr/lib${LIBDIRSUFFIX}/libretro/info/$LIBNAM.info
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

View file

@ -1,10 +1,8 @@
PRGNAM="mgba"
VERSION="0.8.1"
VERSION="0.8.2"
HOMEPAGE="https://mgba.io/"
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="https://github.com/mgba-emu/mgba/archive/0.8.2/mgba-0.8.2.tar.gz"
MD5SUM="6098a51e67551c6083af634aabbdfad8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""