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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Oct 5 01:11:47 2005 UTC (9 years, 6 months ago) by leonardop
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
New release: 1.0.2
(Portage version: 2.0.53_rc3)

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-r2.ebuild,v 1.1 2005/09/02 15:58:45 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? (
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 # Fix segmentation fault when compiling with -fomit-frame-pointer.
42 # See bug #104265.
43 epatch ${FILESDIR}/${P}-omit_frame_pointer_fix.patch
44
45 # Upstream patch to correctly handle displays which don't match the local
46 # endianness. https://bugs.freedesktop.org/show_bug.cgi?id=4321
47 epatch ${FILESDIR}/${P}-display_endianness.patch
48
49 # Fix some tests that were failing on amd64.
50 # https://bugs.freedesktop.org/show_bug.cgi?id=4245
51 epatch ${FILESDIR}/${P}-tests.patch
52 }
53
54 src_compile() {
55 local myconf="$(use_enable X xlib) \
56 $(use_with X x) \
57 $(use_enable png) \
58 $(use_enable static) \
59 $(use_enable doc gtk-doc) \
60 $(use_enable glitz)"
61
62 econf $myconf || die "./configure failed"
63 emake || die "Compilation failed"
64 }
65
66
67 src_install() {
68 make DESTDIR="${D}" install || die "Installation failed"
69
70 dodoc AUTHORS ChangeLog NEWS README TODO
71 }

  ViewVC Help
Powered by ViewVC 1.1.20