diff options
-rw-r--r-- | media-libs/lcms/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/lcms/files/digest-lcms-1.17 | 3 | ||||
-rw-r--r-- | media-libs/lcms/lcms-1.17.ebuild | 61 |
3 files changed, 72 insertions, 1 deletions
diff --git a/media-libs/lcms/ChangeLog b/media-libs/lcms/ChangeLog index 97f86923c24d..388b64e478aa 100644 --- a/media-libs/lcms/ChangeLog +++ b/media-libs/lcms/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-libs/lcms # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/lcms/ChangeLog,v 1.78 2007/03/27 11:12:20 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/lcms/ChangeLog,v 1.79 2007/08/08 22:31:14 genstef Exp $ + +*lcms-1.17 (08 Aug 2007) + + 08 Aug 2007; Stefan Schweizer <genstef@gentoo.org> +lcms-1.17.ebuild: + Version bump thanks gergan from the minefield overlay and multilib fix + thanks Kenneth Prugh <ken69267@gmail.com> and keytoaster for reporting in + bug 185294 27 Mar 2007; Roy Marples <uberlord@gentoo.org> lcms-1.16.ebuild: Refresh install-sh from libtool so we correctly install on FreeBSD. diff --git a/media-libs/lcms/files/digest-lcms-1.17 b/media-libs/lcms/files/digest-lcms-1.17 new file mode 100644 index 000000000000..ee7922d543de --- /dev/null +++ b/media-libs/lcms/files/digest-lcms-1.17 @@ -0,0 +1,3 @@ +MD5 07bdbb4cfb05d21caa58fe3d1c84ddc1 lcms-1.17.tar.gz 898816 +RMD160 1ad67295b53a82e4813294cbcdfccf8a5bdb1bbd lcms-1.17.tar.gz 898816 +SHA256 5ef3b4dab30956772009e29dba33fe1256cf9da161106a1e70b0966c96d14583 lcms-1.17.tar.gz 898816 diff --git a/media-libs/lcms/lcms-1.17.ebuild b/media-libs/lcms/lcms-1.17.ebuild new file mode 100644 index 000000000000..1d6dbac404df --- /dev/null +++ b/media-libs/lcms/lcms-1.17.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/lcms/lcms-1.17.ebuild,v 1.1 2007/08/08 22:31:14 genstef Exp $ + +inherit libtool eutils multilib + +DESCRIPTION="A lightweight, speed optimized color management engine" +HOMEPAGE="http://www.littlecms.com/" +SRC_URI="http://www.littlecms.com/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="tiff jpeg zlib python" + +DEPEND="tiff? ( media-libs/tiff ) + jpeg? ( media-libs/jpeg ) + zlib? ( sys-libs/zlib ) + python? ( >=dev-lang/python-1.5.2 >=dev-lang/swig-1.3.31 )" + # ugly workaround because arches have not keyworded it +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + + # We need to refresh this for the BSD's + cp /usr/share/libtool/install-sh . + + elibtoolize + + # run swig to regenerate lcms_wrap.cxx and lcms.py (bug #148728) + if use python; then + cd "${S}"/python + ./swig_lcms || die "swig_lcms failed" + fi +} + +src_compile() { + econf \ + --disable-dependency-tracking \ + $(use_with jpeg) \ + $(use_with tiff) \ + $(use_with zlib) \ + $(use_with python) \ + || die + emake || die "emake failed" +} + +src_install() { + emake \ + DESTDIR="${D}" \ + BINDIR="${D}"/usr/bin \ + libdir=/usr/$(get_libdir) \ + install || die "make install failed" + + insinto /usr/share/lcms/profiles + doins testbed/*.icm + + dodoc AUTHORS README* INSTALL NEWS doc/* +} |