mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-09-19 22:08:32 +00:00
extra/mgba to 0.10.3-2
This commit is contained in:
parent
a64a8e554c
commit
e5d72ef0d3
|
@ -1,6 +1,6 @@
|
||||||
pkgbase = mgba
|
pkgbase = mgba
|
||||||
pkgver = 0.10.3
|
pkgver = 0.10.3
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = http://mgba.io
|
url = http://mgba.io
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = custom:MPL2
|
license = custom:MPL2
|
||||||
|
@ -17,7 +17,9 @@ pkgbase = mgba
|
||||||
makedepends = lua
|
makedepends = lua
|
||||||
optdepends = lua: scripting support
|
optdepends = lua: scripting support
|
||||||
source = mgba-0.10.3.tar.gz::https://github.com/mgba-emu/mgba/archive/0.10.3.tar.gz
|
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 = be2cda7de3da8819fdab0c659c5cd4c4b8ca89d9ecddeeeef522db6d31a64143
|
||||||
|
sha256sums = 3fb63923547c42165dfd8bd47925cae3c711fec87f767bb5a94361dd022c8bd2
|
||||||
|
|
||||||
pkgname = libmgba
|
pkgname = libmgba
|
||||||
pkgdesc = Shared library of mGBA
|
pkgdesc = Shared library of mGBA
|
||||||
|
|
|
@ -8,17 +8,25 @@
|
||||||
pkgbase=mgba
|
pkgbase=mgba
|
||||||
pkgname=('libmgba' 'mgba-sdl' 'mgba-qt')
|
pkgname=('libmgba' 'mgba-sdl' 'mgba-qt')
|
||||||
pkgver=0.10.3
|
pkgver=0.10.3
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url='http://mgba.io'
|
url='http://mgba.io'
|
||||||
license=('custom:MPL2')
|
license=('custom:MPL2')
|
||||||
makedepends=('cmake' 'qt5-multimedia' 'sdl2' 'zlib' 'libpng' 'libzip' 'libedit'
|
makedepends=('cmake' 'qt5-multimedia' 'sdl2' 'zlib' 'libpng' 'libzip' 'libedit'
|
||||||
'ffmpeg' 'desktop-file-utils' 'qt5-tools' 'lua')
|
'ffmpeg' 'desktop-file-utils' 'qt5-tools' 'lua')
|
||||||
optdepends=('lua: scripting support')
|
optdepends=('lua: scripting support')
|
||||||
source=($pkgbase-$pkgver.tar.gz::https://github.com/mgba-emu/mgba/archive/$pkgver.tar.gz)
|
source=($pkgbase-$pkgver.tar.gz::https://github.com/mgba-emu/mgba/archive/$pkgver.tar.gz
|
||||||
sha256sums=('be2cda7de3da8819fdab0c659c5cd4c4b8ca89d9ecddeeeef522db6d31a64143')
|
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() {
|
build() {
|
||||||
|
CFLAGS+=" -Wno-incompatible-pointer-types" \
|
||||||
cmake -B build -S mgba-$pkgver \
|
cmake -B build -S mgba-$pkgver \
|
||||||
-DCMAKE_BUILD_TYPE=None \
|
-DCMAKE_BUILD_TYPE=None \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
|
Loading…
Reference in a new issue