public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/cava/
Date: Tue, 07 Jan 2025 05:20:34 +0000 (UTC)	[thread overview]
Message-ID: <1736227131.7cb90741458039de6b1f96bc3c447c60d70bac44.ionen@gentoo> (raw)

commit:     7cb90741458039de6b1f96bc3c447c60d70bac44
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  7 02:10:32 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Jan  7 05:18:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cb90741

media-sound/cava: update for unslotted iniparser

Technically should work with iniparser-3 as well (has compatibility
code), but add a lower bound anyway to ensure does not attempt to use
4.1-r1 (3 is due for removal either way).

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 .../cava/{cava-0.10.3.ebuild => cava-0.10.3-r1.ebuild}  | 17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/media-sound/cava/cava-0.10.3.ebuild b/media-sound/cava/cava-0.10.3-r1.ebuild
similarity index 81%
rename from media-sound/cava/cava-0.10.3.ebuild
rename to media-sound/cava/cava-0.10.3-r1.ebuild
index a84de68609b1..d889ed577fb5 100644
--- a/media-sound/cava/cava-0.10.3.ebuild
+++ b/media-sound/cava/cava-0.10.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2024 Gentoo Authors
+# Copyright 2022-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -18,7 +18,7 @@ KEYWORDS="amd64 x86"
 IUSE="alsa jack +ncurses pipewire portaudio pulseaudio sdl sndio"
 
 RDEPEND="
-	dev-libs/iniparser:4
+	>=dev-libs/iniparser-4.1-r2:=
 	sci-libs/fftw:3.0=
 	alsa? ( media-libs/alsa-lib )
 	jack? ( virtual/jack )
@@ -45,22 +45,15 @@ BDEPEND="
 "
 
 src_prepare() {
-	# TODO: depend on >=4.2.2 and remove after 4.2.2 is stable unless bug
-	# #933610 reintroduces slotting hacks (also drop ${inip} below)
-	local inip=
-	if has_version '<dev-libs/iniparser-4.2.2:4'; then
-		inip=4
-		eapply "${FILESDIR}"/${PN}-0.10.3-gentoo-iniparser4.patch
-	fi
-
 	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
+	# respect ESYSROOT for iniparser (can't use CPPFLAGS, comes before),
+	# ideally upstream could try pkg-config first (only in >=iniparser-4.2)
+	[[ -z ${ESYSROOT} ]] || sed -i "s|/usr|${ESYSROOT}&|" configure.ac || die
 
 	echo ${PV} > version || die
 	eautoreconf


             reply	other threads:[~2025-01-07  5:20 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-07  5:20 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-13  8:59 [gentoo-commits] repo/gentoo:master commit in: media-sound/cava/ Sam James
2025-03-13  8:59 Sam James
2025-02-22  3:07 Ionen Wolkens
2025-02-14  8:00 Ionen Wolkens
2024-12-06  7:49 Sam James
2024-12-05 21:16 Sam James
2024-11-15 22:25 Ionen Wolkens
2024-06-06 13:20 Ionen Wolkens
2024-06-06 13:20 Ionen Wolkens
2024-06-05  9:30 Ionen Wolkens
2024-05-29 17:38 Sam James
2024-05-29 14:43 Jakov Smolić
2024-05-14 19:06 Ionen Wolkens
2024-02-22  6:16 Ionen Wolkens
2024-02-19  2:56 Sam James
2024-02-17 12:11 Jakov Smolić
2024-02-02 18:09 Ionen Wolkens
2024-02-02 13:47 Arthur Zamarin
2024-02-02 13:47 Arthur Zamarin
2024-01-23  9:11 Ionen Wolkens
2024-01-09 18:58 Ionen Wolkens
2023-09-12 16:15 Ionen Wolkens
2023-08-26  6:50 Sam James
2023-08-26  6:50 Sam James
2023-08-12 21:08 Ionen Wolkens
2023-08-07  4:16 Ionen Wolkens
2022-11-25 18:54 Ionen Wolkens
2022-11-04  8:23 Ionen Wolkens
2022-09-27 23:46 Ionen Wolkens
2022-09-27 23:46 Ionen Wolkens
2022-06-02 15:07 Ionen Wolkens
2022-04-24 21:33 Ionen Wolkens
2022-04-22  1:25 Ionen Wolkens
2022-04-17 18:16 Ionen Wolkens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1736227131.7cb90741458039de6b1f96bc3c447c60d70bac44.ionen@gentoo \
    --to=ionen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox