diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2009-04-03 17:40:53 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2009-04-03 17:40:53 +0000 |
commit | 6a101ac3f85d7b9b1293474c17e9ca2b7e380a9b (patch) | |
tree | 2bbfd205159c2f7de155867bf2093b24e2fe9cbc /media-libs | |
parent | Manifest fix (diff) | |
download | gentoo-2-6a101ac3f85d7b9b1293474c17e9ca2b7e380a9b.tar.gz gentoo-2-6a101ac3f85d7b9b1293474c17e9ca2b7e380a9b.tar.bz2 gentoo-2-6a101ac3f85d7b9b1293474c17e9ca2b7e380a9b.zip |
Version bump. Needed in koffice2.
(Portage version: 2.2_rc26/cvs/Linux i686)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/lcms/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/lcms/lcms-1.18.ebuild | 52 |
2 files changed, 59 insertions, 2 deletions
diff --git a/media-libs/lcms/ChangeLog b/media-libs/lcms/ChangeLog index 3777623240d9..a2b421ad957c 100644 --- a/media-libs/lcms/ChangeLog +++ b/media-libs/lcms/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/lcms -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/lcms/ChangeLog,v 1.89 2008/04/20 17:01:55 flameeyes Exp $ +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/lcms/ChangeLog,v 1.90 2009/04/03 17:40:53 scarabeus Exp $ + +*lcms-1.18 (03 Apr 2009) + + 03 Apr 2009; Tomas Chvatal <scarabeus@gentoo.org> +lcms-1.18.ebuild: + Version bump. Needed in koffice2. 20 Apr 2008; Diego Pettenò <flameeyes@gentoo.org> lcms-1.17.ebuild: Make swig a build-time only dependency, fixes bug #216993. diff --git a/media-libs/lcms/lcms-1.18.ebuild b/media-libs/lcms/lcms-1.18.ebuild new file mode 100644 index 000000000000..7bebe9a316ec --- /dev/null +++ b/media-libs/lcms/lcms-1.18.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/lcms/lcms-1.18.ebuild,v 1.1 2009/04/03 17:40:53 scarabeus Exp $ + +EAPI="2" + +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" + +RDEPEND="tiff? ( media-libs/tiff ) + jpeg? ( media-libs/jpeg ) + zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND} + python? ( >=dev-lang/swig-1.3.31 )" + +src_prepare() { + # 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_configure() { + econf \ + --disable-dependency-tracking \ + $(use_with jpeg) \ + $(use_with python) \ + $(use_with tiff) \ + $(use_with zlib) +} + +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/* +} |