From a08c4d211f4c31a21812e3f087a49b2bd591ebfe Mon Sep 17 00:00:00 2001 From: Marcelo Góes Date: Sat, 24 Mar 2007 19:58:47 +0000 Subject: 1.2.1 version bump, thanks to Neil Alldrin and Dennis Schridde in bug 161849. Added to graphics herd. (Portage version: 2.1.2.2) --- media-gfx/megapov/ChangeLog | 11 ++++- media-gfx/megapov/files/digest-megapov-1.2.1 | 3 ++ .../megapov/files/megapov-1.2.1-povrayconf.patch | 10 +++++ .../megapov/files/megapov-1.2.1-povrayini.patch | 10 +++++ media-gfx/megapov/megapov-1.2.1.ebuild | 50 ++++++++++++++++++++++ media-gfx/megapov/metadata.xml | 4 +- 6 files changed, 84 insertions(+), 4 deletions(-) create mode 100644 media-gfx/megapov/files/digest-megapov-1.2.1 create mode 100644 media-gfx/megapov/files/megapov-1.2.1-povrayconf.patch create mode 100644 media-gfx/megapov/files/megapov-1.2.1-povrayini.patch create mode 100644 media-gfx/megapov/megapov-1.2.1.ebuild (limited to 'media-gfx/megapov') diff --git a/media-gfx/megapov/ChangeLog b/media-gfx/megapov/ChangeLog index a043cf208163..f6ea0dbe9c81 100644 --- a/media-gfx/megapov/ChangeLog +++ b/media-gfx/megapov/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for media-gfx/megapov # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/megapov/ChangeLog,v 1.4 2007/02/22 01:35:54 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/megapov/ChangeLog,v 1.5 2007/03/24 19:58:47 vanquirius Exp $ + +*megapov-1.2.1 (24 Mar 2007) + + 24 Mar 2007; Marcelo Goes + +files/megapov-1.2.1-povrayconf.patch, + +files/megapov-1.2.1-povrayini.patch, metadata.xml, +megapov-1.2.1.ebuild: + 1.2.1 version bump, thanks to Neil Alldrin and + Dennis Schridde in bug 161849. Added to graphics + herd. 22 Feb 2007; Piotr Jaroszyński ChangeLog: Transition to Manifest2. diff --git a/media-gfx/megapov/files/digest-megapov-1.2.1 b/media-gfx/megapov/files/digest-megapov-1.2.1 new file mode 100644 index 000000000000..b786843ac9f7 --- /dev/null +++ b/media-gfx/megapov/files/digest-megapov-1.2.1 @@ -0,0 +1,3 @@ +MD5 ea91271ab2755169f709f4d9806341a3 megapov-1.2.1.tgz 8392922 +RMD160 a93f3bcb8c0088538f1cc808027d1f5ba046bf95 megapov-1.2.1.tgz 8392922 +SHA256 b170bea7b2b603c48d0c806d438be15829c26d0e7b7276141c54b4adb0789a82 megapov-1.2.1.tgz 8392922 diff --git a/media-gfx/megapov/files/megapov-1.2.1-povrayconf.patch b/media-gfx/megapov/files/megapov-1.2.1-povrayconf.patch new file mode 100644 index 000000000000..d64acb567d31 --- /dev/null +++ b/media-gfx/megapov/files/megapov-1.2.1-povrayconf.patch @@ -0,0 +1,10 @@ +--- povray.conf 2005-08-23 12:20:34.000000000 -0700 ++++ povray.conf.new 2007-01-12 16:40:14.000000000 -0800 +@@ -95,5 +95,5 @@ + read+write* = /tmp + read+write = . + ; --- MegaPOV also needs access to POV-Ray 3.6 dirs --- +-read* = /usr/local/share/povray-3.6/include +-read* = /usr/local/share/povray-3.6/scenes ++read* = /usr/share/povray-3.6/include ++read* = /usr/share/povray-3.6/scenes diff --git a/media-gfx/megapov/files/megapov-1.2.1-povrayini.patch b/media-gfx/megapov/files/megapov-1.2.1-povrayini.patch new file mode 100644 index 000000000000..c8dea0683c14 --- /dev/null +++ b/media-gfx/megapov/files/megapov-1.2.1-povrayini.patch @@ -0,0 +1,10 @@ +--- povray.ini.in 2005-08-23 12:20:34.000000000 -0700 ++++ povray.ini.in.new 2007-01-12 16:59:35.000000000 -0800 +@@ -51,6 +51,7 @@ + Library_Path="__POVLIBDIR__" + Library_Path="__POVLIBDIR__/ini" + Library_Path="__POVLIBDIR__/include" ++Library_Path="/usr/share/povray-3.6/include" + + ;; File output type control. + ;; T Uncompressed Targa-24 diff --git a/media-gfx/megapov/megapov-1.2.1.ebuild b/media-gfx/megapov/megapov-1.2.1.ebuild new file mode 100644 index 000000000000..5e730c435584 --- /dev/null +++ b/media-gfx/megapov/megapov-1.2.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/megapov/megapov-1.2.1.ebuild,v 1.1 2007/03/24 19:58:47 vanquirius Exp $ + +inherit eutils + +DESCRIPTION="The popular collection of unofficial extensions of POV-Ray" +HOMEPAGE="http://megapov.inetart.net/" +SRC_URI="http://megapov.inetart.net/packages/unix/${P}.tgz" +LICENSE="povlegal-3.6" +KEYWORDS="~x86 ~ppc" +SLOT="0" +IUSE="" + +DEPEND=">=media-gfx/povray-3.6.1 + media-libs/libpng + media-libs/tiff + media-libs/jpeg + sys-libs/zlib" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-povrayconf.patch + epatch "${FILESDIR}"/${P}-povrayini.patch +} + +src_compile() { + econf CFLAGS="${CFLAGS}" CPPFLAGS="${CXXFLAGS}" \ + --prefix="/usr" --libdir="/usr/share/${PN}" \ + --sysconfdir="/etc" --without-svga --with-x \ + COMPILED_BY="Gentoo Linux" || \ + die './configure failed' + emake || \ + die 'compile failed' +} + +src_install() { + emake DESTDIR="${D}" install || die 'make install failed' + ln -sf ./${P} "${D}"/usr/share/${PN} +} + +pkg_postinst() { + einfo "The MegaPOV files have been installed. The following line" + einfo "has been added to the megapov/povray.ini to enable use of" + einfo "library files from the povray-3.6 installation:" + echo + einfo "Library_Path=/usr/share/${PN}/include" + echo +} diff --git a/media-gfx/megapov/metadata.xml b/media-gfx/megapov/metadata.xml index d9cd2cad66c2..e770d1bc9a96 100644 --- a/media-gfx/megapov/metadata.xml +++ b/media-gfx/megapov/metadata.xml @@ -1,7 +1,5 @@ - -maintainer-needed@gentoo.org - +graphics -- cgit v1.2.3-65-gdbad