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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Dec 5 18:33:21 2007 UTC (6 years, 9 months ago) by cardoe
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
new development snapshot
(Portage version: 2.1.4_rc7)

1 # Copyright 1999-2007 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.5.2.ebuild,v 1.2 2007/11/22 06:24:05 mr_bones_ Exp $
4
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 opengl svg X xcb test"
15
16 RDEPEND="media-libs/fontconfig
17 >=media-libs/freetype-2.1.4
18 sys-libs/zlib
19 media-libs/libpng
20 >=x11-libs/pixman-0.9.4
21 X? (
22 x11-libs/libXrender
23 x11-libs/libXext
24 x11-libs/libX11
25 virtual/xft
26 xcb? ( x11-libs/libxcb
27 x11-libs/xcb-util )
28 )
29 directfb? ( >=dev-libs/DirectFB-0.9.24 )
30 glitz? ( >=media-libs/glitz-0.5.1 )
31 svg? ( dev-libs/libxml2 )"
32
33 DEPEND="${RDEPEND}
34 >=dev-util/pkgconfig-0.19
35 sys-apps/findutils
36 test? (
37 virtual/ghostscript
38 >=app-text/poppler-bindings-0.4.1
39 x11-libs/pango
40 x11-libs/gtk+
41 svg? ( >=gnome-base/librsvg-2.15.0 )
42 )
43 X? ( x11-proto/renderproto
44 xcb? ( x11-proto/xcb-proto ) )
45 doc? (
46 >=dev-util/gtk-doc-1.6
47 ~app-text/docbook-xml-dtd-4.2
48 )"
49
50 src_unpack() {
51 unpack ${A}
52 cd "${S}"
53
54 # We need to run elibtoolize to ensure correct so versioning on FreeBSD
55 elibtoolize
56 }
57
58 src_compile() {
59 #gets rid of fbmmx.c inlining warnings
60 append-flags -finline-limit=1200
61
62 if use glitz && use opengl; then
63 export glitz_LIBS=-lglitz-glx
64 fi
65
66 econf $(use_enable X xlib) $(use_enable doc gtk-doc) $(use_enable directfb) \
67 $(use_enable svg) $(use_enable glitz) $(use_enable X xlib-xrender) \
68 $(use_enable debug test-surfaces) --enable-pdf --enable-png \
69 --enable-freetype --enable-ps $(use_enable xcb) \
70 || die "configure failed"
71
72 emake || die "compile failed"
73 }
74
75 src_install() {
76 make DESTDIR="${D}" install || die "Installation failed"
77 dodoc AUTHORS ChangeLog NEWS README TODO
78 }

  ViewVC Help
Powered by ViewVC 1.1.20