diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 10 insertions, 12 deletions
@@ -6,7 +6,7 @@ _mainpkgname="$_projectname-emu" _noguipkgname="$_projectname-emu-nogui" pkgbase="$_mainpkgname-git" pkgname=("$pkgbase" "$_noguipkgname-git") -pkgver='5.0.r17960.g44f8b8c100' +pkgver='5.0.r18076.gd853da3b0b' pkgrel='1' pkgdesc='A Gamecube / Wii emulator' _pkgdescappend=' - git version' @@ -14,27 +14,28 @@ arch=('x86_64' 'aarch64') url="https://$_mainpkgname.org" license=('GPL2') depends=( - 'alsa-lib' 'bluez-libs' 'cubeb' 'enet' 'hidapi' 'libevdev' 'libgl' 'libpulse' - 'libx11' 'libxi' 'libxrandr' 'lzo' 'mbedtls' 'minizip-ng' 'pugixml' 'qt6-base' - 'sfml' 'zlib' 'libavcodec.so' 'libavformat.so' 'libavutil.so' 'libcurl.so' - 'libfmt.so' 'libminiupnpc.so' 'libswscale.so' 'libudev.so' 'libusb-1.0.so' + 'alsa-lib' 'bluez-libs' 'cubeb' 'enet' 'hidapi' 'libevdev' 'libgl' 'libmgba' + 'libpulse' 'libx11' 'libxi' 'libxrandr' 'lzo' 'mbedtls' 'minizip-ng' 'pugixml' + 'qt6-base' 'sfml' 'zlib' + 'libavcodec.so' 'libavformat.so' 'libavutil.so' 'libcurl.so' 'libfmt.so' + 'libminiupnpc.so' 'libswscale.so' 'libudev.so' 'libusb-1.0.so' ) makedepends=('cmake' 'git' 'ninja' 'python') optdepends=('pulseaudio: PulseAudio backend') source=( "$pkgname::git+https://github.com/$_mainpkgname/$_projectname" - "$pkgname-mgba::git+https://github.com/mgba-emu/mgba.git" "$pkgname-spirvcross::git+https://github.com/KhronosGroup/SPIRV-Cross.git" "$pkgname-zlibng::git+https://github.com/zlib-ng/zlib-ng.git" "$pkgname-libspng::git+https://github.com/randy408/libspng.git" "$pkgname-vma::git+https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git" + "$pkgname-$pkgver-$pkgrel-system-libmgba.diff::https://github.com/$_mainpkgname/$_projectname/commit/afde3a0e0d2bc49a5d890d16611432aa6eb76428.diff" # https://github.com/dolphin-emu/dolphin/pull/11362 ) sha512sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' - 'SKIP') + '1fe1501ccacb158464bd17efaae5263f0bc8639edb40a29227969d803e1c99860373df40fe0da7828f4bd2fecff4801695f7d303a49bdfbb8087fbca3b1b468d') _sourcedirectory="$pkgname" @@ -43,11 +44,8 @@ prepare() { if [ -d 'build/' ]; then rm -rf 'build/'; fi mkdir 'build/' - # Provide mgba submodule - _mgbapath='Externals/mGBA/mgba' - git submodule init "$_mgbapath" - git config "submodule.$_mgbapath.url" "$srcdir/$pkgname-mgba/" - git -c protocol.file.allow=always submodule update "$_mgbapath" + # Apply patch to use system libmgba + patch --forward -p1 < "$srcdir/$pkgname-$pkgver-$pkgrel-system-libmgba.diff" # Provide SPIRV-Cross submodule _spirvcrosspath='Externals/spirv_cross/SPIRV-Cross' |