summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2022-02-09 12:27:54 -0800
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2022-02-09 12:27:54 -0800
commit773ea03c35c71c1414dd80855675b9902069b4d5 (patch)
treeeb52ab34a36b0a4d8685470124c472127bb22fa0
parentUpdated to 0.9.3 (diff)
downloadmgba-773ea03c35c71c1414dd80855675b9902069b4d5.tar.xz
Rebuild with explicit ffmpeg 4.4 depend
-rw-r--r--PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c98b5ef..0c5d559 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"