summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Góes <vanquirius@gentoo.org>2007-03-24 19:58:47 +0000
committerMarcelo Góes <vanquirius@gentoo.org>2007-03-24 19:58:47 +0000
commita08c4d211f4c31a21812e3f087a49b2bd591ebfe (patch)
tree7620a9a9cc4bfe209973d3f42d3f262628cbf323 /media-gfx/megapov
parentversion bump to newest release (diff)
downloadgentoo-2-a08c4d211f4c31a21812e3f087a49b2bd591ebfe.tar.gz
gentoo-2-a08c4d211f4c31a21812e3f087a49b2bd591ebfe.tar.bz2
gentoo-2-a08c4d211f4c31a21812e3f087a49b2bd591ebfe.zip
1.2.1 version bump, thanks to Neil Alldrin <nalldrin at ucsd dot edu> and Dennis Schridde <lindevel at gmx dot net> in bug 161849. Added to graphics herd.
(Portage version: 2.1.2.2)
Diffstat (limited to 'media-gfx/megapov')
-rw-r--r--media-gfx/megapov/ChangeLog11
-rw-r--r--media-gfx/megapov/files/digest-megapov-1.2.13
-rw-r--r--media-gfx/megapov/files/megapov-1.2.1-povrayconf.patch10
-rw-r--r--media-gfx/megapov/files/megapov-1.2.1-povrayini.patch10
-rw-r--r--media-gfx/megapov/megapov-1.2.1.ebuild50
-rw-r--r--media-gfx/megapov/metadata.xml4
6 files changed, 84 insertions, 4 deletions
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 <vanquirius@gentoo.org>
+ +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 <nalldrin at ucsd dot edu> and
+ Dennis Schridde <lindevel at gmx dot net> in bug 161849. Added to graphics
+ herd.
22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> 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 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer>
-<email>maintainer-needed@gentoo.org</email>
-</maintainer>
+<herd>graphics</herd>
</pkgmetadata>