summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-11-26 12:22:32 +0000
committerJustin Lecher <jlec@gentoo.org>2013-11-26 12:22:32 +0000
commit57739f548ce7206427a307cd5ba77f082d6e3a69 (patch)
treee9f42556e67f24a2cc9c1fccb7174de79b60d7a6 /media-gfx/enblend
parentVersion bump. (diff)
downloadgentoo-2-57739f548ce7206427a307cd5ba77f082d6e3a69.tar.gz
gentoo-2-57739f548ce7206427a307cd5ba77f082d6e3a69.tar.bz2
gentoo-2-57739f548ce7206427a307cd5ba77f082d6e3a69.zip
media-gfx/enblend: Version BUmp
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'media-gfx/enblend')
-rw-r--r--media-gfx/enblend/ChangeLog8
-rw-r--r--media-gfx/enblend/enblend-4.1.2.ebuild73
-rw-r--r--media-gfx/enblend/metadata.xml10
3 files changed, 85 insertions, 6 deletions
diff --git a/media-gfx/enblend/ChangeLog b/media-gfx/enblend/ChangeLog
index fa958ddd31e2..c91854ff53d4 100644
--- a/media-gfx/enblend/ChangeLog
+++ b/media-gfx/enblend/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/enblend
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/enblend/ChangeLog,v 1.56 2013/09/09 22:26:33 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/enblend/ChangeLog,v 1.57 2013/11/26 12:22:32 jlec Exp $
+
+*enblend-4.1.2 (26 Nov 2013)
+
+ 26 Nov 2013; Justin Lecher <jlec@gentoo.org> +enblend-4.1.2.ebuild,
+ metadata.xml:
+ Version BUmp
09 Sep 2013; Markus Meier <maekke@gentoo.org> enblend-4.1.1-r1.ebuild:
add slot operator deps for media-libs/openexr and dev-libs/boost
diff --git a/media-gfx/enblend/enblend-4.1.2.ebuild b/media-gfx/enblend/enblend-4.1.2.ebuild
new file mode 100644
index 000000000000..fbc34e610948
--- /dev/null
+++ b/media-gfx/enblend/enblend-4.1.2.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/enblend/enblend-4.1.2.ebuild,v 1.1 2013/11/26 12:22:32 jlec Exp $
+
+EAPI=5
+
+inherit cmake-utils
+
+MY_P="${PN}-enfuse-${PV/_rc/rc}"
+
+DESCRIPTION="Image Blending with Multiresolution Splines"
+HOMEPAGE="http://enblend.sourceforge.net/"
+SRC_URI="mirror://sourceforge/enblend/${MY_P}.tar.gz"
+
+LICENSE="GPL-2 VIGRA"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug doc gpu image-cache openmp"
+
+REQUIRED_USE="openmp? ( !image-cache )"
+
+RDEPEND="
+ media-libs/glew
+ =media-libs/lcms-2*
+ >=media-libs/libpng-1.2.43:0=
+ >=media-libs/openexr-1.0:=
+ media-libs/plotutils[X]
+ media-libs/tiff
+ >=media-libs/vigra-1.8.0
+ sci-libs/gsl
+ virtual/jpeg:0=
+ debug? ( dev-libs/dmalloc )
+ gpu? ( media-libs/freeglut )"
+DEPEND="${RDEPEND}
+ >=dev-libs/boost-1.31.0:=
+ virtual/pkgconfig
+ doc? (
+ media-gfx/imagemagick
+ media-gfx/transfig
+ sci-visualization/gnuplot[gd]
+ virtual/latex-base
+ )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ sed -i -e "/CXX_FLAGS/s:-O3::g" CMakeLists.txt || die
+ sed -i -e "s:doc/enblend:doc/${P}:" doc/CMakeLists.txt || die
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_CXX_FLAGS_RELEASE=""
+ $(cmake-utils_use_enable debug DMALLOC)
+ $(cmake-utils_use doc DOC)
+ $(cmake-utils_use_enable image-cache IMAGECACHE)
+ $(cmake-utils_use_enable openmp)
+ $(cmake-utils_use_enable gpu)
+ )
+ CMAKE_BUILD_TYPE="Release"
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ # forcing -j1 as every parallel compilation process needs about 1 GB RAM.
+ cmake-utils_src_compile -j1
+}
+
+src_install() {
+ local DOCS=( AUTHORS ChangeLog NEWS README )
+ cmake-utils_src_install
+}
diff --git a/media-gfx/enblend/metadata.xml b/media-gfx/enblend/metadata.xml
index c1cc64362f2b..db61829c50b5 100644
--- a/media-gfx/enblend/metadata.xml
+++ b/media-gfx/enblend/metadata.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-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>
+ <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>