summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-gfx/openexr_viewers/ChangeLog9
-rw-r--r--media-gfx/openexr_viewers/Manifest5
-rw-r--r--media-gfx/openexr_viewers/files/openexr_viewers-1.0.2-nvidia-automagic.patch16
-rw-r--r--media-gfx/openexr_viewers/openexr_viewers-1.0.2.ebuild58
4 files changed, 86 insertions, 2 deletions
diff --git a/media-gfx/openexr_viewers/ChangeLog b/media-gfx/openexr_viewers/ChangeLog
index 701994d74bb3..71e7cd97eada 100644
--- a/media-gfx/openexr_viewers/ChangeLog
+++ b/media-gfx/openexr_viewers/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-gfx/openexr_viewers
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/openexr_viewers/ChangeLog,v 1.19 2010/03/10 03:02:03 sping Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/openexr_viewers/ChangeLog,v 1.20 2010/07/24 16:52:40 ssuominen Exp $
+
+*openexr_viewers-1.0.2 (24 Jul 2010)
+
+ 24 Jul 2010; Samuli Suominen <ssuominen@gentoo.org>
+ +openexr_viewers-1.0.2.ebuild,
+ +files/openexr_viewers-1.0.2-nvidia-automagic.patch:
+ Version bump wrt #329713 by Arfrever Frehtes Taifersar Arahesis.
10 Mar 2010; Sebastian Pipping <sping@gentoo.org>
openexr_viewers-1.0.1.ebuild:
diff --git a/media-gfx/openexr_viewers/Manifest b/media-gfx/openexr_viewers/Manifest
index 061cfaeaef96..4e4f0ac35e14 100644
--- a/media-gfx/openexr_viewers/Manifest
+++ b/media-gfx/openexr_viewers/Manifest
@@ -1,7 +1,10 @@
AUX openexr_viewers-1.0.0-nvidia-automagic.patch 685 RMD160 0055431676c8bebf943bc15a7f1046d6e5063e2e SHA1 c2a7305a45f01c866d8fa35f911dbe646e3355cc SHA256 9ac7325a4f0cb07c441ae66a2ef3c9c589a2a41e93fb8799e4e16c8841acae3b
AUX openexr_viewers-1.0.1-gcc43.patch 2122 RMD160 2d45255837fc22a24462bf468fbe95ffd59f04bd SHA1 94c81b3931410c30cab0b5c5f6795ac74507634b SHA256 2327ca9369c9022a5f8f315d1d2a95037dcbfd610eee3dda22e11877205bd3bb
AUX openexr_viewers-1.0.1-gcc44.patch 1064 RMD160 b5445a8f456488c17e44a4b595a13d46e0b0d7ff SHA1 140ffba8bdda154a586fe7096fdb663ccec6c83b SHA256 7214f033bc84b7433f010b5297fabc383f9305a95fd02d50ff1f94c5bfe13386
+AUX openexr_viewers-1.0.2-nvidia-automagic.patch 472 RMD160 f037321d4c9eef8890c77e46fa9b4773ac488d9e SHA1 ab10769d59b67737c13141906802e566bce13ffa SHA256 95c00b84847ead53ff390e30739328c5475bdef5159fa2f621fb574ad901fa25
DIST openexr_viewers-1.0.1.tar.gz 471310 RMD160 857eab84a7236554afd46e3ab774bf89141ccbbd SHA1 8c157dd486c7bb63e06a5569f9c7bae9a2aa0d58 SHA256 e6550f96222ed5b96cf79d5951c3c27893708f3b608bc9c34784eb731b5bb8f0
+DIST openexr_viewers-1.0.2.tar.gz 482009 RMD160 4e738e2623e382b5106cf4e4e462fc4fa18d280f SHA1 a95c63ce076a4a3ea900731e5e5f98d54c9dd546 SHA256 eb6b1987d587b441f113d417dc8a5baec25f3d81bc06b0369217567c1cde13ef
EBUILD openexr_viewers-1.0.1.ebuild 1335 RMD160 f9dec6cd9389c333fe7651b6c5971c2b3ab8cd3b SHA1 8a41956457364d3907300e2385a416d10980cc0f SHA256 af1a4f2e07956b583f885409a67c5f29dea17bf2356f656b8648ec3397812575
-MISC ChangeLog 2813 RMD160 a8932c936471d582e16b052f125ea2038d488575 SHA1 39c312a3fe85a99cfa6c713ed480653443fdd985 SHA256 440bbc8dda2b69edf3f1f96c0f48237b5b1420d99798e82a054422c317c5cce3
+EBUILD openexr_viewers-1.0.2.ebuild 1492 RMD160 dc6c0216982d7f3b71e2ec26b7e0b47597ac8740 SHA1 33fb187dee18341ad94b4a08afb2cfb34cdbd6da SHA256 c6c249e015f1afbe97d0e5093eaff29e1b75a11ac76670fa2d9ac17415c39afd
+MISC ChangeLog 3065 RMD160 7e14672749c298a2c2f7a02637d666033f25caf9 SHA1 3bca62de8866e573f578602ad0771265bd57c658 SHA256 ac40b6f7950d953208c4b60ceb5d48f8b69be2ade74338a0aa0e4139b3e85905
MISC metadata.xml 223 RMD160 86b42c49b694db39ddb3fdc60b98a3ad1a0c3392 SHA1 ea8c387229caaf4b0d3c9fbef9143b70dcae0b0d SHA256 dd48e823ec9a151bc3611121402ed26ee24eb3304aa62870b1e875a8fa0ac812
diff --git a/media-gfx/openexr_viewers/files/openexr_viewers-1.0.2-nvidia-automagic.patch b/media-gfx/openexr_viewers/files/openexr_viewers-1.0.2-nvidia-automagic.patch
new file mode 100644
index 000000000000..e39a0c1da789
--- /dev/null
+++ b/media-gfx/openexr_viewers/files/openexr_viewers-1.0.2-nvidia-automagic.patch
@@ -0,0 +1,16 @@
+--- configure.ac
++++ configure.ac
+@@ -188,8 +188,11 @@
+
+ dnl
+ dnl check for Cg
+-dnlCG_LD
+-if test "${have_fltk}" = yes; then
++dnl CG_LD
++AC_ARG_ENABLE(nvidia, AC_HELP_STRING([--enable-nvidia],
++ [enable nvidia cg support [[default=check]]]), [want_nvidia="${enableval}"], [want_nvidia=yes])
++
++if test "${have_fltk}" = yes -a "${want_nvidia}" != "no"; then
+ AM_PATH_CG(have_cg=yes, have_cg=no)
+ if test "${have_cg}" = yes; then
+ AC_DEFINE(HAVE_FRAGMENT_SHADERS)
diff --git a/media-gfx/openexr_viewers/openexr_viewers-1.0.2.ebuild b/media-gfx/openexr_viewers/openexr_viewers-1.0.2.ebuild
new file mode 100644
index 000000000000..6ddf749c53b8
--- /dev/null
+++ b/media-gfx/openexr_viewers/openexr_viewers-1.0.2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/openexr_viewers/openexr_viewers-1.0.2.ebuild,v 1.1 2010/07/24 16:52:40 ssuominen Exp $
+
+EAPI=2
+inherit autotools eutils flag-o-matic
+
+DESCRIPTION="OpenEXR Viewers"
+SRC_URI="http://download.savannah.gnu.org/releases/openexr/${P}.tar.gz"
+HOMEPAGE="http://openexr.com/"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="opengl video_cards_nvidia"
+
+RDEPEND=">=media-libs/ilmbase-1.0.2
+ >=media-libs/openexr-1.7.0
+ media-libs/ctl
+ media-libs/openexr_ctl
+ opengl? ( virtual/opengl
+ x11-libs/fltk:1.1[opengl]
+ video_cards_nvidia? ( media-gfx/nvidia-cg-toolkit ) )
+ !<media-libs/openexr-1.5.0"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-nvidia-automagic.patch \
+ "${FILESDIR}"/${PN}-1.0.1-gcc43.patch \
+ "${FILESDIR}"/${PN}-1.0.1-gcc44.patch
+
+ eautoreconf
+}
+
+src_configure() {
+ local myconf
+
+ if use video_cards_nvidia; then
+ myconf="--with-cg-prefix=/opt/nvidia-cg-toolkit"
+ append-flags $(no-as-needed) # binary-only libCg is not properly linked
+ fi
+
+ econf \
+ --disable-dependency-tracking \
+ $(use_enable video_cards_nvidia nvidia) \
+ $(use_with opengl fltk-config /usr/bin/fltk-config) \
+ ${myconf}
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ docdir="/usr/share/doc/${PF}/pdf" \
+ install || die
+
+ dodoc AUTHORS ChangeLog NEWS README
+}