Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/agg: agg-2.5-r1.ebuild ChangeLog metadata.xml
Date: Thu, 26 Mar 2009 14:00:34
Message-Id: E1Lmq8G-0006eM-93@stork.gentoo.org
1 scarabeus 09/03/26 14:00:32
2
3 Modified: ChangeLog metadata.xml
4 Added: agg-2.5-r1.ebuild
5 Log:
6 Apply patches from debian. Clean up deps. Move to eapi2. Remove sdl useflag and introduce new gpc useflag.
7 (Portage version: 2.2_rc27/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.16 x11-libs/agg/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/agg/ChangeLog?rev=1.16&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/agg/ChangeLog?rev=1.16&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/agg/ChangeLog?r1=1.15&r2=1.16
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-libs/agg/ChangeLog,v
19 retrieving revision 1.15
20 retrieving revision 1.16
21 diff -u -r1.15 -r1.16
22 --- ChangeLog 30 Nov 2008 18:48:35 -0000 1.15
23 +++ ChangeLog 26 Mar 2009 14:00:32 -0000 1.16
24 @@ -1,6 +1,14 @@
25 # ChangeLog for x11-libs/agg
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/agg/ChangeLog,v 1.15 2008/11/30 18:48:35 armin76 Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/agg/ChangeLog,v 1.16 2009/03/26 14:00:32 scarabeus Exp $
30 +
31 +*agg-2.5-r1 (26 Mar 2009)
32 +
33 + 26 Mar 2009; Tomas Chvatal <scarabeus@g.o>
34 + +files/2.5/02_maintainer_mode.patch, +files/2.5/03_pkg_config_pic.patch,
35 + +files/2.5/04_no_rpath.patch, metadata.xml, +agg-2.5-r1.ebuild:
36 + Apply patches from debian. Clean up deps. Move to eapi2. Remove sdl
37 + useflag and introduce new gpc useflag.
38
39 30 Nov 2008; Raúl Porcel <armin76@g.o> agg-2.5.ebuild:
40 sparc stable wrt #244336
41
42
43
44 1.3 x11-libs/agg/metadata.xml
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/agg/metadata.xml?rev=1.3&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/agg/metadata.xml?rev=1.3&content-type=text/plain
48 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/agg/metadata.xml?r1=1.2&r2=1.3
49
50 Index: metadata.xml
51 ===================================================================
52 RCS file: /var/cvsroot/gentoo-x86/x11-libs/agg/metadata.xml,v
53 retrieving revision 1.2
54 retrieving revision 1.3
55 diff -u -r1.2 -r1.3
56 --- metadata.xml 15 May 2007 14:23:17 -0000 1.2
57 +++ metadata.xml 26 Mar 2009 14:00:32 -0000 1.3
58 @@ -2,8 +2,11 @@
59 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
60 <pkgmetadata>
61 <herd>no-herd</herd>
62 - <maintainer>
63 - <email>genstef@g.o</email>
64 - <name>Stefan Schweizer</name>
65 - </maintainer>
66 +<maintainer>
67 + <email>genstef@g.o</email>
68 + <name>Stefan Schweizer</name>
69 +</maintainer>
70 +<use>
71 + <flag name="gpc">Enable gpc polygon clipper library</flag>
72 +</use>
73 </pkgmetadata>
74
75
76
77 1.1 x11-libs/agg/agg-2.5-r1.ebuild
78
79 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/agg/agg-2.5-r1.ebuild?rev=1.1&view=markup
80 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/agg/agg-2.5-r1.ebuild?rev=1.1&content-type=text/plain
81
82 Index: agg-2.5-r1.ebuild
83 ===================================================================
84 # Copyright 1999-2009 Gentoo Foundation
85 # Distributed under the terms of the GNU General Public License v2
86 # $Header: /var/cvsroot/gentoo-x86/x11-libs/agg/agg-2.5-r1.ebuild,v 1.1 2009/03/26 14:00:32 scarabeus Exp $
87
88 EAPI="2"
89
90 inherit eutils autotools base
91
92 DESCRIPTION="Anti-Grain Geometry - A High Quality Rendering Engine for C++"
93 HOMEPAGE="http://antigrain.com/"
94 SRC_URI="http://antigrain.com/${P}.tar.gz"
95 LICENSE="X11"
96 SLOT="0"
97 KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86 ~x86-fbsd"
98 IUSE="+gpc +truetype +X"
99
100 # preffer X with enabled xcb, really
101 RDEPEND="
102 media-libs/libsdl[X?]
103 X? ( x11-libs/libX11[xcb] )
104 truetype? ( media-libs/freetype:2 )
105 "
106 DEPEND="${RDEPEND}
107 dev-util/pkgconfig
108 "
109
110 # taken from debian
111 PATCHES=(
112 "${FILESDIR}/${PV}/02_maintainer_mode.patch"
113 "${FILESDIR}/${PV}/03_pkg_config_pic.patch"
114 "${FILESDIR}/${PV}/04_no_rpath.patch"
115 )
116
117 src_prepare() {
118 base_src_prepare
119 sed -r -i \
120 -e 's:^(.*) -L@.*:\1:' \
121 src/platform/X11/Makefile.am || die "Failed to sed"
122 eautoreconf
123 }
124
125 src_configure() {
126 # examples are not (yet) installed, so do not compile them
127 # sdl is harddep only sdl-tests are optional so we enable them anyway
128 econf \
129 --enable-ctrl \
130 --enable-sdltest \
131 --disable-examples \
132 --disable-dependency-tracking \
133 $(use_enable gpc gpc) \
134 $(use_enable truetype freetype) \
135 $(use_with X x)
136 }
137
138 src_install() {
139 emake DESTDIR="${D}" install || die "emake install failed"
140 dodoc readme authors ChangeLog news
141 }