mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/mgba to 0.10.3-2
This commit is contained in:
parent
a64a8e554c
commit
e5d72ef0d3
2 changed files with 14 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
pkgbase = mgba
|
||||
pkgver = 0.10.3
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = http://mgba.io
|
||||
arch = x86_64
|
||||
license = custom:MPL2
|
||||
|
@ -17,7 +17,9 @@ pkgbase = mgba
|
|||
makedepends = lua
|
||||
optdepends = lua: scripting support
|
||||
source = mgba-0.10.3.tar.gz::https://github.com/mgba-emu/mgba/archive/0.10.3.tar.gz
|
||||
source = https://github.com/mgba-emu/mgba/commit/3a3ebb5d.patch
|
||||
sha256sums = be2cda7de3da8819fdab0c659c5cd4c4b8ca89d9ecddeeeef522db6d31a64143
|
||||
sha256sums = 3fb63923547c42165dfd8bd47925cae3c711fec87f767bb5a94361dd022c8bd2
|
||||
|
||||
pkgname = libmgba
|
||||
pkgdesc = Shared library of mGBA
|
||||
|
|
|
@ -8,17 +8,25 @@
|
|||
pkgbase=mgba
|
||||
pkgname=('libmgba' 'mgba-sdl' 'mgba-qt')
|
||||
pkgver=0.10.3
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
arch=('x86_64')
|
||||
url='http://mgba.io'
|
||||
license=('custom:MPL2')
|
||||
makedepends=('cmake' 'qt5-multimedia' 'sdl2' 'zlib' 'libpng' 'libzip' 'libedit'
|
||||
'ffmpeg' 'desktop-file-utils' 'qt5-tools' 'lua')
|
||||
optdepends=('lua: scripting support')
|
||||
source=($pkgbase-$pkgver.tar.gz::https://github.com/mgba-emu/mgba/archive/$pkgver.tar.gz)
|
||||
sha256sums=('be2cda7de3da8819fdab0c659c5cd4c4b8ca89d9ecddeeeef522db6d31a64143')
|
||||
source=($pkgbase-$pkgver.tar.gz::https://github.com/mgba-emu/mgba/archive/$pkgver.tar.gz
|
||||
https://github.com/mgba-emu/mgba/commit/3a3ebb5d.patch)
|
||||
sha256sums=('be2cda7de3da8819fdab0c659c5cd4c4b8ca89d9ecddeeeef522db6d31a64143'
|
||||
'3fb63923547c42165dfd8bd47925cae3c711fec87f767bb5a94361dd022c8bd2')
|
||||
|
||||
prepare() {
|
||||
cd mgba-$pkgver
|
||||
patch -p1 -i ../3a3ebb5d.patch # Fix build with GCC 14
|
||||
}
|
||||
|
||||
build() {
|
||||
CFLAGS+=" -Wno-incompatible-pointer-types" \
|
||||
cmake -B build -S mgba-$pkgver \
|
||||
-DCMAKE_BUILD_TYPE=None \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
|
|
Loading…
Reference in a new issue