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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Aug 18 17:13:00 2005 UTC (9 years, 1 month ago) by cardoe
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Added support for glitz back to Cairo
(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.ebuild,v 1.1 2005/08/15 18:42:04 leonardop 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 png static X"
15 # glitz
16
17 RDEPEND="X? (
18 virtual/x11
19 virtual/xft )
20 media-libs/fontconfig
21 >=media-libs/freetype-2.1
22 sys-libs/zlib
23 png? ( media-libs/libpng )
24 !<x11-libs/cairo-0.2"
25 # the block fixes the issue described in #85285 without patching
26
27 # no snapshot available yet
28 # glitz? ( >=media-libs/glitz-0.4.4 )
29
30 DEPEND="${RDEPEND}
31 >=dev-util/pkgconfig-0.9
32 doc? (
33 >=dev-util/gtk-doc-1.3
34 ~app-text/docbook-xml-dtd-4.2 )"
35
36
37 src_unpack() {
38 unpack ${A}
39 cd ${S}
40
41 # Recognize gentoo's X server. See
42 # <https://bugs.freedesktop.org/show_bug.cgi?id=4068>. For more details
43 # about the problem it fixes, see --GNOME bug-- #306216.
44 epatch ${FILESDIR}/${P}-vendor_string.patch
45 }
46
47 src_compile() {
48 local myconf="$(use_enable X xlib) $(use_enable png) \
49 $(use_enable static) $(use_enable doc gtk-doc)"
50 # $(use_enable glitz)
51
52 econf $myconf || die "./configure failed"
53 emake || die "Compilation failed"
54 }
55
56
57 src_install() {
58 make DESTDIR="${D}" install || die "Installation failed"
59
60 dodoc AUTHORS ChangeLog NEWS README TODO
61 }

  ViewVC Help
Powered by ViewVC 1.1.20