diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-12-28 20:58:09 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-12-28 20:58:09 +0000 |
commit | 11041d8eaafbcc4c650fcfdf4b7111d68186e40e (patch) | |
tree | 4a29853b1ee7425bfc4a05afd0aa4ab008f291ea | |
parent | x86 stable, bug #294490 (diff) | |
download | gentoo-2-11041d8eaafbcc4c650fcfdf4b7111d68186e40e.tar.gz gentoo-2-11041d8eaafbcc4c650fcfdf4b7111d68186e40e.tar.bz2 gentoo-2-11041d8eaafbcc4c650fcfdf4b7111d68186e40e.zip |
Version bump to 2.2.6, thanks to Mauro Toffanin and Enrico Tagliavini, bug #286126 (ebuild slightly polished by me).
(Portage version: 2.2_rc61/cvs/Linux x86_64)
-rw-r--r-- | media-gfx/pixie/ChangeLog | 11 | ||||
-rw-r--r-- | media-gfx/pixie/files/Makefile.shaders | 15 | ||||
-rw-r--r-- | media-gfx/pixie/files/pixie-2.2.6-autotools.patch | 22 | ||||
-rw-r--r-- | media-gfx/pixie/metadata.xml | 22 | ||||
-rw-r--r-- | media-gfx/pixie/pixie-2.2.6.ebuild | 82 |
5 files changed, 146 insertions, 6 deletions
diff --git a/media-gfx/pixie/ChangeLog b/media-gfx/pixie/ChangeLog index 4e0c8034a916..547bec765b42 100644 --- a/media-gfx/pixie/ChangeLog +++ b/media-gfx/pixie/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-gfx/pixie -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/pixie/ChangeLog,v 1.48 2008/11/14 19:01:06 coldwind Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pixie/ChangeLog,v 1.49 2009/12/28 20:58:08 flameeyes Exp $ + +*pixie-2.2.6 (28 Dec 2009) + + 28 Dec 2009; Diego E. Pettenò <flameeyes@gentoo.org> +pixie-2.2.6.ebuild, + +files/pixie-2.2.6-autotools.patch, +files/Makefile.shaders, metadata.xml: + Version bump to 2.2.6, thanks to Mauro Toffanin and Enrico Tagliavini, bug + #286126 (ebuild slightly polished by me). 14 Nov 2008; Santiago M. Mola <coldwind@gentoo.org> pixie-2.2.2.ebuild: Restrict fltk dependency to SLOT 1.1 (bug #246445). diff --git a/media-gfx/pixie/files/Makefile.shaders b/media-gfx/pixie/files/Makefile.shaders new file mode 100644 index 000000000000..fbc261c0c9bf --- /dev/null +++ b/media-gfx/pixie/files/Makefile.shaders @@ -0,0 +1,15 @@ +SDRC = ../src/sdrc/sdrc +SDRCFLAGS += + +%.sdr: %.sl + $(SDRC) $(SDRCFLAGS) $< + +OBJECT1 := $(wildcard *.sl) +OBJECT := $(OBJECT1:.sl=.sdr) + +all: clean $(OBJECT) + +clean: + rm -f *.sdr + +.PHONY: clean diff --git a/media-gfx/pixie/files/pixie-2.2.6-autotools.patch b/media-gfx/pixie/files/pixie-2.2.6-autotools.patch new file mode 100644 index 000000000000..d12de70a67cf --- /dev/null +++ b/media-gfx/pixie/files/pixie-2.2.6-autotools.patch @@ -0,0 +1,22 @@ +--- src/ri/Makefile.in 2009-09-23 18:10:13.414866323 +0200 ++++ src/ri/Makefile.in 2009-09-23 18:11:15.629864395 +0200 +@@ -214,7 +214,7 @@ + host_os = @host_os@ + host_vendor = @host_vendor@ + htmldir = @htmldir@ +-includedir = $(prefix)/include ++includedir = @includedir@ + infodir = @infodir@ + install_sh = @install_sh@ + libdir = @libdir@ +--- src/sdr/Makefile.in 2009-09-23 18:14:54.194865868 +0200 ++++ src/sdr/Makefile.in 2009-09-23 18:15:18.297863856 +0200 +@@ -199,7 +199,7 @@ + host_os = @host_os@ + host_vendor = @host_vendor@ + htmldir = @htmldir@ +-includedir = $(prefix)/include ++includedir = @includedir@ + infodir = @infodir@ + install_sh = @install_sh@ + libdir = @libdir@ diff --git a/media-gfx/pixie/metadata.xml b/media-gfx/pixie/metadata.xml index 73420b6cf0f0..356642ee3b5d 100644 --- a/media-gfx/pixie/metadata.xml +++ b/media-gfx/pixie/metadata.xml @@ -1,8 +1,22 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>no-herd</herd> -<maintainer> - <email>maintainer-needed@gentoo.org</email> -</maintainer> + <herd>no-herd</herd> + <maintainer> + <email>flameeyes@gentoo.org</email> + <description>Proxying maintainer</description> + </maintainer> + <maintainer> + <email>toffanin.mauro@gmail.com</email> + <description>Proxied maintainer</description> + </maintainer> + <longdescription> + Pixie is an open source photorealistic renderer that uses a RenderMan-like + interface. Features include programmable shading, motion blur, depth of + field, raytracing, scan-line rendering, occlusion culling, global + illumination, caustics ... + </longdescription> + <use> + <flag name="static-libs">Compile static archives</flag> + </use> </pkgmetadata> diff --git a/media-gfx/pixie/pixie-2.2.6.ebuild b/media-gfx/pixie/pixie-2.2.6.ebuild new file mode 100644 index 000000000000..54b30762170e --- /dev/null +++ b/media-gfx/pixie/pixie-2.2.6.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pixie/pixie-2.2.6.ebuild,v 1.1 2009/12/28 20:58:08 flameeyes Exp $ + +EAPI="2" +inherit eutils multilib autotools + +MY_PN="Pixie" +S="${WORKDIR}/${MY_PN}" + +DESCRIPTION="RenderMan like photorealistic renderer." +HOMEPAGE="http://pixie.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-src-${PV}.tgz" + +LICENSE="GPL-2" +IUSE="X static-libs" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +RDEPEND="!mail-client/nmh + media-libs/jpeg + media-libs/tiff + media-libs/libpng + x11-libs/fltk:1.1[opengl] + media-libs/openexr + virtual/opengl + sys-libs/zlib + X? ( + x11-libs/libXext + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXau + x11-libs/libxcb + x11-libs/libXdmcp + x11-libs/libXi + x11-libs/libXmu + x11-libs/libXt + )" +DEPEND="${RDEPEND} + sys-devel/flex + sys-devel/bison" + +src_prepare() { + # FIX: missing @includedir@ + epatch "${FILESDIR}/${P}-autotools.patch" + eautoreconf +} + +src_configure() { + econf \ + $(use_with X x) \ + $(use_enable static-libs static) \ + --includedir=/usr/include/pixie \ + --libdir=/usr/$(get_libdir)/pixie \ + --with-docdir=/usr/share/doc/${PF}/html \ + --with-shaderdir=/usr/share/Pixie/shaders \ + --with-ribdir=/usr/share/Pixie/ribs \ + --with-texturedir=/usr/share/Pixie/textures \ + --with-displaysdir=/usr/$(get_libdir)/pixie/displays \ + --with-modulesdir=/usr/$(get_libdir)/pixie/modules \ + --enable-openexr-threads \ + --mandir=/usr/share/man \ + --bindir=/usr/bin +} + +src_compile() { + emake || die "emake failed" + + # regenerating Pixie shaders + einfo "Re-building Pixie Shaders for v${PV} format" + emake -f "${FILESDIR}/Makefile.shaders" -C "${S}/shaders" +} + +src_install() { + emake DESTDIR="${D}" install || die "installation failed." + + # remove useless .la files + find "${D}" -name '*.la' -delete || die + + dodoc README AUTHORS ChangeLog || die +} |