diff options
Diffstat (limited to 'games/mgba/mgba.SlackBuild')
-rw-r--r-- | games/mgba/mgba.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/games/mgba/mgba.SlackBuild b/games/mgba/mgba.SlackBuild index de302c36dead8..8b8c65518fcb7 100644 --- a/games/mgba/mgba.SlackBuild +++ b/games/mgba/mgba.SlackBuild @@ -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 |