community/mgba to 0.9.3-2

This commit is contained in:
Kevin Mihelich 2022-02-17 19:30:39 +00:00
parent efd4d0e348
commit 543376563e

View file

@ -8,12 +8,12 @@
pkgbase=mgba
pkgname=('libmgba' 'mgba-sdl' 'mgba-qt')
pkgver=0.9.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')
'ffmpeg4.4' 'desktop-file-utils' 'qt5-tools')
source=($pkgbase-$pkgver.tar.gz::https://github.com/mgba-emu/mgba/archive/$pkgver.tar.gz)
md5sums=('59305606cd938c7c2a021f4b8e9a025a')
@ -23,6 +23,7 @@ prepare() {
build() {
cd build
export PKG_CONFIG_PATH='/usr/lib/ffmpeg4.4/pkgconfig'
cmake "$srcdir"/mgba-$pkgver -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib -DBUILD_LTO=OFF
make