mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
community/mgba to 0.10.0-1
This commit is contained in:
parent
dfa5467b67
commit
150eafe586
1 changed files with 5 additions and 6 deletions
|
@ -7,15 +7,15 @@
|
|||
|
||||
pkgbase=mgba
|
||||
pkgname=('libmgba' 'mgba-sdl' 'mgba-qt')
|
||||
pkgver=0.9.3
|
||||
pkgrel=4
|
||||
pkgver=0.10.0
|
||||
pkgrel=1
|
||||
arch=('x86_64')
|
||||
url='http://mgba.io'
|
||||
license=('custom:MPL2')
|
||||
makedepends=('cmake' 'qt5-multimedia' 'sdl2' 'zlib' 'libpng' 'libzip' 'libedit'
|
||||
'ffmpeg4.4' 'desktop-file-utils' 'qt5-tools')
|
||||
'ffmpeg' 'desktop-file-utils' 'qt5-tools')
|
||||
source=($pkgbase-$pkgver.tar.gz::https://github.com/mgba-emu/mgba/archive/$pkgver.tar.gz)
|
||||
md5sums=('59305606cd938c7c2a021f4b8e9a025a')
|
||||
md5sums=('6e5fb85135e90492fd32c564c7bfa627')
|
||||
|
||||
prepare() {
|
||||
[[ ! -d build ]] && mkdir build || rm -rf build
|
||||
|
@ -23,7 +23,6 @@ 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
|
||||
|
@ -31,7 +30,7 @@ build() {
|
|||
|
||||
package_libmgba() {
|
||||
pkgdesc='Shared library of mGBA'
|
||||
depends=('zlib' 'libpng' 'libzip' 'libedit' 'ffmpeg4.4' 'sqlite')
|
||||
depends=('zlib' 'libpng' 'libzip' 'libedit' 'ffmpeg' 'sqlite')
|
||||
|
||||
cmake -DCOMPONENT=libmgba mgba-$pkgver -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
|
||||
-P build/cmake_install.cmake
|
||||
|
|
Loading…
Reference in a new issue