mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
games/mgba: Updated for version 0.3.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
2bc1975fb7
commit
f6fc084127
3 changed files with 19 additions and 6 deletions
|
@ -2,9 +2,18 @@ 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.
|
||||
|
||||
Optional dependencies are:
|
||||
The following optional dependencies will be automatically detected.
|
||||
|
||||
* qt5 (for the GUI)
|
||||
* SDL2
|
||||
* libedit (for the command-line debugger)
|
||||
* ffmpeg
|
||||
|
||||
If you have Qt 5 and CMake 3, then you can build mGBA with a GUI:
|
||||
|
||||
QT=on ./mGBA.SlackBuild
|
||||
|
||||
As an alternative to running mGBA as an application, you might consider
|
||||
running RetroArch with its mGBA core. RetroArch SlackBuilds, including
|
||||
one for its mGBA core, are here:
|
||||
|
||||
https://github.com/duganchen/slackware-libretro
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=mgba
|
||||
VERSION=${VERSION:-0.3.0}
|
||||
VERSION=${VERSION:-0.3.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -40,6 +40,9 @@ TMP=${TMP:-/tmp/SBo}
|
|||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
# Set to on to build the Qt GUI. Requires Qt 5 and CMake 3.
|
||||
QT=${QT:-off}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
|
@ -77,6 +80,7 @@ cd build
|
|||
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DLIBDIR=lib$LIBDIRSUFFIX \
|
||||
-DBUILD_QT=${QT} \
|
||||
-DCMAKE_BUILD_TYPE=Release ..
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="mgba"
|
||||
VERSION="0.3.0"
|
||||
VERSION="0.3.1"
|
||||
HOMEPAGE="https://endrift.com/mgba/"
|
||||
DOWNLOAD="https://github.com/mgba-emu/mgba/archive/0.3.0.tar.gz"
|
||||
MD5SUM="56caa5bf92d8549cb64b9e490d62bd42"
|
||||
DOWNLOAD="https://github.com/mgba-emu/mgba/archive/0.3.1.tar.gz"
|
||||
MD5SUM="870f516bd5433f01fec4fa4c26079e0f"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue