summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2013-07-23 09:42:55 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2013-07-23 09:42:55 +0000
commit40fd0dd03e577cb8d4abc3562eead697f969d552 (patch)
tree4d7f415b7d140752f14c70e0da52cc984daf562b /media-gfx/openexr_viewers
parentFix namespace handling with OpenEXR >= 2.0.1 wrt http://lists.gnu.org/archive... (diff)
downloadgentoo-2-40fd0dd03e577cb8d4abc3562eead697f969d552.tar.gz
gentoo-2-40fd0dd03e577cb8d4abc3562eead697f969d552.tar.bz2
gentoo-2-40fd0dd03e577cb8d4abc3562eead697f969d552.zip
Version bump.
(Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'media-gfx/openexr_viewers')
-rw-r--r--media-gfx/openexr_viewers/ChangeLog9
-rw-r--r--media-gfx/openexr_viewers/openexr_viewers-2.0.1.ebuild56
2 files changed, 63 insertions, 2 deletions
diff --git a/media-gfx/openexr_viewers/ChangeLog b/media-gfx/openexr_viewers/ChangeLog
index 84dd7fd1ac1d..9321fc74db67 100644
--- a/media-gfx/openexr_viewers/ChangeLog
+++ b/media-gfx/openexr_viewers/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/openexr_viewers
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/openexr_viewers/ChangeLog,v 1.29 2013/03/12 21:45:31 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/openexr_viewers/ChangeLog,v 1.30 2013/07/23 09:42:55 ssuominen Exp $
+
+*openexr_viewers-2.0.1 (23 Jul 2013)
+
+ 23 Jul 2013; Samuli Suominen <ssuominen@gentoo.org>
+ +openexr_viewers-2.0.1.ebuild:
+ Version bump.
*openexr_viewers-2.0.0 (12 Mar 2013)
@@ -119,4 +125,3 @@
+openexr_viewers-1.0.0.ebuild:
Initial import, split of media-libs/openexr, thanks to : Arfrever Frehtes
Taifersar Arahesis <Arfrever.FTA@GMail.Com> for the ebuilds, bug #189798
-
diff --git a/media-gfx/openexr_viewers/openexr_viewers-2.0.1.ebuild b/media-gfx/openexr_viewers/openexr_viewers-2.0.1.ebuild
new file mode 100644
index 000000000000..5a5ea62c280a
--- /dev/null
+++ b/media-gfx/openexr_viewers/openexr_viewers-2.0.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/openexr_viewers/openexr_viewers-2.0.1.ebuild,v 1.1 2013/07/23 09:42:55 ssuominen Exp $
+
+EAPI=5
+inherit autotools eutils flag-o-matic
+
+DESCRIPTION="OpenEXR Viewers"
+HOMEPAGE="http://openexr.com/"
+SRC_URI="http://download.savannah.gnu.org/releases/openexr/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="cg opengl"
+
+RDEPEND=">=media-libs/ilmbase-${PV}:=
+ >=media-libs/openexr-${PV}:=
+ media-libs/ctl:=
+ >=media-libs/openexr_ctl-1.0.1-r2:=
+ opengl? (
+ virtual/opengl
+ x11-libs/fltk:1[opengl]
+ cg? ( media-gfx/nvidia-cg-toolkit )
+ )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die
+ epatch "${FILESDIR}"/${PN}-2.0.0-nvidia-automagic.patch
+ eautoreconf
+}
+
+src_configure() {
+ local myconf
+
+ if use cg; then
+ myconf="--with-cg-prefix=/opt/nvidia-cg-toolkit"
+ append-flags "$(no-as-needed)" # binary-only libCg is not properly linked
+ fi
+
+ econf \
+ $(use_enable cg) \
+ $(use_with opengl fltk-config /usr/bin/fltk-config) \
+ ${myconf}
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ docdir=/usr/share/doc/${PF}/pdf \
+ install
+
+ dodoc AUTHORS ChangeLog NEWS README
+}