From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-radio/ibp/
Date: Fri, 18 Jun 2021 21:07:38 +0000 (UTC) [thread overview]
Message-ID: <1624050431.efc07b04ebe215e44e0051bca585bc6630d965b4.soap@gentoo> (raw)
commit: efc07b04ebe215e44e0051bca585bc6630d965b4
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 18 21:07:11 2021 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Jun 18 21:07:11 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efc07b04
media-radio/ibp: use pkg-config to find ncurses
This is more resilient in the (rare) case of non-split tinfo,
which still occurs on e.g. Prefix.
Signed-off-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: David Seifert <soap <AT> gentoo.org>
.../ibp/{ibp-0.21-r1.ebuild => ibp-0.21-r2.ebuild} | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/media-radio/ibp/ibp-0.21-r1.ebuild b/media-radio/ibp/ibp-0.21-r2.ebuild
similarity index 77%
rename from media-radio/ibp/ibp-0.21-r1.ebuild
rename to media-radio/ibp/ibp-0.21-r2.ebuild
index a02af617b34..08a4b2b5fa4 100644
--- a/media-radio/ibp/ibp-0.21-r1.ebuild
+++ b/media-radio/ibp/ibp-0.21-r2.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="6"
+EAPI="7"
+
inherit toolchain-funcs
DESCRIPTION="Shows currently transmitting beacons of the International Beacon Project (IBP)"
@@ -13,18 +14,18 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE="X"
-RDEPEND="sys-libs/ncurses:0
+RDEPEND="sys-libs/ncurses:0=
X? ( x11-libs/libX11 )"
DEPEND="${RDEPEND}
X? ( >=x11-misc/imake-1.0.8-r1 )"
+BDEPEND="virtual/pkgconfig"
src_prepare() {
- # respect CFLAGS if built without USE=X
+ # Respect CFLAGS if built without USE=X
sed -i -e "s/= -D/+= -D/" Makefile || die
- # fix compile if ncurses is built with separate libtinfo
- if has_version "sys-libs/ncurses:0[tinfo]" ;then
- sed -i -e "s/-lcurses/-lcurses -ltinfo/" Imakefile Makefile || die
- fi
+
+ # Fix compile if ncurses is built with separate libtinfo
+ sed -i -e "s:-lcurses:$($(tc-getPKG_CONFIG) --libs ncurses):" Imakefile Makefile || die
eapply_user
}
next reply other threads:[~2021-06-18 21:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-18 21:07 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-12-02 21:32 [gentoo-commits] repo/gentoo:master commit in: media-radio/ibp/ Ionen Wolkens
2022-10-11 8:56 Ionen Wolkens
2022-08-27 11:47 Sam James
2021-04-15 6:39 Joonas Niilola
2020-02-08 18:55 David Seifert
2018-02-25 18:38 Thomas Beierlein
2018-02-25 18:21 Thomas Deutschmann
2018-02-24 8:27 Jason Zaman
2017-05-24 6:17 Thomas Beierlein
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=1624050431.efc07b04ebe215e44e0051bca585bc6630d965b4.soap@gentoo \
--to=soap@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