/[gentoo-x86]/x11-libs/cairo/cairo-1.2.0-r1.ebuild
Gentoo

Contents of /x11-libs/cairo/cairo-1.2.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Aug 26 01:07:15 2006 UTC (8 years, 1 month ago) by cardoe
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
rev bump
(Portage version: 2.1.1_pre5-r2)
 (Signed Manifest commit)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/cairo-1.2.0-r1.ebuild,v 1.1 2006/08/04 02:35:11 cardoe Exp $
4
5 inherit eutils flag-o-matic
6
7 DESCRIPTION="A vector graphics library with cross-device output support"
8 HOMEPAGE="http://cairographics.org/"
9 SRC_URI="http://cairographics.org/releases/${P}.tar.gz"
10
11 LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
12 SLOT="0"
13 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
14 IUSE="directfb doc glitz pdf png svg X"
15
16 # Test causes a circular depend on gtk+... since gtk+ needs cairo but test needs gtk+ so we need to block it
17 RESTRICT="test"
18
19 RDEPEND="media-libs/fontconfig
20 >=media-libs/freetype-2.1.4
21 X? ( || (
22 ( x11-libs/libXrender
23 x11-libs/libXext
24 x11-libs/libX11 )
25 virtual/x11
26 )
27 virtual/xft
28 )
29 directfb? ( >=dev-libs/DirectFB-0.9.24 )
30 glitz? ( >=media-libs/glitz-0.5.1 )
31 png? ( media-libs/libpng )
32 svg? ( dev-libs/libxml2 )
33 !<x11-libs/cairo-0.2"
34 DEPEND="${RDEPEND}
35 >=dev-util/pkgconfig-0.9
36 X? ( || ( x11-proto/renderproto virtual/x11 ) )
37 doc? ( >=dev-util/gtk-doc-1.3
38 ~app-text/docbook-xml-dtd-4.2 )"
39
40 src_unpack() {
41 unpack ${A}
42 cd ${S}
43
44 epatch ${FILESDIR}/${P}-disappearing-text.patch
45 epatch ${FILESDIR}/${P}-remove-flush.patch
46 }
47
48 src_compile() {
49 #gets rid of fbmmx.c inlining warnings
50 append-flags -finline-limit=1200
51
52 econf $(use_enable X xlib) $(use_enable doc gtk-doc) $(use_enable directfb) \
53 $(use_enable png) $(use_enable svg) $(use_enable pdf) \
54 $(use_enable glitz) --enable-freetype --enable-ps \
55 || die "configure failed"
56
57 emake || die "compile failed"
58 }
59
60 src_install() {
61 make DESTDIR="${D}" install || die "Installation failed"
62 dodoc AUTHORS ChangeLog NEWS README TODO
63 }
64
65 pkg_postinst() {
66 echo
67 ewarn "You will most likely need to run revdep-rebuild after emerging this"
68 echo
69 }

  ViewVC Help
Powered by ViewVC 1.1.20