summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2024-01-17 14:35:04 -0800
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2024-01-17 14:35:04 -0800
commit0e09ee824f1cc0d6cc5799b5ea9f5af590d643bf (patch)
treebb32b3e9e99512aa72125dace017cb541cce6b29
parentRebuild against newer lua (diff)
downloadmgba-0e09ee824f1cc0d6cc5799b5ea9f5af590d643bf.tar.xz
Fix mgba to utilize lua53
-rw-r--r--PKGBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1f23b1d..5e9348a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,18 +5,20 @@
# # I maintain this because:
# Arch version lacks additional optimization and hardening flags
+# Arch version is broken with lua 5.4
+# Arch version does not list lua as a depends
pkgbase=mgba
pkgname=('libmgba' 'mgba-sdl' 'mgba-qt')
pkgver=0.10.2
-pkgrel=2.2
+pkgrel=2.3
arch=('x86_64')
url='http://mgba.io'
license=('custom:MPL2')
options=('lto')
+depends=('lua53')
makedepends=('cmake' 'qt5-multimedia' 'sdl2' 'zlib' 'libpng' 'libzip' 'libedit'
- 'ffmpeg' 'desktop-file-utils' 'qt5-tools' 'lua')
-optdepends=('lua: scripting support')
+ 'ffmpeg' 'desktop-file-utils' 'qt5-tools')
source=($pkgbase-$pkgver.tar.gz::https://github.com/mgba-emu/mgba/archive/$pkgver.tar.gz)
sha256sums=('60afef8fb79ba1f7be565b737bae73c6604a790391c737f291482a7422d675ae')
b2sums=('fb2e652b76871c9a9ffdbf049965ca4a62ee8fed48b547a4e7d514587535f172a7e3b21ec138b8660707a2fbdc19268985191d10eb268e7ed0f059c5a8c81216')
@@ -61,7 +63,7 @@ package_mgba-sdl() {
package_mgba-qt() {
pkgdesc='A Nintendo Gameboy Advance Emulator focusing on both speed and accuracy. Qt5 UI.'
- depends=('libmgba' 'qt5-multimedia' 'sdl2')
+ depends=('libmgba' 'lua53' 'qt5-multimedia' 'sdl2')
cmake -DCOMPONENT=mgba-qt mgba-$pkgver -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
-P build/cmake_install.cmake