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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Jun 13 22:53:47 2007 UTC (7 years ago) by cardoe
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
remove old version. rev bump to 1.4.8
(Portage version: 2.1.2.9)

1 # Copyright 1999-2007 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.0.4-r1.ebuild,v 1.4 2007/02/18 10:32:33 grobian Exp $
4
5 inherit eutils
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 ~ppc64 s390 sh ~sparc ~x86 ~x86-fbsd"
14 IUSE="doc glitz png X"
15 # bug 118106: not entirely broken, just too flakey
16 RESTRICT="test"
17
18 RDEPEND="media-libs/fontconfig
19 >=media-libs/freetype-2.1
20 X? ( || ( ( x11-libs/libXrender
21 x11-libs/libX11 )
22 virtual/x11 )
23 virtual/xft )
24 glitz? ( =media-libs/glitz-0.4.4* )
25 png? ( media-libs/libpng )
26 !<x11-libs/cairo-0.2"
27
28 DEPEND="${RDEPEND}
29 >=dev-util/pkgconfig-0.9
30 X? ( || ( x11-proto/renderproto virtual/x11 ) )
31 doc? ( >=dev-util/gtk-doc-1.3
32 ~app-text/docbook-xml-dtd-4.2 )"
33
34 src_unpack() {
35 unpack ${A}
36 cd ${S}
37
38 epatch "${FILESDIR}"/${P}-ssp-nonsense.patch #109480
39 }
40
41 src_compile() {
42
43 econf $(use_enable X xlib) \
44 $(use_enable png) \
45 $(use_enable doc gtk-doc) \
46 $(use_enable glitz) \
47 --enable-freetype || die "./configure failed"
48
49 emake || die "Compilation failed"
50
51 }
52
53 src_install() {
54
55 make DESTDIR="${D}" install || die "Installation failed"
56
57 dodoc AUTHORS ChangeLog NEWS README TODO
58
59 }

  ViewVC Help
Powered by ViewVC 1.1.20