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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Tue Mar 20 13:58:44 2007 UTC (11 years, 6 months ago) by cardoe
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Rev bump to 1.4.2. Remove old experimental versions.
(Portage version: 2.1.2.2)

1 cardoe 1.1 # Copyright 1999-2007 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 cardoe 1.2 # $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/cairo-1.3.16.ebuild,v 1.1 2007/03/03 15:54:12 cardoe Exp $
4 cardoe 1.1
5     inherit eutils flag-o-matic libtool
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 ~sh ~sparc ~x86 ~x86-fbsd"
14     IUSE="debug directfb doc glitz svg X xcb"
15    
16     # Test causes a circular depend on gtk+... since gtk+ needs cairo but test needs gtk+ so we need to block it
17     RESTRICT="test"
18    
19     RDEPEND="media-libs/fontconfig
20     >=media-libs/freetype-2.1.4
21     media-libs/libpng
22     X? (
23     x11-libs/libXrender
24     x11-libs/libXext
25     x11-libs/libX11
26     virtual/xft
27     xcb? ( x11-libs/libxcb
28     x11-libs/xcb-util )
29     )
30     directfb? ( >=dev-libs/DirectFB-0.9.24 )
31     glitz? ( >=media-libs/glitz-0.5.1 )
32     svg? ( dev-libs/libxml2 )"
33    
34     DEPEND="${RDEPEND}
35     >=dev-util/pkgconfig-0.19
36     X? ( x11-proto/renderproto
37     xcb? ( x11-proto/xcb-proto ) )
38     doc? (
39     >=dev-util/gtk-doc-1.3
40     ~app-text/docbook-xml-dtd-4.2
41     )"
42    
43     src_unpack() {
44     unpack ${A}
45     cd "${S}"
46    
47     # We need to run elibtoolize to ensure correct so versioning on FreeBSD
48     elibtoolize
49     }
50    
51     src_compile() {
52     #gets rid of fbmmx.c inlining warnings
53     append-flags -finline-limit=1200
54    
55     econf $(use_enable X xlib) $(use_enable doc gtk-doc) $(use_enable directfb) \
56     $(use_enable svg) $(use_enable glitz) \
57     $(use_enable debug test-surfaces) --enable-pdf --enable-png \
58     --enable-freetype --enable-ps $(use_enable xcb) \
59     || die "configure failed"
60    
61     emake || die "compile failed"
62     }
63    
64     src_install() {
65     make DESTDIR="${D}" install || die "Installation failed"
66     dodoc AUTHORS ChangeLog NEWS README TODO
67     }

  ViewVC Help
Powered by ViewVC 1.1.20