summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2013-03-11 20:14:14 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2013-03-11 20:14:14 +0000
commit43af60e18f303abb6862db17ef98db903e8ebff1 (patch)
tree4eeffd07e8534b2eef157d0d899532841710a8e7 /media-libs/openexr
parentVersion bump. (diff)
downloadgentoo-2-43af60e18f303abb6862db17ef98db903e8ebff1.tar.gz
gentoo-2-43af60e18f303abb6862db17ef98db903e8ebff1.tar.bz2
gentoo-2-43af60e18f303abb6862db17ef98db903e8ebff1.zip
Version bump.
(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'media-libs/openexr')
-rw-r--r--media-libs/openexr/ChangeLog9
-rw-r--r--media-libs/openexr/openexr-2.0.0.ebuild57
2 files changed, 64 insertions, 2 deletions
diff --git a/media-libs/openexr/ChangeLog b/media-libs/openexr/ChangeLog
index 0465440ce911..dd1bb8ad3418 100644
--- a/media-libs/openexr/ChangeLog
+++ b/media-libs/openexr/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/openexr
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/openexr/ChangeLog,v 1.87 2012/05/09 17:00:17 aballier Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/openexr/ChangeLog,v 1.88 2013/03/11 20:14:14 ssuominen Exp $
+
+*openexr-2.0.0 (11 Mar 2013)
+
+ 11 Mar 2013; Samuli Suominen <ssuominen@gentoo.org> +openexr-2.0.0.ebuild:
+ Version bump.
09 May 2012; Alexis Ballier <aballier@gentoo.org> openexr-1.7.0.ebuild:
keyword ~amd64-fbsd
diff --git a/media-libs/openexr/openexr-2.0.0.ebuild b/media-libs/openexr/openexr-2.0.0.ebuild
new file mode 100644
index 000000000000..6ae37f893e26
--- /dev/null
+++ b/media-libs/openexr/openexr-2.0.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/openexr/openexr-2.0.0.ebuild,v 1.1 2013/03/11 20:14:14 ssuominen Exp $
+
+EAPI=5
+inherit autotools eutils #libtool
+
+DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
+HOMEPAGE="http://openexr.com/"
+SRC_URI="http://download.savannah.gnu.org/releases/openexr/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 -arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="examples static-libs"
+
+RDEPEND="sys-libs/zlib
+ >=media-libs/ilmbase-${PV}"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${P}/OpenEXR
+
+src_prepare() {
+ sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die
+ # Fix path for testsuite
+ sed -i -e "s:/var/tmp/:${T}:" IlmImfTest/tmpDir.h || die
+ # Required for function memset()
+ sed -i -e '1i#include <string.h>' IlmImf/ImfAutoArray.h || die
+
+ eautoreconf
+# elibtoolize
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ $(use_enable examples imfexamples)
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ docdir=/usr/share/doc/${PF}/pdf \
+ examplesdir=/usr/share/doc/${PF}/examples \
+ install
+
+ dodoc AUTHORS ChangeLog NEWS README
+
+ if use examples; then
+ dobin IlmImfExamples/imfexamples
+ else
+ rm -rf "${ED}"/usr/share/doc/${PF}/examples
+ fi
+
+ prune_libtool_files
+}