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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Aug 25 10:42:04 2005 UTC (10 years ago) by leonardop
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
New release: 1.0.0
(Portage version: 2.0.51.22-r2)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/cairo-0.9.2-r1.ebuild,v 1.1 2005/08/18 17:13:00 cardoe 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/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 ~ppc64 ~s390 ~sparc ~x86"
14 IUSE="doc glitz png static X"
15
16 RDEPEND="X? ( ||( (
17 x11-libs/libXrender
18 x11-libs/libX11
19 x11-libs/libXt )
20 virtual/x11 )
21 virtual/xft )
22 media-libs/fontconfig
23 >=media-libs/freetype-2.1
24 sys-libs/zlib
25 glitz? ( =media-libs/glitz-0.4.4 )
26 png? ( media-libs/libpng )
27 !<x11-libs/cairo-0.2"
28
29 DEPEND="${RDEPEND}
30 >=dev-util/pkgconfig-0.9
31 doc? ( >=dev-util/gtk-doc-1.3
32 ~app-text/docbook-xml-dtd-4.2 )"
33
34
35 src_unpack() {
36 unpack ${A}
37 cd ${S}
38
39 # Recognize gentoo's X server. See
40 # <https://bugs.freedesktop.org/show_bug.cgi?id=4068>. For more details
41 # about the problem it fixes, see --GNOME bug-- #306216.
42 epatch ${FILESDIR}/${P}-vendor_string.patch
43 }
44
45 src_compile() {
46 local myconf="$(use_enable X xlib) $(use_enable png) \
47 $(use_enable static) $(use_enable doc gtk-doc) \
48 $(use_enable glitz)"
49
50 econf $myconf || die "./configure failed"
51 emake || die "Compilation failed"
52 }
53
54
55 src_install() {
56 make DESTDIR="${D}" install || die "Installation failed"
57
58 dodoc AUTHORS ChangeLog NEWS README TODO
59 }

  ViewVC Help
Powered by ViewVC 1.1.20