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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Jul 11 06:32:24 2007 UTC (13 years, 1 month ago) by eradicator
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Removing old version.
(Portage version: 2.1.3_rc7)

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

  ViewVC Help
Powered by ViewVC 1.1.20