From 85b97ab485c6f770383a1829e8a0468de8c8f696 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 7 Aug 2018 12:15:19 +0000 Subject: testing/mgba: disable on s390x and fix whitespace damage tests fails on s390x so we disable --- testing/mgba/APKBUILD | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'testing/mgba') diff --git a/testing/mgba/APKBUILD b/testing/mgba/APKBUILD index 8a72d1527e0..2b2d06fc175 100644 --- a/testing/mgba/APKBUILD +++ b/testing/mgba/APKBUILD @@ -5,7 +5,7 @@ pkgver=0.6.3 pkgrel=1 pkgdesc="Game Boy Advance Emulator" url="https://github.com/mgba-emu/mgba" -arch="all" +arch="all !s390x" license="MPL-2.0" makedepends="cmake qt5-qtmultimedia-dev qt5-qtbase-dev qt5-qttools-dev sdl-dev libzip-dev zlib-dev libpng-dev ffmpeg-dev imagemagick-dev @@ -22,10 +22,10 @@ builddir="$srcdir/mgba-$pkgver" build() { cd "$builddir" - + # declaration mismatch in include/mgba/core/thread.h export CPPFLAGS="$CPPFLAGS -fno-strict-aliasing" - + mkdir build cd build cmake \ @@ -41,7 +41,7 @@ build() { check() { cd "$builddir/build" ./mgba-suite - + # test python bindings by executing an open source ROM # for DMG-01 (OG gameboy) and exporting a png screenshot PYTHONPATH="$PWD/$(echo python/lib.linux-*-3.*)" \ @@ -53,11 +53,11 @@ check() { package() { cd "$builddir/build" make install DESTDIR="$pkgdir" - + # delete test files rm "$pkgdir/usr/bin/mgba-fuzz" rm "$pkgdir/usr/bin/tbl-fuzz" - + # delete config cruft rm "$pkgdir/usr/include/mgba/flags.h" rmdir -p "$pkgdir/usr/include/mgba" || : @@ -66,19 +66,19 @@ package() { _py() { pkgdesc="Python3 bindings for the mGBA emulator" depends="py3-cffi py3-cached-property" - + cd "$builddir/build/python" local bdir=$(echo lib.linux-*-3.*) local pyver=${bdir##*-} local dest="$subpkgdir/usr/lib/python$pyver/site-packages" - + mkdir -p "$dest" mv $bdir/mgba/ "$dest" } _qt() { pkgdesc="Qt5 frontend for the mGBA emulator" - + local bin="$subpkgdir/usr/bin" local apps="$subpkgdir/usr/share/applications" -- cgit v1.2.3