summaryrefslogtreecommitdiff
path: root/media-libs/icclib
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
commit7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch)
tree4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /media-libs/icclib
parentb284a3168fa91a038925d2ecf5e4791011ea5e7d (diff)
gentoo resync : 15.12.2019
Diffstat (limited to 'media-libs/icclib')
-rw-r--r--media-libs/icclib/Manifest2
-rw-r--r--media-libs/icclib/icclib-2.14.ebuild30
2 files changed, 15 insertions, 17 deletions
diff --git a/media-libs/icclib/Manifest b/media-libs/icclib/Manifest
index 1e225322b1e5..8308e7971349 100644
--- a/media-libs/icclib/Manifest
+++ b/media-libs/icclib/Manifest
@@ -1,4 +1,4 @@
AUX icclib-2.14-make.patch 3074 BLAKE2B 9f45af8c8c0041525e98352b9aa4b2743607d76b79dee02b17cf67e3410f9d45caf433f7e6490bb761c2b19616acf19275356f21a9b9a582f3f30a0e15997e70 SHA512 e2245b6f7aa24fcb135e8ce7a4332b6a689822c6429cf48cab5cd61285e80c72ff50adb6d8e691b948e45b9dd5d3df42935b810e1a25aba4f2d9d51ac9b9a1eb
DIST icclib_V2.14.zip 158606 BLAKE2B a42a16a00d540f3e0036f86a4934ed8ac3c67bfea135df5fc893cef939b451f0298c576aa4067360597912fff1afe3315588af64e4edc9605ea5944ff9e42cf6 SHA512 ed038c8655968c794491f30c295ef115900bfcc2e8bfd8607f12f73d6f2236fc339c1ed53a364524478273097ab9065a372bb26f38231bfc6dc02773a11546a3
-EBUILD icclib-2.14.ebuild 842 BLAKE2B d76df477830e7e0fc7410de59258da5ace092d66c8eecff7d521bb8f3ec7f1b2809331f242c980837aed71eb4ce3103017014c316962760eb159862d47443691 SHA512 6a755ecd016fc3cd7716fba06ce7819e76f40beb5a2900c44f42618a9e0db2f190c9e8606529acac2bc1807a16c81febc4163fe943a0ac8f26fc3bf01afbac59
+EBUILD icclib-2.14.ebuild 805 BLAKE2B db0ef3c262563d5593fae5c59c534a0834c9d765b0b9f3cccd1853cccf748e3a1c485750c51d816f96f3cb5d1841eaec64295dc415053bdd40342e6ab98a151a SHA512 4ccf44eb5347c97c9e96a3640040095af3e5c20e210ece9f508ba0b6adae7e8a50801c7ba4886f3fb4be928310dc6bad99caabb56fcce1d78835a0d30cf0dc58
MISC metadata.xml 452 BLAKE2B 6c283d428da4dff860b53d17c0c3a64a63dae0fe9736acdd44045d0be9b9a8a9b2fcc8ab97ded5252bf59d4cf85f55a67aa68de15c1831553aa1103b492d53d1 SHA512 a95f4b878cfad5719ea1a161f0cda34b81982fd000f04da81a8dfcdd77c7592c6621d612eb6faf854deb78902ae31e36cc0b0b8e6e37b559ddbbd2b34e19b23b
diff --git a/media-libs/icclib/icclib-2.14.ebuild b/media-libs/icclib/icclib-2.14.ebuild
index 0c032a1773c1..c1c849efebaf 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
}