diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -9,12 +9,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') b2sums=('7d9ff6fc7bdff5d734540b74893a888d400b4bb6e1ce5b3b2a856239db8798ac76b8535dc770330d0451e2568a6d402558eeef27d643c0d5d3454441f45cf09b') @@ -25,6 +25,8 @@ prepare() { build() { cd build + export PKG_CONFIG_PATH='/usr/lib/ffmpeg4.4/pkgconfig' + # -fPIE and -pie break compilation export CFLAGS="$CFLAGS -O3 -flto=auto -fPIC" export CXXFLAGS="$CXXFLAGS -O3 -flto=auto -fPIC" |