summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/cava/cava-0.10.3.ebuild')
-rw-r--r--media-sound/cava/cava-0.10.3.ebuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/media-sound/cava/cava-0.10.3.ebuild b/media-sound/cava/cava-0.10.3.ebuild
index 92919781923f..dd7afa40f2d0 100644
--- a/media-sound/cava/cava-0.10.3.ebuild
+++ b/media-sound/cava/cava-0.10.3.ebuild
@@ -33,9 +33,15 @@ RDEPEND="
sndio? ( media-sound/sndio:= )
"
DEPEND="${RDEPEND}"
+# bug #941845 wrt autoconf-archive bounds
BDEPEND="
virtual/pkgconfig
- sdl? ( dev-build/autoconf-archive )
+ sdl? (
+ || (
+ >dev-build/autoconf-archive-2024.10.16
+ <dev-build/autoconf-archive-2024.10.16
+ )
+ )
"
src_prepare() {
@@ -49,6 +55,10 @@ src_prepare() {
default
+ # TODO: drop this when autoconf-archive is fixed (bug #941845), this is
+ # to handle the USE=-sdl case given it breaks it present
+ use sdl || sed -i 's/AX_CHECK_GL/&_DISABLED/' configure.ac || die
+
# respect both ESYSROOT+slotting (can't use CPPFLAGS, comes before)
sed -i "s|/usr/include/iniparser|${ESYSROOT}&${inip} |" configure.ac || die