summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2006-11-08 20:35:13 +0000
committerAlexis Ballier <aballier@gentoo.org>2006-11-08 20:35:13 +0000
commit6da93201fa18c00d1924a0871c4bb609f67a4166 (patch)
tree131364bbd1ecffd0b7ea70959a6423a40e82fe26 /media-libs
parentAdded note for global psqlrc (diff)
downloadgentoo-2-6da93201fa18c00d1924a0871c4bb609f67a4166.tar.gz
gentoo-2-6da93201fa18c00d1924a0871c4bb609f67a4166.tar.bz2
gentoo-2-6da93201fa18c00d1924a0871c4bb609f67a4166.zip
Version bump, thanks to James Cloos <cloos@jhcloos.com>, bug #142921
(Portage version: 2.1.2_rc1-r5)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/openexr/ChangeLog8
-rw-r--r--media-libs/openexr/files/digest-openexr-1.4.0a3
-rw-r--r--media-libs/openexr/files/openexr-1.4.0a-asneeded.patch11
-rw-r--r--media-libs/openexr/openexr-1.4.0a.ebuild57
4 files changed, 78 insertions, 1 deletions
diff --git a/media-libs/openexr/ChangeLog b/media-libs/openexr/ChangeLog
index 26aa21aa1b05..93d23b76ee23 100644
--- a/media-libs/openexr/ChangeLog
+++ b/media-libs/openexr/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/openexr
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/openexr/ChangeLog,v 1.46 2006/11/07 18:50:13 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/openexr/ChangeLog,v 1.47 2006/11/08 20:35:13 aballier Exp $
+
+*openexr-1.4.0a (08 Nov 2006)
+
+ 08 Nov 2006; Alexis Ballier <aballier@gentoo.org>
+ +files/openexr-1.4.0a-asneeded.patch, +openexr-1.4.0a.ebuild:
+ Version bump, thanks to James Cloos <cloos@jhcloos.com>, bug #142921
07 Nov 2006; Alexis Ballier <aballier@gentoo.org> openexr-1.2.2-r2.ebuild:
Fixing the sed line for tests, wrt to bug #139734
diff --git a/media-libs/openexr/files/digest-openexr-1.4.0a b/media-libs/openexr/files/digest-openexr-1.4.0a
new file mode 100644
index 000000000000..4db8fdcc438c
--- /dev/null
+++ b/media-libs/openexr/files/digest-openexr-1.4.0a
@@ -0,0 +1,3 @@
+MD5 d0a4b9a930c766fa51561b05fb204afe openexr-1.4.0a.tar.gz 9673041
+RMD160 74e43977c88fc9a3d7c74bcd808a477489dad8c2 openexr-1.4.0a.tar.gz 9673041
+SHA256 5d8a7327bd28eeb5d3064640d8eb32c3cd8c5a15999c70b0afa9f8af851936d1 openexr-1.4.0a.tar.gz 9673041
diff --git a/media-libs/openexr/files/openexr-1.4.0a-asneeded.patch b/media-libs/openexr/files/openexr-1.4.0a-asneeded.patch
new file mode 100644
index 000000000000..70d856f15c89
--- /dev/null
+++ b/media-libs/openexr/files/openexr-1.4.0a-asneeded.patch
@@ -0,0 +1,11 @@
+--- openexr-1.4.0/IlmThread/Makefile.am.old 2006-11-08 08:10:18.000000000 +0100
++++ openexr-1.4.0/IlmThread/Makefile.am 2006-11-08 08:10:24.000000000 +0100
+@@ -11,7 +11,7 @@
+ IlmThreadMutexPosix.cpp
+
+ libIlmThread_la_LDFLAGS = -version-info @LIBTOOL_VERSION@ -no-undefined
+-libIlmThread_la_LIBADD = ../Iex/libIex.la
++libIlmThread_la_LIBADD = ../Iex/libIex.la -lpthread
+
+ libIlmThreadincludedir = $(includedir)/OpenEXR
+
diff --git a/media-libs/openexr/openexr-1.4.0a.ebuild b/media-libs/openexr/openexr-1.4.0a.ebuild
new file mode 100644
index 000000000000..524ae7490036
--- /dev/null
+++ b/media-libs/openexr/openexr-1.4.0a.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/openexr/openexr-1.4.0a.ebuild,v 1.1 2006/11/08 20:35:13 aballier Exp $
+
+WANT_AUTOMAKE=1.9
+
+inherit eutils libtool autotools
+
+DESCRIPTION="ILM's HDR image file format libraries"
+SRC_URI="http://savannah.nongnu.org/download/openexr/${P}.tar.gz"
+HOMEPAGE="http://www.openexr.com"
+
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE_VIDEO_CARDS="video_cards_nvidia"
+IUSE="doc examples opengl ${IUSE_VIDEO_CARDS}"
+
+RDEPEND="opengl? ( virtual/opengl
+ >=x11-libs/fltk-1.1.0
+ video_cards_nvidia? ( media-gfx/nvidia-cg-toolkit ) )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+S="${WORKDIR}/${P/a/}"
+
+src_unpack() {
+ if use opengl && ! built_with_use x11-libs/fltk opengl; then
+ die "You need opengl support in fltk"
+ fi
+
+ unpack ${A}
+
+ # Replace the temporary directory used for tests
+ sed -i -e 's:"/var/tmp/":"'${T}'":' "${S}/IlmImfTest/tmpDir.h"
+
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-asneeded.patch"
+ eautomake
+ elibtoolize
+}
+
+src_compile() {
+ econf \
+ $(use_enable examples imfexamples) \
+ $(use_with opengl fltk-config /usr/bin/fltk-config)
+
+ emake || die "make failed"
+}
+
+src_install () {
+ emake DESTDIR="${D}" examplesdir="/usr/share/doc/${PF}/examples" install || \
+ die "install failed"
+ dodoc AUTHORS Changelog README* ChangeLog LICENSE NEWS
+ newdoc exrdisplay/README README.exrdisplay
+ use doc && dodoc doc/*pdf
+}