Gentoo Archives: gentoo-commits

From: "Doug Goldstein (cardoe)" <cardoe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/cairo: ChangeLog cairo-1.7.4.ebuild
Date: Thu, 28 Aug 2008 13:43:44
Message-Id: E1KYhmn-0005ms-Nt@stork.gentoo.org
1 cardoe 08/08/28 13:43:41
2
3 Modified: ChangeLog
4 Added: cairo-1.7.4.ebuild
5 Log:
6 Add development snapshot that's masked
7 (Portage version: 2.2_rc8/cvs/Linux 2.6.25-gentoo-r8 x86_64)
8
9 Revision Changes Path
10 1.192 x11-libs/cairo/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/cairo/ChangeLog?rev=1.192&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/cairo/ChangeLog?rev=1.192&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/cairo/ChangeLog?r1=1.191&r2=1.192
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-libs/cairo/ChangeLog,v
19 retrieving revision 1.191
20 retrieving revision 1.192
21 diff -u -r1.191 -r1.192
22 --- ChangeLog 24 Aug 2008 21:01:45 -0000 1.191
23 +++ ChangeLog 28 Aug 2008 13:43:41 -0000 1.192
24 @@ -1,6 +1,11 @@
25 # ChangeLog for x11-libs/cairo
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/ChangeLog,v 1.191 2008/08/24 21:01:45 cardoe Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/ChangeLog,v 1.192 2008/08/28 13:43:41 cardoe Exp $
29 +
30 +*cairo-1.7.4 (28 Aug 2008)
31 +
32 + 28 Aug 2008; Doug Goldstein <cardoe@g.o> +cairo-1.7.4.ebuild:
33 + Add development snapshot that's masked
34
35 24 Aug 2008; Doug Goldstein <cardoe@g.o> metadata.xml:
36 re-add opengl USE flag that was deleted
37
38
39
40 1.1 x11-libs/cairo/cairo-1.7.4.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/cairo/cairo-1.7.4.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/cairo/cairo-1.7.4.ebuild?rev=1.1&content-type=text/plain
44
45 Index: cairo-1.7.4.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/cairo-1.7.4.ebuild,v 1.1 2008/08/28 13:43:41 cardoe Exp $
50
51 inherit eutils flag-o-matic libtool
52
53 DESCRIPTION="A vector graphics library with cross-device output support"
54 HOMEPAGE="http://cairographics.org/"
55 SRC_URI="http://cairographics.org/snapshots/${P}.tar.gz"
56
57 LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
58 SLOT="0"
59 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
60 IUSE="debug directfb doc glitz opengl svg test X xcb"
61
62 # Test causes a circular depend on gtk+... since gtk+ needs cairo but test needs gtk+ so we need to block it
63 RESTRICT="test"
64
65 RDEPEND="media-libs/fontconfig
66 >=media-libs/freetype-2.1.9
67 sys-libs/zlib
68 media-libs/libpng
69 >=x11-libs/pixman-0.10.0
70 X? (
71 x11-libs/libXrender
72 x11-libs/libXext
73 x11-libs/libX11
74 virtual/xft
75 xcb? ( x11-libs/libxcb
76 x11-libs/xcb-util )
77 )
78 directfb? ( >=dev-libs/DirectFB-0.9.24 )
79 glitz? ( >=media-libs/glitz-0.5.1 )
80 svg? ( dev-libs/libxml2 )"
81
82 DEPEND="${RDEPEND}
83 >=dev-util/pkgconfig-0.19
84 X? ( x11-proto/renderproto
85 xcb? ( x11-proto/xcb-proto ) )
86 doc? (
87 >=dev-util/gtk-doc-1.6
88 ~app-text/docbook-xml-dtd-4.2
89 )"
90
91 src_unpack() {
92 unpack ${A}
93 cd "${S}"
94
95 # We need to run elibtoolize to ensure correct so versioning on FreeBSD
96 elibtoolize
97 }
98
99 src_compile() {
100 local use_xcb
101
102 #gets rid of fbmmx.c inlining warnings
103 append-flags -finline-limit=1200
104
105 if use glitz && use opengl; then
106 export glitz_LIBS=-lglitz-glx
107 fi
108
109 use_xcb="--disable-xcb"
110 use X && use xcb && use_xcb="--enable-xcb"
111
112 econf $(use_enable X xlib) $(use_enable doc gtk-doc) \
113 $(use_enable directfb) ${use_xcb} \
114 $(use_enable svg) $(use_enable glitz) $(use_enable X xlib-xrender) \
115 $(use_enable debug test-surfaces) --enable-pdf --enable-png \
116 --enable-freetype --enable-ps \
117 || die "configure failed"
118
119 emake || die "compile failed"
120 }
121
122 src_install() {
123 make DESTDIR="${D}" install || die "Installation failed"
124 dodoc AUTHORS ChangeLog NEWS README
125 }