summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2009-11-29 23:54:30 +0000
committerMarkus Meier <maekke@gentoo.org>2009-11-29 23:54:30 +0000
commit47540c83700a72e0ecd0000136315a708ac9fded (patch)
treed9df38677a2daf4de722530fb167e7cfd90eb7f2 /media-gfx
parentmask rc versions of enblend for testing (diff)
downloadgentoo-2-47540c83700a72e0ecd0000136315a708ac9fded.tar.gz
gentoo-2-47540c83700a72e0ecd0000136315a708ac9fded.tar.bz2
gentoo-2-47540c83700a72e0ecd0000136315a708ac9fded.zip
version bump to 4.0_rc2 release
(Portage version: 2.2_rc51/cvs/Linux i686)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/enblend/ChangeLog8
-rw-r--r--media-gfx/enblend/enblend-4.0_rc2.ebuild75
-rw-r--r--media-gfx/enblend/metadata.xml4
3 files changed, 86 insertions, 1 deletions
diff --git a/media-gfx/enblend/ChangeLog b/media-gfx/enblend/ChangeLog
index ea7303f810d5..4b4df5b0ec7c 100644
--- a/media-gfx/enblend/ChangeLog
+++ b/media-gfx/enblend/ChangeLog
@@ -1,6 +1,12 @@
# 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.33 2009/11/14 20:38:31 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/enblend/ChangeLog,v 1.34 2009/11/29 23:54:30 maekke Exp $
+
+*enblend-4.0_rc2 (29 Nov 2009)
+
+ 29 Nov 2009; Markus Meier <maekke@gentoo.org> +enblend-4.0_rc2.ebuild,
+ metadata.xml:
+ version bump to 4.0_rc2 release
14 Nov 2009; Markus Meier <maekke@gentoo.org> enblend-3.2.ebuild:
boost dep is DEPEND only, bug #293069
diff --git a/media-gfx/enblend/enblend-4.0_rc2.ebuild b/media-gfx/enblend/enblend-4.0_rc2.ebuild
new file mode 100644
index 000000000000..c722825031d4
--- /dev/null
+++ b/media-gfx/enblend/enblend-4.0_rc2.ebuild
@@ -0,0 +1,75 @@
+# 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_rc2.ebuild,v 1.1 2009/11/29 23:54:30 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.0-dd32463fe9de"
+
+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
+
+ econf \
+ --with-x \
+ $(use_enable debug) \
+ $(use_with doc gnuplot $(type -p gnuplot)) \
+ $(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
+}
diff --git a/media-gfx/enblend/metadata.xml b/media-gfx/enblend/metadata.xml
index a083c07fab9e..c1cc64362f2b 100644
--- a/media-gfx/enblend/metadata.xml
+++ b/media-gfx/enblend/metadata.xml
@@ -2,4 +2,8 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>graphics</herd>
+ <use>
+ <flag name="gpu">GPU support for Enblend</flag>
+ <flag name="image-cache">allow for processing of large images</flag>
+ </use>
</pkgmetadata>