summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2014-01-22 18:35:01 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2014-01-22 18:35:01 +0000
commitb106ac3add27f86e46b355b6364b5b290c6f100f (patch)
tree0fdaa0cf0d76b45239a86bc4099554893cb5af51 /media-gfx/openexr_viewers
parentold (diff)
downloadgentoo-2-b106ac3add27f86e46b355b6364b5b290c6f100f.tar.gz
gentoo-2-b106ac3add27f86e46b355b6364b5b290c6f100f.tar.bz2
gentoo-2-b106ac3add27f86e46b355b6364b5b290c6f100f.zip
Version bump.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'media-gfx/openexr_viewers')
-rw-r--r--media-gfx/openexr_viewers/ChangeLog8
-rw-r--r--media-gfx/openexr_viewers/openexr_viewers-2.1.0.ebuild56
2 files changed, 63 insertions, 1 deletions
diff --git a/media-gfx/openexr_viewers/ChangeLog b/media-gfx/openexr_viewers/ChangeLog
index 570199f31a98..a67a59f0a6d2 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-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/openexr_viewers/ChangeLog,v 1.31 2014/01/22 18:30:48 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/openexr_viewers/ChangeLog,v 1.32 2014/01/22 18:35:01 ssuominen Exp $
+
+*openexr_viewers-2.1.0 (22 Jan 2014)
+
+ 22 Jan 2014; Samuli Suominen <ssuominen@gentoo.org>
+ +openexr_viewers-2.1.0.ebuild:
+ Version bump.
22 Jan 2014; Samuli Suominen <ssuominen@gentoo.org>
-openexr_viewers-2.0.0.ebuild:
diff --git a/media-gfx/openexr_viewers/openexr_viewers-2.1.0.ebuild b/media-gfx/openexr_viewers/openexr_viewers-2.1.0.ebuild
new file mode 100644
index 000000000000..32df650f0749
--- /dev/null
+++ b/media-gfx/openexr_viewers/openexr_viewers-2.1.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2014 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.1.0.ebuild,v 1.1 2014/01/22 18:35:01 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
+}