From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1130052-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 F2FBE138334
	for <garchives@archives.gentoo.org>; Thu, 12 Dec 2019 17:31:42 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 8DA62E087B;
	Thu, 12 Dec 2019 17:31:41 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(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 19316E0877
	for <gentoo-commits@lists.gentoo.org>; Thu, 12 Dec 2019 17:31:41 +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 DC42D34D969
	for <gentoo-commits@lists.gentoo.org>; Thu, 12 Dec 2019 17:31:39 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 19BB78D8
	for <gentoo-commits@lists.gentoo.org>; Thu, 12 Dec 2019 17:31:38 +0000 (UTC)
From: "David Seifert" <soap@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, "David Seifert" <soap@gentoo.org>
Message-ID: <1576171870.b726652a67b42a60724053c576125620dfd6b6a9.soap@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/icclib/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-libs/icclib/icclib-2.14.ebuild
X-VCS-Directories: media-libs/icclib/
X-VCS-Committer: soap
X-VCS-Committer-Name: David Seifert
X-VCS-Revision: b726652a67b42a60724053c576125620dfd6b6a9
X-VCS-Branch: master
Date: Thu, 12 Dec 2019 17:31:38 +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: ff8d2b2a-eeef-4c9a-af24-5bc43bf6c377
X-Archives-Hash: e8821e0d06e7f49544360cb611269e13

commit:     b726652a67b42a60724053c576125620dfd6b6a9
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 12 17:31:10 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Dec 12 17:31:10 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b726652a

media-libs/icclib: Port to EAPI 7

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 media-libs/icclib/icclib-2.14.ebuild | 30 ++++++++++++++----------------
 1 file changed, 14 insertions(+), 16 deletions(-)

diff --git a/media-libs/icclib/icclib-2.14.ebuild b/media-libs/icclib/icclib-2.14.ebuild
index 0c032a1773c..c1c849efeba 100644
--- a/media-libs/icclib/icclib-2.14.ebuild
+++ b/media-libs/icclib/icclib-2.14.ebuild
@@ -1,11 +1,12 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=7
 
-inherit base multilib toolchain-funcs
+inherit toolchain-funcs
 
 MY_P="${PN}_V${PV}"
+
 DESCRIPTION="Library for reading and writing ICC color profile files"
 HOMEPAGE="http://freecode.com/projects/icclib"
 SRC_URI="http://www.argyllcms.com/${MY_P}.zip"
@@ -13,29 +14,26 @@ SRC_URI="http://www.argyllcms.com/${MY_P}.zip"
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="app-arch/unzip"
 
-S=${WORKDIR}
+BDEPEND="app-arch/unzip"
 
-ICCLIB_SOVERSION="0"
+S="${WORKDIR}"
 
-PATCHES=(
-	"${FILESDIR}/${P}-make.patch"
-)
+PATCHES=( "${FILESDIR}"/${P}-make.patch )
 
 src_compile() {
-	emake CC="$(tc-getCC)" ICCLIB_SOVERSION=${ICCLIB_SOVERSION}
+	ICCLIB_SOVERSION="0"
+	emake CC="$(tc-getCC)" ICCLIB_SOVERSION="${ICCLIB_SOVERSION}"
 }
 
 src_install() {
+	dobin iccdump
+
 	mv libicc.so libicc.so.${ICCLIB_SOVERSION} || die
 	dolib.so libicc.so.${ICCLIB_SOVERSION}
 	dosym libicc.so.${ICCLIB_SOVERSION} /usr/$(get_libdir)/libicc.so
-	dobin iccdump
-	dodoc Readme.txt todo.txt log.txt
 
-	insinto /usr/include
-	doins icc*.h
+	doheader icc*.h
+
+	dodoc Readme.txt todo.txt log.txt
 }