summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-06-05 05:24:23 -0400
committerIonen Wolkens <ionen@gentoo.org>2024-06-05 05:30:20 -0400
commita6bd96d70ee2af5815c5a8556e0d7b152f4cdacd (patch)
tree5e4a309f43cce007ee8bf9785d69ef62a962e714
parentdev-python/pytest-localftpserver: Remove old (diff)
downloadgentoo-a6bd96d70ee2af5815c5a8556e0d7b152f4cdacd.tar.gz
gentoo-a6bd96d70ee2af5815c5a8556e0d7b152f4cdacd.tar.bz2
gentoo-a6bd96d70ee2af5815c5a8556e0d7b152f4cdacd.zip
media-sound/cava: fix build with iniparser-4.2.2
Transition seems messy (no subslot for rebuild, conflicts with SLOT=0, etc..) but reverting to a normal ebuild without forced slotting will ultimately be better (lets us drop the gentoo-specific patch). Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
-rw-r--r--media-sound/cava/cava-0.10.2.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/media-sound/cava/cava-0.10.2.ebuild b/media-sound/cava/cava-0.10.2.ebuild
index 7251e5fe1301..cd7b175c4340 100644
--- a/media-sound/cava/cava-0.10.2.ebuild
+++ b/media-sound/cava/cava-0.10.2.ebuild
@@ -38,11 +38,11 @@ BDEPEND="
sdl? ( dev-build/autoconf-archive )
"
-PATCHES=(
- "${FILESDIR}"/${PN}-0.8.0-gentoo-iniparser4.patch
-)
-
src_prepare() {
+ # TODO: depend on >=4.2.2 and drop the patch when it is stable
+ has_version '<dev-libs/iniparser-4.2.2:4' &&
+ eapply "${FILESDIR}"/${PN}-0.8.0-gentoo-iniparser4.patch
+
default
echo ${PV} > version || die