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

Contents of /x11-libs/cairo/cairo-1.1.6-r1.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-r1.ebuild,v 1.2 2006/06/03 20:47:24 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 pdf png svg X"
15
16 RDEPEND="media-libs/fontconfig
17 >=media-libs/freetype-2.1.4
18 X? ( || (
19 ( x11-libs/libXrender
20 x11-libs/libXext
21 x11-libs/libX11 )
22 virtual/x11
23 )
24 virtual/xft
25 )
26 glitz? ( >=media-libs/glitz-0.5.1 )
27 png? ( media-libs/libpng )
28 pdf? ( >=app-text/poppler-bindings-0.4.1
29 x11-libs/pango
30 >=x11-libs/gtk+-2 )
31 svg? ( dev-libs/libxml2 )
32 !<x11-libs/cairo-0.2"
33 DEPEND="${RDEPEND}
34 >=dev-util/pkgconfig-0.9
35 X? ( || ( x11-proto/renderproto virtual/x11 ) )
36 doc? ( >=dev-util/gtk-doc-1.3
37 ~app-text/docbook-xml-dtd-4.2 )"
38
39 src_unpack() {
40 unpack ${A}
41 cd "${S}"
42
43 # No non-cvs version of poppler has poppler_page_render
44 epatch "${FILESDIR}"/${P}-poppler-revert.patch
45
46 eautoreconf
47 }
48
49 src_compile() {
50 econf $(use_enable X xlib) \
51 $(use_enable png) \
52 $(use_enable svg) \
53 $(use_enable pdf) \
54 $(use_enable doc gtk-doc) \
55 $(use_enable glitz) \
56 --enable-freetype \
57 --enable-ps || die "./configure failed"
58
59 emake || die "Compilation failed"
60 }
61
62 src_install() {
63 make DESTDIR="${D}" install || die "Installation failed"
64 dodoc AUTHORS ChangeLog NEWS README TODO
65 }

  ViewVC Help
Powered by ViewVC 1.1.20