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

Contents of /x11-libs/cairo/cairo-1.0.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.16 - (show annotations) (download)
Tue Mar 20 13:58:44 2007 UTC (7 years, 5 months ago) by cardoe
Branch: MAIN
CVS Tags: HEAD
Changes since 1.15: +1 -1 lines
FILE REMOVED
Rev bump to 1.4.2. Remove old experimental versions.
(Portage version: 2.1.2.2)

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.2.ebuild,v 1.15 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"
14 IUSE="doc glitz png X"
15
16 RDEPEND="media-libs/fontconfig
17 >=media-libs/freetype-2.1
18 sys-libs/zlib
19 X? ( || ( ( x11-libs/libXrender
20 x11-libs/libXt )
21 virtual/x11 )
22 virtual/xft )
23 glitz? ( >=media-libs/glitz-0.4.4 )
24 png? ( media-libs/libpng )
25 !<x11-libs/cairo-0.2"
26
27 DEPEND="${RDEPEND}
28 >=dev-util/pkgconfig-0.9
29 doc? ( >=dev-util/gtk-doc-1.3
30 ~app-text/docbook-xml-dtd-4.2 )"
31
32
33 src_unpack() {
34 unpack "${A}"
35 cd "${S}"
36
37 # Call PKG_PROG_PKG_CONFIG to fix other standard pkg-config calls
38 epatch ${FILESDIR}/${P}-pkg_macro.patch
39
40 cp aclocal.m4 old_macros.m4
41 aclocal -I . || die "aclocal failed"
42 autoconf || die "autoconf failed"
43 }
44
45
46 src_compile() {
47 local myconf="$(use_with X x) \
48 $(use_enable X xlib) \
49 $(use_enable png) \
50 $(use_enable doc gtk-doc) \
51 $(use_enable glitz)"
52
53 econf $myconf || die "./configure failed"
54 emake || die "Compilation failed"
55 }
56
57
58 src_install() {
59 make DESTDIR="${D}" install || die "Installation failed"
60
61 dodoc AUTHORS ChangeLog NEWS README TODO
62 }

  ViewVC Help
Powered by ViewVC 1.1.20