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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Jul 10 06:10:09 2006 UTC (8 years, 2 months ago) by cardoe
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
remove beta versions, RESTRICT=test and drop those depends which caused circular deps
(Portage version: 2.1.1_pre2-r6)
 (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.1.6.ebuild,v 1.2 2006/05/20 20:08:16 compnerd Exp $
4
5 inherit eutils autotools
6
7 DESCRIPTION="A vector graphics library with cross-device output support"
8 HOMEPAGE="http://cairographics.org/"
9 SRC_URI="http://cairographics.org/snapshots/${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"
14 IUSE="doc glitz png X"
15
16 RDEPEND="media-libs/fontconfig
17 >=media-libs/freetype-2.1
18 X? ( || (
19 ( x11-libs/libXrender x11-libs/libX11 )
20 virtual/x11
21 )
22 virtual/xft
23 )
24 glitz? ( >=media-libs/glitz-0.5.1 )
25 png? ( media-libs/libpng )
26 !<x11-libs/cairo-0.2"
27 DEPEND="${RDEPEND}
28 >=dev-util/pkgconfig-0.9
29 X? ( || ( x11-proto/renderproto virtual/x11 ) )
30 doc? ( >=dev-util/gtk-doc-1.3
31 ~app-text/docbook-xml-dtd-4.2 )"
32
33 src_unpack() {
34 unpack ${A}
35 cd "${S}"
36
37 # No non-cvs version of poppler has poppler_page_render
38 epatch "${FILESDIR}"/${P}-poppler-revert.patch
39
40 eautoreconf
41 }
42
43 src_compile() {
44 econf $(use_enable X xlib) \
45 $(use_enable png) \
46 $(use_enable doc gtk-doc) \
47 $(use_enable glitz) \
48 --enable-freetype || die "./configure failed"
49
50 emake || die "Compilation failed"
51 }
52
53 src_install() {
54 make DESTDIR="${D}" install || die "Installation failed"
55 dodoc AUTHORS ChangeLog NEWS README TODO
56 }

  ViewVC Help
Powered by ViewVC 1.1.20