This should be enough to build Dolphin with the integrated GBA (the other option is -DUSE_MGBA=NO in the cmake step...):
diff --git a/PKGBUILD b/PKGBUILD
index 41a5bd0..58a0dc7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,8 +6,8 @@ _mainpkgname="$_projectname-emu"
_noguipkgname="$_projectname-emu-nogui"
pkgbase="$_mainpkgname-git"
pkgname=("$pkgbase" "$_noguipkgname-git")
-pkgver='5.0.r13467.g79a234eff7'
-pkgrel='2'
+pkgver=5.0.r14762.gc86c02e46b
+pkgrel=1
pkgdesc='A Gamecube / Wii emulator'
_pkgdescappend=' - git version'
arch=('x86_64' 'aarch64')
@@ -22,13 +22,18 @@ depends=(
)
makedepends=('cmake' 'git' 'python')
optdepends=('pulseaudio: PulseAudio backend')
-source=("$pkgname::git+https://github.com/$_mainpkgname/$_projectname")
-sha256sums=('SKIP')
+source=("$pkgname::git+https://github.com/$_mainpkgname/$_projectname"
+ "git+https://github.com/mgba-emu/mgba.git")
+sha256sums=('SKIP'
+ 'SKIP')
_sourcedirectory="$pkgname"
prepare() {
cd "$srcdir/$_sourcedirectory/"
+ git submodule init Externals/mGBA
+ git config --local submodule.Externals/mGBA/mgba.url file://"${srcdir}/mgba"
+ git submodule update
if [ -d 'build/' ]; then rm -rf 'build/'; fi
mkdir 'build/'
}
Pinned Comments
dpeukert commented on 2020-04-10 12:34 (UTC) (edited on 2020-09-26 17:48 (UTC) by dpeukert)
The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/dolphin-emu-git