/[gentoo-x86]/media-gfx/pixie/pixie-2.0.2-r1.ebuild
Gentoo

Contents of /media-gfx/pixie/pixie-2.0.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations) (download)
Thu Mar 29 01:31:25 2007 UTC (13 years, 4 months ago) by eradicator
Branch: MAIN
Changes since 1.5: +5 -1 lines
Added ewarn about memory usage during compilation and added the new release.
(Portage version: 2.1.2.2)

1 eradicator 1.1 # Copyright 1999-2007 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 eradicator 1.6 # $Header: /var/cvsroot/gentoo-x86/media-gfx/pixie/pixie-2.0.2-r1.ebuild,v 1.5 2007/03/16 16:49:10 eradicator Exp $
4 eradicator 1.1
5     IUSE="fltk openexr X"
6    
7     MY_PN="Pixie"
8     S="${WORKDIR}/${MY_PN}"
9    
10     DESCRIPTION="RenderMan like photorealistic renderer."
11     HOMEPAGE="http://pixie.sourceforge.net"
12     SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-src-${PV}.tgz"
13    
14     LICENSE="GPL-2"
15    
16     SLOT="0"
17 eradicator 1.5 KEYWORDS="~amd64 ~ppc sparc x86"
18 eradicator 1.1
19     RDEPEND="media-libs/jpeg
20     sys-libs/zlib
21     media-libs/tiff
22     openexr? ( media-libs/openexr )
23     fltk? ( x11-libs/fltk )
24     X? ( x11-libs/libXext )"
25    
26     src_compile() {
27     strip-flags
28     replace-flags -O? -O2
29    
30 eradicator 1.6 ewarn "Compilation of pixie is memory intensive. If you experience problems, try"
31     ewarn "removing -pipe from your CFLAGS. Additionally, disabling optimizations (-O0)"
32     ewarn "will cause much less memory consumption. See bug #171367 for more info."
33    
34 eradicator 1.1 econf || die "econf failed"
35     emake -j1 || die "Make failed"
36     }
37    
38    
39     src_install() {
40     make DESTDIR="${D}" install || die
41    
42     keepdir /usr/$(get_libdir)/Pixie/procedurals
43     keepdir /usr/share/Pixie/models
44    
45     insinto /usr/share/Pixie/textures
46     doins ${S}/textures/checkers.tif
47    
48     edos2unix ${D}/usr/share/Pixie/shaders/*
49     mv ${D}/usr/share/doc/Pixie ${D}/usr/share/doc/${PF}
50     }

  ViewVC Help
Powered by ViewVC 1.1.20