summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Lange2022-02-27 21:18:51 +0100
committerThomas Lange2022-02-27 21:18:51 +0100
commit83459ef8150818229c115169f2d2a17fbd1d309a (patch)
tree2a1b77e261c3e942725ea3104453be6a2b7e3e34
parente0dba5bef3b5ff31ae6b2621fa710ad209a87ad1 (diff)
downloadaur-83459ef8150818229c115169f2d2a17fbd1d309a.tar.gz
Fix build with ffmpeg 5.0
See also: https://github.com/archlinux/svntogit-packages/commit/40cc5f012245a25c182afe3cd6ec27056381bbe4
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5d5a74484c04..0dd1a51382c7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = audacious-plugins-gtk3
pkgdesc = Plugins for Audacious
pkgver = 4.1
- pkgrel = 2
+ pkgrel = 3
url = https://audacious-media-player.org/
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index b7eea93f27e3..aff761de4390 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
_pkgname=audacious-plugins
pkgname=$_pkgname-gtk3
pkgver=4.1
-pkgrel=2
+pkgrel=3
pkgdesc="Plugins for Audacious"
arch=('i686' 'x86_64')
url="https://audacious-media-player.org/"
@@ -30,6 +30,10 @@ prepare() {
build() {
cd "$_pkgname"
+
+ # Work around build failure due to FFmpeg 5.0 APIs returning const pointers
+ CXXFLAGS+=' -fpermissive'
+
./configure \
--prefix=/usr \
--disable-qt