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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Sep 2 15:58:45 2005 UTC (9 years, 8 months ago) by leonardop
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
New revision with upstream patches to fix some tests on amd64 and fix a problem with remote displays that don't match the local endianness
(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-1.0.0-r1.ebuild,v 1.1 2005/08/31 07:57:02 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/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 ~sparc ~x86"
14 IUSE="doc glitz png static X"
15
16 RDEPEND="media-libs/fontconfig
17 >=media-libs/freetype-2.1
18 sys-libs/zlib
19 X? (
20 ||( (
21 x11-libs/libXrender
22 x11-libs/libX11
23 x11-libs/libXt )
24 virtual/x11 )
25 virtual/xft )
26 glitz? ( >=media-libs/glitz-0.4.4 )
27 png? ( media-libs/libpng )
28 !<x11-libs/cairo-0.2"
29
30 DEPEND="${RDEPEND}
31 >=dev-util/pkgconfig-0.9
32 doc? ( >=dev-util/gtk-doc-1.3
33 ~app-text/docbook-xml-dtd-4.2 )"
34
35
36 src_unpack() {
37 unpack "${A}"
38 cd "${S}"
39
40 # Fix segmentation fault when compiling with -fomit-frame-pointer.
41 # See bug #104265.
42 epatch ${FILESDIR}/${P}-omit_frame_pointer_fix.patch
43 }
44
45 src_compile() {
46 local myconf="$(use_enable X xlib) \
47 $(use_with X x) \
48 $(use_enable png) \
49 $(use_enable static) \
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