diff options
author | Tim Harder <radhermit@gentoo.org> | 2017-11-18 21:48:40 -0500 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2017-11-18 21:49:57 -0500 |
commit | 3a0eefcebe2d3aa12a5a7644642d51a593be1f64 (patch) | |
tree | ca502153b4955682d2e29fc7b52f54721e335d5f /media-libs/lcms | |
parent | media-libs/libsfml: remove old (diff) | |
download | gentoo-3a0eefcebe2d3aa12a5a7644642d51a593be1f64.tar.gz gentoo-3a0eefcebe2d3aa12a5a7644642d51a593be1f64.tar.bz2 gentoo-3a0eefcebe2d3aa12a5a7644642d51a593be1f64.zip |
media-libs/lcms: version bump to 2.9
Diffstat (limited to 'media-libs/lcms')
-rw-r--r-- | media-libs/lcms/Manifest | 1 | ||||
-rw-r--r-- | media-libs/lcms/lcms-2.9.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/media-libs/lcms/Manifest b/media-libs/lcms/Manifest index c783dee92b93..473514ee3882 100644 --- a/media-libs/lcms/Manifest +++ b/media-libs/lcms/Manifest @@ -1 +1,2 @@ DIST lcms2-2.8.tar.gz 6687005 SHA256 66d02b229d2ea9474e62c2b6cd6720fde946155cd1d0d2bffdab829790a0fb22 SHA512 a9478885b4892c79314a2ef9ab560e6655ac8f2d17abae0805e8b871138bb190e21f0e5c805398449f9dad528dc50baaf9e3cce8b8158eb8ff74179be5733f8f WHIRLPOOL 57c6518fa758ee69da55faeb6810ede6463a3c6b2c70e0d2ccfa789fe09cd8192fdeda04aab9800c7af3b11fea25cb08db8b914a195b48f47f3270025ce8b9b3 +DIST lcms2-2.9.tar.gz 10953949 SHA256 d4ad6f8718f7f9dc8b2a3276c9f237aa3f5eccdcf98b86dedc4262d8a1e7f009 SHA512 d91e320a97ef9d64cce31585b7df7c85accb52a0c46a10ed0f45a0ba46cc2ad6687de5151e59ac62170ea878ab48595c1493125f4afb1872824afe1c3f3c459b WHIRLPOOL 1eac52a026386b7bf8aa3fac66b485c622bd8f659c1351d5dde4acfd1fd0d6a64489b43464e203a84062b7a88a39a4ea41149c6102710016127ab10d36bc3db5 diff --git a/media-libs/lcms/lcms-2.9.ebuild b/media-libs/lcms/lcms-2.9.ebuild new file mode 100644 index 000000000000..c74830ba65eb --- /dev/null +++ b/media-libs/lcms/lcms-2.9.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="doc jpeg static-libs test +threads tiff" + +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}" -name "*.la" -delete || die + + if use doc; then + docinto pdf + dodoc doc/*.pdf + fi +} |