Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 568088 Details for
Bug 679690
media-gfx/pixie: EAPI=7 bump, improve ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
pixie.patch
pixie.patch (text/plain), 3.87 KB, created by
Michael Mair-Keimberger (iamnr3)
on 2019-03-07 17:28:10 UTC
(
hide
)
Description:
pixie.patch
Filename:
MIME Type:
Creator:
Michael Mair-Keimberger (iamnr3)
Created:
2019-03-07 17:28:10 UTC
Size:
3.87 KB
patch
obsolete
>diff --git a/media-gfx/pixie/pixie-2.2.6-r1.ebuild b/media-gfx/pixie/pixie-2.2.6-r1.ebuild >index 5a71b52b475..f8863d0b818 100644 >--- a/media-gfx/pixie/pixie-2.2.6-r1.ebuild >+++ b/media-gfx/pixie/pixie-2.2.6-r1.ebuild >@@ -1,4 +1,4 @@ >-# Copyright 1999-2017 Gentoo Foundation >+# Copyright 1999-2019 Gentoo Authors > # Distributed under the terms of the GNU General Public License v2 > > EAPI="2" >@@ -11,10 +11,10 @@ MY_PN="Pixie" > S="${WORKDIR}/${MY_PN}" > > DESCRIPTION="RenderMan like photorealistic renderer" >-HOMEPAGE="http://pixie.sourceforge.net/" >+HOMEPAGE="http://www.okanarikan.com/project/2005/05/24/Pixie.html" > SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-src-${PV}.tgz https://dev.gentoo.org/~dilfridge/distfiles/pixie-2.2.6-gcc6.patch.gz" > >-LICENSE="GPL-2" >+LICENSE="GPL-2+" > IUSE="X static-libs" > SLOT="0" > KEYWORDS="amd64 ~ppc sparc x86" >diff --git a/media-gfx/pixie/pixie-2.2.6-r2.ebuild b/media-gfx/pixie/pixie-2.2.6-r2.ebuild >new file mode 100644 >index 00000000000..99df573b1fa >--- /dev/null >+++ b/media-gfx/pixie/pixie-2.2.6-r2.ebuild >@@ -0,0 +1,106 @@ >+# Copyright 1999-2019 Gentoo Authors >+# Distributed under the terms of the GNU General Public License v2 >+ >+EAPI=7 >+ >+WANT_AUTOMAKE="1.10" >+ >+inherit autotools >+ >+MY_PN="Pixie" >+S="${WORKDIR}/${MY_PN}" >+ >+DESCRIPTION="RenderMan like photorealistic renderer" >+HOMEPAGE="http://www.okanarikan.com/project/2005/05/24/Pixie.html" >+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-src-${PV}.tgz https://dev.gentoo.org/~dilfridge/distfiles/pixie-2.2.6-gcc6.patch.gz" >+ >+LICENSE="GPL-2+" >+IUSE="X static-libs" >+SLOT="0" >+KEYWORDS="~amd64 ~ppc ~sparc ~x86" >+ >+RDEPEND="media-libs/libpng >+ media-libs/tiff >+ media-libs/openexr >+ sys-libs/zlib >+ virtual/jpeg >+ virtual/opengl >+ x11-libs/fltk:1[opengl] >+ 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/bison >+ sys-devel/flex" >+ >+src_prepare() { >+ default >+ eapply "${FILESDIR}"/${P}-zlib-1.2.5.2.patch >+ # FIX: missing @includedir@ >+ # https://sf.net/tracker/?func=detail&aid=2923415&group_id=59462&atid=491094 >+ eapply "${FILESDIR}"/${P}-autotools.patch >+ # bug 594354 >+ eapply "${WORKDIR}"/${P}-gcc6.patch >+ >+ mv configure.{in,ac} || die >+ >+ eautoreconf >+ >+ # FIX: removing pre-compiled shaders >+ # shaders must be removed before of their compilation or make >+ # parallelism can break the regeneration process, with resulting >+ # missing shaders. >+ rm "${S}"/shaders/*.sdr || die >+ >+ # FIX: flex does not translate variable name in custom YY_DECL >+ sed -i -e '/define YY_DECL/ s/yylval/riblval/' src/ri/rib.l || die >+} >+ >+src_configure() { >+ # NOTE: the option program-transform-name is used to avoid binary name >+ # conflict with package: mail-client/nmh (see #295996) >+ 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 \ >+ --disable-static-fltk \ >+ --mandir=/usr/share/man \ >+ --bindir=/usr/bin \ >+ --program-transform-name="s/show/pixie-show/" >+} >+ >+src_compile() { >+ default >+ >+ # regenerating Pixie shaders - see upstream bug report: >+ # https://sf.net/tracker/?func=detail&aid=2923407&group_id=59462&atid=491094 >+ einfo "Re-building Pixie Shaders for v${PV} format" >+ emake -f "${FILESDIR}/Makefile.shaders" -C "${S}/shaders" >+} >+ >+src_install() { >+ default >+ >+ insinto /usr/share/Pixie/textures >+ doins "${S}"/textures/* >+ >+ # remove useless .la files >+ find "${D}" -name '*.la' -delete || die "removal of libtool archive files failed" >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 679690
: 568088