diff options
Diffstat (limited to 'media-libs/lcms')
-rw-r--r-- | media-libs/lcms/Manifest | 2 | ||||
-rw-r--r-- | media-libs/lcms/lcms-2.10.ebuild | 49 |
2 files changed, 51 insertions, 0 deletions
diff --git a/media-libs/lcms/Manifest b/media-libs/lcms/Manifest index a486428a7fd5..5201bbd13c56 100644 --- a/media-libs/lcms/Manifest +++ b/media-libs/lcms/Manifest @@ -1,4 +1,6 @@ AUX lcms-2.9-BE-test.patch 1367 BLAKE2B 5888ef7f7466c8a76c0b9ba1c87383e274fcfc0570ccc45f2a04c3409421415e7b466b93d9f3acb358ec16481c15cf2d466d0b5d9986f37f48d6fddf0e0be616 SHA512 17d4e612f4aeb6e62ac918aa5438e6ada16f456e4c740b4a13f4560956ff8ee7b6223360420c41de1d7284524460ebb1ba89784782671e258df19fc5a768f1e1 +DIST lcms2-2.10.tar.gz 15763103 BLAKE2B d5fc0ffd4917c0b73d2df79a2d5acfd93e88b824aa1a083f258f72a63553c0576ba8ec29fe8c3bc46cb80047818bb8ac97765ae7de85b689ac2eb950516531c6 SHA512 3c068e7b2aff4a9aee720ced7afc6bc8b6ec6bf1f2bf0697d486cd68648104882f36b94201dccbf8cb448282998d27986b881c6b784fd9fef86ae72325fcf20d DIST lcms2-2.9.tar.gz 10953949 BLAKE2B 6f22a0a8901562e8a84a82c077f31b0155bf81d2b5023211059fa157061e78ebe170bd4744f6d15ab76c96ff9dae521a7560e9665a230337d149e1f0c9018788 SHA512 d91e320a97ef9d64cce31585b7df7c85accb52a0c46a10ed0f45a0ba46cc2ad6687de5151e59ac62170ea878ab48595c1493125f4afb1872824afe1c3f3c459b +EBUILD lcms-2.10.ebuild 1222 BLAKE2B 6cd910f445869a02b79db2ff943dffb441a8227cc2d6d988337f555eece3743d8a19469ed35d1e5f659afa4be10c009869bc3c0c2102ed3db188fa7d649a81d4 SHA512 7771fa312aaab3f2bcee9bcf110bf74abac6a1725b021440a1c28f59b175e1d8d87f62c1cb6b95c7d619093a39b5f0b37b620992893f24f1a4c529a64e78653a EBUILD lcms-2.9.ebuild 1252 BLAKE2B 7b6f2d081715b4d41662bfc6636086d13adc26f02a8e655d2013103cf9471cd901399694359a635dc392c22c87c8408bd5b906ca4d7d870b6893f2c94d66af8c SHA512 0a3c2b3698a8e2593f5dc47f5f4fb175f100f7a959a060ee13abf38d2dd59281cafd50a7f55483db9a68fce7455df11d1257fb400ccbc41d31045ab1c7de1ef2 MISC metadata.xml 410 BLAKE2B 9349e230ddeb0fe27ff503a24fcfecb247c3f314b0a68b31c3ae998aca9707a2b513228a98f92dcadc15fc9b91e2d8fdb4b6153b35d9eb9ba5492e1b7d929b7c SHA512 d010ff15cb753002aa9a0f9c6c246e3b633cd4ea4bd75521a4c3c6c5b336852e108dafd0835c7533bf07e30dec8c1237e53218b672a01bf0d838cd48f0033d43 diff --git a/media-libs/lcms/lcms-2.10.ebuild b/media-libs/lcms/lcms-2.10.ebuild new file mode 100644 index 000000000000..f414c375f3d0 --- /dev/null +++ b/media-libs/lcms/lcms-2.10.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit libtool multilib-minimal + +DESCRIPTION="A lightweight, speed optimized color management engine" +HOMEPAGE="http://www.littlecms.com/" +SRC_URI="mirror://sourceforge/${PN}/lcms2-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc jpeg static-libs test +threads tiff" +RESTRICT="!test? ( test )" + +RDEPEND=" + jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] ) + tiff? ( >=media-libs/tiff-4.0.3-r6:0=[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/lcms2-${PV}" + +src_prepare() { + default + elibtoolize # for Prefix/Solaris +} + +multilib_src_configure() { + local myeconfargs=( + $(use_with jpeg) + $(use_enable static-libs static) + $(use_with threads) + $(use_with tiff) + --without-zlib + ) + ECONF_SOURCE="${S}" econf ${myeconfargs[@]} +} + +multilib_src_install_all() { + find "${ED}" -type f -name "*.la" -delete || die + + if use doc; then + docinto pdf + dodoc doc/*.pdf + fi +} |