From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1210541-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id CC238138359
	for <garchives@archives.gentoo.org>; Tue, 29 Sep 2020 06:37:55 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 5920DE086A;
	Tue, 29 Sep 2020 06:37:53 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 379F9E086A
	for <gentoo-commits@lists.gentoo.org>; Tue, 29 Sep 2020 06:37:53 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id EC7FD340C39
	for <gentoo-commits@lists.gentoo.org>; Tue, 29 Sep 2020 06:37:48 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 730C3389
	for <gentoo-commits@lists.gentoo.org>; Tue, 29 Sep 2020 06:37:47 +0000 (UTC)
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" <juippis@gentoo.org>
Message-ID: <1601359290.b6072ec4da998d5a2305a09eb45d97590953f7da.juippis@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/lcov/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-util/lcov/lcov-1.15.ebuild dev-util/lcov/lcov-9999.ebuild
X-VCS-Directories: dev-util/lcov/
X-VCS-Committer: juippis
X-VCS-Committer-Name: Joonas Niilola
X-VCS-Revision: b6072ec4da998d5a2305a09eb45d97590953f7da
X-VCS-Branch: master
Date: Tue, 29 Sep 2020 06:37:47 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 5a12cae8-4b2d-417c-a104-f802916ddf73
X-Archives-Hash: ef36415b42f71b8f878937f48ffe5a20

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]
 }