summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorRuoh-Shoei LIN <56530472+LinRs@users.noreply.github.com>2020-07-15 20:25:43 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-09-02 15:03:53 +0700
commit1f3018296dca78e4e089d68ced8e9001fa289339 (patch)
tree9cf33452967ddafbfddcfb8e0770a654b784fb59 /games
parent5d366d7ae00543ced4809e103066f356e2274fac (diff)
downloadslackbuilds-1f3018296dca78e4e089d68ced8e9001fa289339.tar.gz
games/mgba: Updated for version 0.8.2
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/mgba/README4
-rw-r--r--games/mgba/mgba.SlackBuild12
-rw-r--r--games/mgba/mgba.info8
3 files changed, 7 insertions, 17 deletions
diff --git a/games/mgba/README b/games/mgba/README
index dfcff1ec60..20c471d19e 100644
--- a/games/mgba/README
+++ b/games/mgba/README
@@ -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:
diff --git a/games/mgba/mgba.SlackBuild b/games/mgba/mgba.SlackBuild
index c92e6edb3b..6b51b2be86 100644
--- a/games/mgba/mgba.SlackBuild
+++ b/games/mgba/mgba.SlackBuild
@@ -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
diff --git a/games/mgba/mgba.info b/games/mgba/mgba.info
index e6e349b144..f5885d08c8 100644
--- a/games/mgba/mgba.info
+++ b/games/mgba/mgba.info
@@ -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=""