diff options
author | Alexis Ballier <aballier@gentoo.org> | 2007-09-13 21:10:26 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2007-09-13 21:10:26 +0000 |
commit | 6f313e4f52214ba20087e18ce0c584864e1dce2c (patch) | |
tree | 2fadd776e547faafe3a0672ae58733e6ef7b4fd3 /media-gfx | |
parent | Initial import, split of media-libs/openexr, thanks to : Arfrever Frehtes ... (diff) | |
download | gentoo-2-6f313e4f52214ba20087e18ce0c584864e1dce2c.tar.gz gentoo-2-6f313e4f52214ba20087e18ce0c584864e1dce2c.tar.bz2 gentoo-2-6f313e4f52214ba20087e18ce0c584864e1dce2c.zip |
Initial import, split of media-libs/openexr, thanks to : Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com> for the ebuilds, bug #189798
(Portage version: 2.1.3.9)
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/openexr_viewers/ChangeLog | 12 | ||||
-rw-r--r-- | media-gfx/openexr_viewers/Manifest | 20 | ||||
-rw-r--r-- | media-gfx/openexr_viewers/files/digest-openexr_viewers-1.0.0 | 3 | ||||
-rw-r--r-- | media-gfx/openexr_viewers/files/openexr_viewers-1.0.0-nvidia-automagic.patch | 18 | ||||
-rw-r--r-- | media-gfx/openexr_viewers/metadata.xml | 8 | ||||
-rw-r--r-- | media-gfx/openexr_viewers/openexr_viewers-1.0.0.ebuild | 58 |
6 files changed, 119 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..dd47f25de070 --- /dev/null +++ b/media-gfx/openexr_viewers/Manifest @@ -0,0 +1,20 @@ +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 1294 RMD160 c02f42a58ec63f390ff8c0dc04e2a5dc04cd2a05 SHA1 f1bfc97a9cf9bac4f675c9142aaef017d23701ab SHA256 4a9afcc75885bb50a320c71d37742487bbfcfcfc247d310dc55523d23eba07fe +MD5 1bfb80f15abd9dba2c73d6d438a9a38b openexr_viewers-1.0.0.ebuild 1294 +RMD160 c02f42a58ec63f390ff8c0dc04e2a5dc04cd2a05 openexr_viewers-1.0.0.ebuild 1294 +SHA256 4a9afcc75885bb50a320c71d37742487bbfcfcfc247d310dc55523d23eba07fe openexr_viewers-1.0.0.ebuild 1294 +MISC ChangeLog 471 RMD160 04a14fc168f3bceaa05d88910d8acfa6c8d65440 SHA1 3d73f6861846fbfa4a71408bc089dcd6ad33759a SHA256 5f9cc0a0cac858a21fb81dcd8bf13ce70a4f35ed8d7e9e0ad31beb4f3dcd4da1 +MD5 098fc3807f3b705c528815455616cabf ChangeLog 471 +RMD160 04a14fc168f3bceaa05d88910d8acfa6c8d65440 ChangeLog 471 +SHA256 5f9cc0a0cac858a21fb81dcd8bf13ce70a4f35ed8d7e9e0ad31beb4f3dcd4da1 ChangeLog 471 +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 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"* +} |