diff options
author | Markus Meier <maekke@gentoo.org> | 2009-12-05 17:45:51 +0000 |
---|---|---|
committer | Markus Meier <maekke@gentoo.org> | 2009-12-05 17:45:51 +0000 |
commit | ea8e7fd39ddbff06660cb450ced7fa3894d3e5ab (patch) | |
tree | b50acc39ae7d5b51eddc8b55262bb55543c29d43 /media-gfx | |
parent | Unused patches (diff) | |
download | gentoo-2-ea8e7fd39ddbff06660cb450ced7fa3894d3e5ab.tar.gz gentoo-2-ea8e7fd39ddbff06660cb450ced7fa3894d3e5ab.tar.bz2 gentoo-2-ea8e7fd39ddbff06660cb450ced7fa3894d3e5ab.zip |
version bump
(Portage version: 2.2_rc54/cvs/Linux i686)
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/enblend/ChangeLog | 7 | ||||
-rw-r--r-- | media-gfx/enblend/enblend-4.0_rc3.ebuild | 77 |
2 files changed, 83 insertions, 1 deletions
diff --git a/media-gfx/enblend/ChangeLog b/media-gfx/enblend/ChangeLog index 4b4df5b0ec7c..c50f74fac2d0 100644 --- a/media-gfx/enblend/ChangeLog +++ b/media-gfx/enblend/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-gfx/enblend # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/enblend/ChangeLog,v 1.34 2009/11/29 23:54:30 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/enblend/ChangeLog,v 1.35 2009/12/05 17:45:51 maekke Exp $ + +*enblend-4.0_rc3 (05 Dec 2009) + + 05 Dec 2009; Markus Meier <maekke@gentoo.org> +enblend-4.0_rc3.ebuild: + version bump *enblend-4.0_rc2 (29 Nov 2009) diff --git a/media-gfx/enblend/enblend-4.0_rc3.ebuild b/media-gfx/enblend/enblend-4.0_rc3.ebuild new file mode 100644 index 000000000000..dc5c04026736 --- /dev/null +++ b/media-gfx/enblend/enblend-4.0_rc3.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/enblend/enblend-4.0_rc3.ebuild,v 1.1 2009/12/05 17:45:51 maekke Exp $ + +EAPI=2 + +inherit eutils + +DESCRIPTION="Image Blending with Multiresolution Splines" +HOMEPAGE="http://enblend.sourceforge.net/" +SRC_URI="mirror://sourceforge/enblend/${PN}-enfuse-${PV/_rc/RC}.tar.gz" + +LICENSE="GPL-2 VIGRA" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="debug doc gpu +image-cache +openexr openmp" + +RDEPEND=" + media-libs/glew + media-libs/jpeg + media-libs/lcms + media-libs/libpng + media-libs/plotutils[X] + media-libs/tiff + gpu? ( virtual/glut ) + openexr? ( >=media-libs/openexr-1.0 )" +DEPEND="${RDEPEND} + >=dev-libs/boost-1.31.0 + dev-util/pkgconfig + doc? ( + media-gfx/transfig + sci-visualization/gnuplot + virtual/latex-base + )" + +S="${WORKDIR}/${PN}-enfuse-4.0RC3-3649376226b5" + +pkg_setup() { + if use image-cache && use openmp; then + ewarn "the openmp and image-cache USE-flags are mutually exclusive" + ewarn "image-cache will be disabled in favour of openmp" + fi +} + +src_configure() { + local myconf="" + if use image-cache && use openmp; then + myconf="--disable-image-cache --enable-openmp" + else + myconf="$(use_enable image-cache) $(use_enable openmp)" + fi + + use doc && myconf="${myconf} --with-gnuplot=$(type -p gnuplot)" \ + || myconf="${myconf} --with-gnuplot=false" + + econf \ + --with-x \ + $(use_enable debug) \ + $(use_enable gpu gpu-support) \ + $(use_with openexr) \ + ${myconf} +} + +src_compile() { + # forcing -j1 as every parallel compilation process needs about 1 GB RAM. + emake -j1 || die + if use doc; then + cd doc + make enblend.pdf enfuse.pdf || die + fi +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog NEWS README || die + use doc && dodoc doc/en{blend,fuse}.pdf +} |