mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
community/mgba to 0.5.0-2
This commit is contained in:
parent
379586c054
commit
52532aac89
1 changed files with 5 additions and 4 deletions
|
@ -9,15 +9,15 @@
|
|||
|
||||
pkgbase=mgba
|
||||
pkgname=('libmgba' 'mgba-sdl' 'mgba-qt')
|
||||
pkgver=0.4.1
|
||||
pkgrel=1
|
||||
pkgver=0.5.0
|
||||
pkgrel=2
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://mgba.io'
|
||||
license=('custom:MPL2')
|
||||
makedepends=('cmake' 'qt5-multimedia' 'sdl2' 'zlib' 'libpng' 'libzip' 'libedit'
|
||||
'ffmpeg' 'imagemagick' 'desktop-file-utils')
|
||||
source=($pkgbase-$pkgver.tar.gz::https://github.com/mgba-emu/mgba/archive/$pkgver.tar.gz)
|
||||
md5sums=('41918d60e915ab22631a30999423d42e')
|
||||
md5sums=('fe6624b2eed4792c9abc28c0cc0099de')
|
||||
|
||||
prepare() {
|
||||
[[ ! -d build ]] && mkdir build || rm -rf build
|
||||
|
@ -26,7 +26,8 @@ prepare() {
|
|||
build() {
|
||||
cd build
|
||||
[[ $CARCH != "aarch64" ]] && CONFIG="-DBUILD_GL=OFF -DBUILD_GLES2=ON"
|
||||
cmake "$srcdir"/mgba-$pkgver -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_LTO=OFF $CONFIG
|
||||
cmake "$srcdir"/mgba-$pkgver -DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib -DBUILD_LTO=OFF $CONFIG
|
||||
make
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue