summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Lange2022-02-27 21:25:34 +0100
committerThomas Lange2022-02-27 21:26:26 +0100
commita2fbc7a7c26793cf587a054e63bc7f286fb026e7 (patch)
tree49a19d92016c33cf47538c6715bce3284b62ee64
parentba6a7ea1e2afa1d2f4b694192f0a5625a8482e32 (diff)
downloadaur-a2fbc7a7c26793cf587a054e63bc7f286fb026e7.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--PKGBUILD5
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f51b7685d735..084b69dabedb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = audacious-plugins-git
pkgdesc = Plugins for Audacious (git version)
- pkgver = 4.1.r23.g457d4c6e1
+ pkgver = 4.2.beta1.r0.g6221ff02d
pkgrel = 1
epoch = 1
url = https://audacious-media-player.org/
diff --git a/PKGBUILD b/PKGBUILD
index 3c6a494be7b2..a78d78d3f91f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ _use_meson=0
_pkgname=audacious-plugins
pkgname="$_pkgname-git"
-pkgver=4.1.r23.g457d4c6e1
+pkgver=4.2.beta1.r0.g6221ff02d
pkgrel=1
epoch=1
pkgdesc="Plugins for Audacious (git version)"
@@ -40,6 +40,9 @@ pkgver() {
build() {
cd "$_pkgname"
+ # Work around build failure due to FFmpeg 5.0 APIs returning const pointers
+ CXXFLAGS+=' -fpermissive'
+
if [ "$_use_meson" = 1 ]; then
arch-meson build
meson compile -C build