summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2007-09-13 21:10:26 +0000
committerAlexis Ballier <aballier@gentoo.org>2007-09-13 21:10:26 +0000
commite4b77f0b4f38b5f2f12a7450c262d39e319941e5 (patch)
tree81403c1a8e0a64fd863f7e368955f45cd0fa7f69 /media-gfx/openexr_viewers
parentInitial import, split of media-libs/openexr, thanks to : Arfrever Frehtes ... (diff)
downloadhistorical-e4b77f0b4f38b5f2f12a7450c262d39e319941e5.tar.gz
historical-e4b77f0b4f38b5f2f12a7450c262d39e319941e5.tar.bz2
historical-e4b77f0b4f38b5f2f12a7450c262d39e319941e5.zip
Initial import, split of media-libs/openexr, thanks to : Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com> for the ebuilds, bug #189798
Package-Manager: portage-2.1.3.9
Diffstat (limited to 'media-gfx/openexr_viewers')
-rw-r--r--media-gfx/openexr_viewers/ChangeLog12
-rw-r--r--media-gfx/openexr_viewers/Manifest30
-rw-r--r--media-gfx/openexr_viewers/files/digest-openexr_viewers-1.0.03
-rw-r--r--media-gfx/openexr_viewers/files/openexr_viewers-1.0.0-nvidia-automagic.patch18
-rw-r--r--media-gfx/openexr_viewers/metadata.xml8
-rw-r--r--media-gfx/openexr_viewers/openexr_viewers-1.0.0.ebuild58
6 files changed, 129 insertions, 0 deletions
diff --git a/media-gfx/openexr_viewers/ChangeLog b/media-gfx/openexr_viewers/ChangeLog
new file mode 100644
index 000000000000..bc5c8fd1cf4e
--- /dev/null
+++ b/media-gfx/openexr_viewers/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for media-gfx/openexr_viewers
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/openexr_viewers/ChangeLog,v 1.1 2007/09/13 21:10:25 aballier Exp $
+
+*openexr_viewers-1.0.0 (13 Sep 2007)
+
+ 13 Sep 2007; Alexis Ballier <aballier@gentoo.org>
+ +files/openexr_viewers-1.0.0-nvidia-automagic.patch, +metadata.xml,
+ +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/Manifest b/media-gfx/openexr_viewers/Manifest
new file mode 100644
index 000000000000..512bea79d8bd
--- /dev/null
+++ b/media-gfx/openexr_viewers/Manifest
@@ -0,0 +1,30 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX openexr_viewers-1.0.0-nvidia-automagic.patch 685 RMD160 0055431676c8bebf943bc15a7f1046d6e5063e2e SHA1 c2a7305a45f01c866d8fa35f911dbe646e3355cc SHA256 9ac7325a4f0cb07c441ae66a2ef3c9c589a2a41e93fb8799e4e16c8841acae3b
+MD5 0d47bc31b371fce0de3e6b788412472c files/openexr_viewers-1.0.0-nvidia-automagic.patch 685
+RMD160 0055431676c8bebf943bc15a7f1046d6e5063e2e files/openexr_viewers-1.0.0-nvidia-automagic.patch 685
+SHA256 9ac7325a4f0cb07c441ae66a2ef3c9c589a2a41e93fb8799e4e16c8841acae3b files/openexr_viewers-1.0.0-nvidia-automagic.patch 685
+DIST openexr_viewers-1.0.0.tar.gz 478305 RMD160 02d00cfd3cadeb5ae9f50ae038a4fcf89c625cc6 SHA1 6859a59d356afa12dcc8323354329d9fb4e3b3b0 SHA256 382f3ef9797390328d14b82acf659d735244fd2ea01de98d62543d0dfa61654c
+EBUILD openexr_viewers-1.0.0.ebuild 1412 RMD160 395be20df025c661fac2d0794c978e85b12371ca SHA1 fefdac50f67037395c6d1a277cdb8ef5d5bdabbd SHA256 5dd0682eba45f7a0fbce3996933ce045585d5b8ba3b9177b1f85e8689b165329
+MD5 9292f6da534f9bf7d07164923ac11150 openexr_viewers-1.0.0.ebuild 1412
+RMD160 395be20df025c661fac2d0794c978e85b12371ca openexr_viewers-1.0.0.ebuild 1412
+SHA256 5dd0682eba45f7a0fbce3996933ce045585d5b8ba3b9177b1f85e8689b165329 openexr_viewers-1.0.0.ebuild 1412
+MISC ChangeLog 570 RMD160 71ed4964dd79fe64e6a51f1acf505f9021f05e5e SHA1 d9bd4eed8d490b05e64bd5f3be300aaffacf93ca SHA256 8cd9a442aa3aaf37edd02dd7bce80632abf750e6c631e16dc694d692de5e7691
+MD5 e81d3f519a3fa5c4f977160e617acdc6 ChangeLog 570
+RMD160 71ed4964dd79fe64e6a51f1acf505f9021f05e5e ChangeLog 570
+SHA256 8cd9a442aa3aaf37edd02dd7bce80632abf750e6c631e16dc694d692de5e7691 ChangeLog 570
+MISC metadata.xml 223 RMD160 86b42c49b694db39ddb3fdc60b98a3ad1a0c3392 SHA1 ea8c387229caaf4b0d3c9fbef9143b70dcae0b0d SHA256 dd48e823ec9a151bc3611121402ed26ee24eb3304aa62870b1e875a8fa0ac812
+MD5 0338bfb24d7bfb6450aac4dd025c0096 metadata.xml 223
+RMD160 86b42c49b694db39ddb3fdc60b98a3ad1a0c3392 metadata.xml 223
+SHA256 dd48e823ec9a151bc3611121402ed26ee24eb3304aa62870b1e875a8fa0ac812 metadata.xml 223
+MD5 f79934b1b0749a521e99d570b5a2794c files/digest-openexr_viewers-1.0.0 265
+RMD160 cea5cfa7caee2cad59563afe15b1e258262c2083 files/digest-openexr_viewers-1.0.0 265
+SHA256 28ca03c92abdb0ca412ce5b996b7f7abedb323921d70de037dadebb11d41edd7 files/digest-openexr_viewers-1.0.0 265
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFG6adMvFcC4BYPU0oRApS+AKC2113bQkVgjlUXkZaWDnPlWayRQQCfRYlG
+Vi9hmbfCnEm5qb7BO4xqpfo=
+=yaM8
+-----END PGP SIGNATURE-----
diff --git a/media-gfx/openexr_viewers/files/digest-openexr_viewers-1.0.0 b/media-gfx/openexr_viewers/files/digest-openexr_viewers-1.0.0
new file mode 100644
index 000000000000..e95a88c3fb34
--- /dev/null
+++ b/media-gfx/openexr_viewers/files/digest-openexr_viewers-1.0.0
@@ -0,0 +1,3 @@
+MD5 ea508d44d27206f7cc07492aec375969 openexr_viewers-1.0.0.tar.gz 478305
+RMD160 02d00cfd3cadeb5ae9f50ae038a4fcf89c625cc6 openexr_viewers-1.0.0.tar.gz 478305
+SHA256 382f3ef9797390328d14b82acf659d735244fd2ea01de98d62543d0dfa61654c openexr_viewers-1.0.0.tar.gz 478305
diff --git a/media-gfx/openexr_viewers/files/openexr_viewers-1.0.0-nvidia-automagic.patch b/media-gfx/openexr_viewers/files/openexr_viewers-1.0.0-nvidia-automagic.patch
new file mode 100644
index 000000000000..98feae8a06eb
--- /dev/null
+++ b/media-gfx/openexr_viewers/files/openexr_viewers-1.0.0-nvidia-automagic.patch
@@ -0,0 +1,18 @@
+Index: openexr-1.4.0/configure.ac
+===================================================================
+--- openexr-1.4.0.orig/configure.ac
++++ openexr-1.4.0/configure.ac
+@@ -45,7 +45,12 @@ AM_PATH_FLTK(have_fltk=yes, have_fltk=no
+ dnl
+ dnl check for Cg
+ dnl
+-if test "${have_fltk}" = yes; then
++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/metadata.xml b/media-gfx/openexr_viewers/metadata.xml
new file mode 100644
index 000000000000..edccfe5754d2
--- /dev/null
+++ b/media-gfx/openexr_viewers/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>video</herd>
+<maintainer>
+<email>media-video@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/media-gfx/openexr_viewers/openexr_viewers-1.0.0.ebuild b/media-gfx/openexr_viewers/openexr_viewers-1.0.0.ebuild
new file mode 100644
index 000000000000..a34b1c8548fd
--- /dev/null
+++ b/media-gfx/openexr_viewers/openexr_viewers-1.0.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2007 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.0.ebuild,v 1.1 2007/09/13 21:10:25 aballier Exp $
+
+inherit autotools eutils
+
+DESCRIPTION="OpenEXR Viewers"
+SRC_URI="download.savannah.nongnu.org/releases/openexr/${P}.tar.gz"
+HOMEPAGE="http://openexr.com/"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~amd64 ~x86"
+IUSE_VIDEO_CARDS="video_cards_nvidia"
+IUSE="doc opengl ${IUSE_VIDEO_CARDS}"
+
+RDEPEND="media-libs/ilmbase
+ media-libs/openexr
+ media-libs/ctl
+ media-libs/openexr_ctl
+ opengl? ( virtual/opengl
+ >=x11-libs/fltk-1.1.0
+ video_cards_nvidia? ( media-gfx/nvidia-cg-toolkit ) )"
+DEPEND="${RDEPEND}
+ !<media-libs/openexr-1.5.0
+ dev-util/pkgconfig"
+
+pkg_setup() {
+ if use opengl && ! built_with_use x11-libs/fltk opengl ; then
+ die "You need OpenGL support in FLTK"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-nvidia-automagic.patch"
+ AT_M4DIR="m4" eautoreconf
+}
+
+src_compile() {
+ econf \
+ $(use_with opengl fltk-config /usr/bin/fltk-config) \
+ $(use_enable video_cards_nvidia nvidia)
+ emake || die "emake failed"
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "install failed"
+ dodoc AUTHORS ChangeLog NEWS README
+
+ if use doc ; then
+ insinto "/usr/share/doc/${PF}"
+ doins doc/*.pdf
+ fi
+ rm -frv "${D}usr/share/doc/OpenEXR_Viewers"*
+}