public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/icclib/
Date: Thu, 12 Dec 2019 17:31:38 +0000 (UTC)	[thread overview]
Message-ID: <1576171870.b726652a67b42a60724053c576125620dfd6b6a9.soap@gentoo> (raw)

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
 }


             reply	other threads:[~2019-12-12 17:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-12 17:31 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-06-22 20:28 [gentoo-commits] repo/gentoo:master commit in: media-libs/icclib/ James Le Cuirot

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=1576171870.b726652a67b42a60724053c576125620dfd6b6a9.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