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

Contents of /media-gfx/pixie/pixie-1.7.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Thu Apr 5 03:44:42 2007 UTC (13 years, 4 months ago) by eradicator
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Removed old version.  Revbumped 2.1.1 with some fixes I've sent upstream.
(Portage version: 2.1.2.3)

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-1.7.6.ebuild,v 1.5 2007/03/29 01:31:25 eradicator Exp $
4
5 WANT_AUTOCONF="latest"
6 WANT_AUTOMAKE="latest"
7
8 inherit eutils autotools
9
10 IUSE="fltk openexr X"
11
12 MY_PN="Pixie"
13 S="${WORKDIR}/${MY_PN}"
14
15 DESCRIPTION="RenderMan like photorealistic renderer."
16 HOMEPAGE="http://pixie.sourceforge.net"
17 SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-src-${PV}.tgz"
18
19 LICENSE="GPL-2"
20
21 SLOT="0"
22 KEYWORDS="-amd64 ~ppc sparc x86"
23
24 RDEPEND="media-libs/jpeg
25 sys-libs/zlib
26 media-libs/tiff
27 openexr? ( media-libs/openexr )
28 X? ( x11-libs/libXext )"
29
30 src_unpack() {
31 unpack ${A}
32
33 cd "${S}"
34
35 # Don't install a lib with a name like 'libcommon'. Renaming it to libpixiecommon
36 epatch ${FILESDIR}/${PN}-1.7.6-libcommon.patch
37
38 eautoreconf
39 }
40
41 src_compile() {
42 strip-flags
43 replace-flags -O? -O2
44
45 ewarn "Compilation of pixie is memory intensive. If you experience problems, try"
46 ewarn "removing -pipe from your CFLAGS. Additionally, disabling optimizations (-O0)"
47 ewarn "will cause much less memory consumption. See bug #171367 for more info."
48
49 econf || die "econf failed"
50 emake -j1 || die "Make failed"
51 }
52
53 src_install() {
54 make DESTDIR="${D}" install || die
55
56 keepdir /usr/$(get_libdir)/Pixie/procedurals
57 keepdir /usr/share/Pixie/models
58
59 insinto /usr/share/Pixie/textures
60 doins ${S}/textures/checkers.tif
61
62 edos2unix ${D}/usr/share/Pixie/shaders/*
63 mv ${D}/usr/share/doc/Pixie ${D}/usr/share/doc/${PF}
64 }

  ViewVC Help
Powered by ViewVC 1.1.20