From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/lcov/
Date: Tue, 29 Sep 2020 06:37:47 +0000 (UTC) [thread overview]
Message-ID: <1601359290.b6072ec4da998d5a2305a09eb45d97590953f7da.juippis@gentoo> (raw)
commit: b6072ec4da998d5a2305a09eb45d97590953f7da
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 29 06:01:30 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Sep 29 06:01:30 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6072ec4
dev-util/lcov: add optfeature, emake -j1
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-util/lcov/lcov-1.15.ebuild | 11 +++++++----
dev-util/lcov/lcov-9999.ebuild | 11 +++++++----
2 files changed, 14 insertions(+), 8 deletions(-)
diff --git a/dev-util/lcov/lcov-1.15.ebuild b/dev-util/lcov/lcov-1.15.ebuild
index 67bf3e5ce14..aaf14998d4b 100644
--- a/dev-util/lcov/lcov-1.15.ebuild
+++ b/dev-util/lcov/lcov-1.15.ebuild
@@ -11,20 +11,18 @@ else
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-linux ~x64-macos"
fi
-inherit prefix
+inherit optfeature prefix
DESCRIPTION="A graphical front-end for GCC's coverage testing tool gcov"
HOMEPAGE="http://ltp.sourceforge.net/coverage/lcov.php"
LICENSE="GPL-2+"
SLOT="0"
-IUSE="png"
RDEPEND="
dev-lang/perl
dev-perl/JSON
dev-perl/PerlIO-gzip
- png? ( dev-perl/GD[png] )
"
src_prepare() {
@@ -37,5 +35,10 @@ src_prepare() {
src_compile() { :; }
src_install() {
- emake PREFIX="${ED}/usr" CFG_DIR="${ED}/etc" install
+ emake -j1 PREFIX="${ED}/usr" CFG_DIR="${ED}/etc" install
+}
+
+pkg_postinst() {
+ elog "Optional features:"
+ optfeature "png output support" dev-perl/GD[png]
}
diff --git a/dev-util/lcov/lcov-9999.ebuild b/dev-util/lcov/lcov-9999.ebuild
index 295385b60d6..456ec4605d0 100644
--- a/dev-util/lcov/lcov-9999.ebuild
+++ b/dev-util/lcov/lcov-9999.ebuild
@@ -11,20 +11,18 @@ else
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-linux ~x64-macos"
fi
-inherit prefix
+inherit optfeature prefix
DESCRIPTION="A graphical front-end for GCC's coverage testing tool gcov"
HOMEPAGE="http://ltp.sourceforge.net/coverage/lcov.php"
LICENSE="GPL-2+"
SLOT="0"
-IUSE="png"
RDEPEND="
dev-lang/perl
dev-perl/JSON
dev-perl/PerlIO-gzip
- png? ( dev-perl/GD[png] )
"
src_prepare() {
@@ -37,5 +35,10 @@ src_prepare() {
src_compile() { :; }
src_install() {
- emake PREFIX="${ED}/usr" CFG_DIR="${ED}/etc" install
+ emake -j1 PREFIX="${ED}/usr" CFG_DIR="${ED}/etc" install
+}
+
+pkg_postinst() {
+ elog "Optional features:"
+ optfeature "png output support" dev-perl/GD[png]
}
next reply other threads:[~2020-09-29 6:37 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-29 6:37 Joonas Niilola [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-14 15:34 [gentoo-commits] repo/gentoo:master commit in: dev-util/lcov/ Sam James
2025-03-14 8:12 Sam James
2025-01-11 14:42 Jakov Smolić
2025-01-10 4:41 WANG Xuerui
2025-01-10 4:17 Sam James
2025-01-10 4:17 Sam James
2025-01-10 4:17 Sam James
2025-01-09 23:41 Sebastian Pipping
2025-01-08 15:04 Jakov Smolić
2025-01-08 13:27 Jakov Smolić
2025-01-07 19:51 Sam James
2025-01-07 19:30 Arthur Zamarin
2025-01-07 18:54 Sam James
2025-01-07 18:54 Sam James
2025-01-07 18:30 Sam James
2025-01-07 18:30 Sam James
2025-01-07 1:51 Sebastian Pipping
2025-01-07 1:16 Sebastian Pipping
2025-01-06 20:53 Sebastian Pipping
2025-01-06 18:08 Sebastian Pipping
2025-01-06 17:32 Sebastian Pipping
2024-05-01 8:44 Sam James
2024-01-25 13:44 Sam James
2023-10-14 1:38 Sam James
2023-10-12 5:34 Sam James
2023-10-12 5:28 Sam James
2023-10-12 5:28 Sam James
2021-11-19 8:34 Sam James
2021-08-29 8:37 Marek Szuba
2020-09-29 6:37 Joonas Niilola
2020-05-01 8:40 Mart Raudsepp
2019-11-27 1:12 Zac Medico
2019-11-14 0:47 Aaron Bauman
2019-07-18 7:45 Michał Górny
2019-05-22 5:49 Aaron Bauman
2019-03-25 23:18 Patrick McLean
2018-10-22 20:07 Michał Górny
2018-10-22 20:07 Michał Górny
2018-10-22 20:07 Michał Górny
2018-10-22 20:07 Michał Górny
2018-10-22 20:07 Michał Górny
2018-04-18 7:01 Mart Raudsepp
2018-03-28 20:55 Matt Turner
2018-03-06 14:43 Guilherme Amadio
2018-03-01 18:43 Michał Górny
2018-02-11 10:53 Michał Górny
2017-07-19 16:31 Patrice Clement
2017-07-19 15:51 Patrice Clement
2017-05-06 2:05 Michael Orlitzky
2017-05-01 22:34 Sebastian Pipping
2017-02-02 12:26 Manuel Rüger
2017-02-02 12:26 Manuel Rüger
2017-01-14 13:26 Jeroen Roovers
2017-01-06 13:32 Tobias Klausmann
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=1601359290.b6072ec4da998d5a2305a09eb45d97590953f7da.juippis@gentoo \
--to=juippis@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