diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2014-08-22 22:19:35 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2014-08-22 22:19:35 +0000 |
commit | 0f317a9ce34dbb67ff53139e32a562a4ac8ad1cd (patch) | |
tree | 8e1a6eb3b89a9b38a4d8d55180a93b0b2723ddd0 /media-gfx/openexr_viewers | |
parent | Version bump. (diff) | |
download | gentoo-2-0f317a9ce34dbb67ff53139e32a562a4ac8ad1cd.tar.gz gentoo-2-0f317a9ce34dbb67ff53139e32a562a4ac8ad1cd.tar.bz2 gentoo-2-0f317a9ce34dbb67ff53139e32a562a4ac8ad1cd.zip |
Version bump.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'media-gfx/openexr_viewers')
-rw-r--r-- | media-gfx/openexr_viewers/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/openexr_viewers/openexr_viewers-2.2.0.ebuild | 56 |
2 files changed, 63 insertions, 1 deletions
diff --git a/media-gfx/openexr_viewers/ChangeLog b/media-gfx/openexr_viewers/ChangeLog index a67a59f0a6d2..1ec7dd80e936 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.32 2014/01/22 18:35:01 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/openexr_viewers/ChangeLog,v 1.33 2014/08/22 22:19:35 ssuominen Exp $ + +*openexr_viewers-2.2.0 (22 Aug 2014) + + 22 Aug 2014; Samuli Suominen <ssuominen@gentoo.org> + +openexr_viewers-2.2.0.ebuild: + Version bump. *openexr_viewers-2.1.0 (22 Jan 2014) diff --git a/media-gfx/openexr_viewers/openexr_viewers-2.2.0.ebuild b/media-gfx/openexr_viewers/openexr_viewers-2.2.0.ebuild new file mode 100644 index 000000000000..bf2e27047448 --- /dev/null +++ b/media-gfx/openexr_viewers/openexr_viewers-2.2.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.2.0.ebuild,v 1.1 2014/08/22 22:19:35 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 +} |