Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: media-libs/clutter/
Date: Sun, 01 Dec 2013 11:30:55
Message-Id: 1385897405.59f20d180ceef5872f9a3719e3faf2a97b27d3ce.eva@gentoo
1 commit: 59f20d180ceef5872f9a3719e3faf2a97b27d3ce
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 1 11:12:00 2013 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 1 11:30:05 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=59f20d18
7
8 media-libs/clutter: 1.14.6 → 1.16.2
9
10 ---
11 ...lutter-1.13.10.ebuild => clutter-1.16.2.ebuild} | 75 ++++++++++------------
12 media-libs/clutter/clutter-9999.ebuild | 66 ++++++++++---------
13 2 files changed, 69 insertions(+), 72 deletions(-)
14
15 diff --git a/media-libs/clutter/clutter-1.13.10.ebuild b/media-libs/clutter/clutter-1.16.2.ebuild
16 similarity index 67%
17 rename from media-libs/clutter/clutter-1.13.10.ebuild
18 rename to media-libs/clutter/clutter-1.16.2.ebuild
19 index 0cd2e08..da4ee38 100644
20 --- a/media-libs/clutter/clutter-1.13.10.ebuild
21 +++ b/media-libs/clutter/clutter-1.16.2.ebuild
22 @@ -8,29 +8,22 @@ CLUTTER_LA_PUNT="yes"
23 # Inherit gnome2 after clutter to download sources from gnome.org
24 # since clutter-project.org doesn't provide .xz tarballs
25 inherit clutter gnome2 virtualx
26 -if [[ ${PV} = 9999 ]]; then
27 - inherit gnome2-live
28 -fi
29
30 DESCRIPTION="Clutter is a library for creating graphical user interfaces"
31
32 LICENSE="LGPL-2.1+ FDL-1.1+"
33 SLOT="1.0"
34 IUSE="debug doc gtk +introspection test" # evdev tslib
35 -if [[ ${PV} = 9999 ]]; then
36 - KEYWORDS=""
37 -else
38 - KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
39 -fi
40 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
41
42 # NOTE: glx flavour uses libdrm + >=mesa-7.3
43 # XXX: uprof needed for profiling
44 # >=libX11-1.3.1 needed for X Generic Event support
45 RDEPEND="
46 - >=dev-libs/glib-2.31.19:2
47 + >=dev-libs/glib-2.37.3:2
48 >=dev-libs/atk-2.5.3[introspection?]
49 >=dev-libs/json-glib-0.12[introspection?]
50 - >=media-libs/cogl-1.13.4:1.0=[introspection?,pango]
51 + >=media-libs/cogl-1.15.9:1.0=[introspection?,pango]
52 media-libs/fontconfig
53 >=x11-libs/cairo-1.10:=[glib]
54 >=x11-libs/pango-1.30[introspection?]
55 @@ -42,11 +35,11 @@ RDEPEND="
56 x11-libs/libXdamage
57 x11-proto/inputproto
58 >=x11-libs/libXi-1.3
59 - >=x11-libs/libXfixes-3
60 >=x11-libs/libXcomposite-0.4
61
62 gtk? ( >=x11-libs/gtk+-3.3.18:3 )
63 - introspection? ( >=dev-libs/gobject-introspection-0.9.6 )"
64 + introspection? ( >=dev-libs/gobject-introspection-0.9.6 )
65 +"
66 DEPEND="${RDEPEND}
67 >=dev-util/gtk-doc-am-1.15
68 virtual/pkgconfig
69 @@ -59,9 +52,19 @@ DEPEND="${RDEPEND}
70
71 # Tests fail with both swrast and llvmpipe
72 # They pass under r600g or i965, so the bug is in mesa
73 -RESTRICT="test"
74 +#RESTRICT="test"
75
76 src_prepare() {
77 + # We only need conformance tests, the rest are useless for us
78 + sed -e 's/^\(SUBDIRS =\).*/\1 accessibility data conform/g' \
79 + -i tests/Makefile.am || die "am tests sed failed"
80 + sed -e 's/^\(SUBDIRS =\)[^\]*/\1 accessibility data conform/g' \
81 + -i tests/Makefile.in || die "in tests sed failed"
82 +
83 + gnome2_src_prepare
84 +}
85 +
86 +src_configure() {
87 DOCS="README NEWS ChangeLog*"
88
89 # XXX: Conformance test suite (and clutter itself) does not work under Xvfb
90 @@ -69,33 +72,25 @@ src_prepare() {
91 # XXX: Profiling, coverage disabled for now
92 # XXX: What about cex100/egl/osx/wayland/win32 backends?
93 # XXX: evdev/tslib input seem to be experimental?
94 - G2CONF="${G2CONF} ${myconf}
95 - --enable-xinput
96 - --enable-x11-backend=yes
97 - --disable-profile
98 - --disable-maintainer-flags
99 - --disable-gcov
100 - --disable-cex100-backend
101 - --disable-egl-backend
102 - --disable-quartz-backend
103 - --disable-wayland-backend
104 - --disable-win32-backend
105 - --disable-tslib-input
106 - --disable-evdev-input
107 - $(usex debug --enable-debug=yes --enable-debug=minimum)
108 - $(use_enable gtk gdk-backend)
109 - $(use_enable introspection)
110 - $(use_enable doc docs)
111 - $(use_enable test conformance)
112 - $(use_enable test gdk-pixbuf)"
113 -
114 - # We only need conformance tests, the rest are useless for us
115 - sed -e 's/^\(SUBDIRS =\).*/\1/g' \
116 - -i tests/Makefile.am || die "am tests sed failed"
117 - sed -e 's/^\(SUBDIRS =\)[^\]*/\1/g' \
118 - -i tests/Makefile.in || die "in tests sed failed"
119 -
120 - gnome2_src_prepare
121 + gnome2_src_configure \
122 + --enable-xinput \
123 + --enable-x11-backend=yes \
124 + --disable-profile \
125 + --disable-maintainer-flags \
126 + --disable-gcov \
127 + --disable-cex100-backend \
128 + --disable-egl-backend \
129 + --disable-quartz-backend \
130 + --disable-wayland-backend \
131 + --disable-win32-backend \
132 + --disable-tslib-input \
133 + --disable-evdev-input \
134 + $(usex debug --enable-debug=yes --enable-debug=minimum) \
135 + $(use_enable doc docs) \
136 + $(use_enable gtk gdk-backend) \
137 + $(use_enable introspection) \
138 + $(use_enable test conformance) \
139 + $(use_enable test gdk-pixbuf)
140 }
141
142 src_compile() {
143
144 diff --git a/media-libs/clutter/clutter-9999.ebuild b/media-libs/clutter/clutter-9999.ebuild
145 index 0cd2e08..098e26a 100644
146 --- a/media-libs/clutter/clutter-9999.ebuild
147 +++ b/media-libs/clutter/clutter-9999.ebuild
148 @@ -27,10 +27,10 @@ fi
149 # XXX: uprof needed for profiling
150 # >=libX11-1.3.1 needed for X Generic Event support
151 RDEPEND="
152 - >=dev-libs/glib-2.31.19:2
153 + >=dev-libs/glib-2.37.3:2
154 >=dev-libs/atk-2.5.3[introspection?]
155 >=dev-libs/json-glib-0.12[introspection?]
156 - >=media-libs/cogl-1.13.4:1.0=[introspection?,pango]
157 + >=media-libs/cogl-1.15.9:1.0=[introspection?,pango]
158 media-libs/fontconfig
159 >=x11-libs/cairo-1.10:=[glib]
160 >=x11-libs/pango-1.30[introspection?]
161 @@ -42,11 +42,11 @@ RDEPEND="
162 x11-libs/libXdamage
163 x11-proto/inputproto
164 >=x11-libs/libXi-1.3
165 - >=x11-libs/libXfixes-3
166 >=x11-libs/libXcomposite-0.4
167
168 gtk? ( >=x11-libs/gtk+-3.3.18:3 )
169 - introspection? ( >=dev-libs/gobject-introspection-0.9.6 )"
170 + introspection? ( >=dev-libs/gobject-introspection-0.9.6 )
171 +"
172 DEPEND="${RDEPEND}
173 >=dev-util/gtk-doc-am-1.15
174 virtual/pkgconfig
175 @@ -59,36 +59,9 @@ DEPEND="${RDEPEND}
176
177 # Tests fail with both swrast and llvmpipe
178 # They pass under r600g or i965, so the bug is in mesa
179 -RESTRICT="test"
180 +#RESTRICT="test"
181
182 src_prepare() {
183 - DOCS="README NEWS ChangeLog*"
184 -
185 - # XXX: Conformance test suite (and clutter itself) does not work under Xvfb
186 - # (GLX error blabla)
187 - # XXX: Profiling, coverage disabled for now
188 - # XXX: What about cex100/egl/osx/wayland/win32 backends?
189 - # XXX: evdev/tslib input seem to be experimental?
190 - G2CONF="${G2CONF} ${myconf}
191 - --enable-xinput
192 - --enable-x11-backend=yes
193 - --disable-profile
194 - --disable-maintainer-flags
195 - --disable-gcov
196 - --disable-cex100-backend
197 - --disable-egl-backend
198 - --disable-quartz-backend
199 - --disable-wayland-backend
200 - --disable-win32-backend
201 - --disable-tslib-input
202 - --disable-evdev-input
203 - $(usex debug --enable-debug=yes --enable-debug=minimum)
204 - $(use_enable gtk gdk-backend)
205 - $(use_enable introspection)
206 - $(use_enable doc docs)
207 - $(use_enable test conformance)
208 - $(use_enable test gdk-pixbuf)"
209 -
210 # We only need conformance tests, the rest are useless for us
211 sed -e 's/^\(SUBDIRS =\).*/\1/g' \
212 -i tests/Makefile.am || die "am tests sed failed"
213 @@ -98,6 +71,35 @@ src_prepare() {
214 gnome2_src_prepare
215 }
216
217 +src_configure() {
218 + DOCS="README NEWS ChangeLog*"
219 +
220 + # XXX: Conformance test suite (and clutter itself) does not work under Xvfb
221 + # (GLX error blabla)
222 + # XXX: Profiling, coverage disabled for now
223 + # XXX: What about cex100/egl/osx/wayland/win32 backends?
224 + # XXX: evdev/tslib input seem to be experimental?
225 + gnome2_src_configure \
226 + --enable-xinput \
227 + --enable-x11-backend=yes \
228 + --disable-profile \
229 + --disable-maintainer-flags \
230 + --disable-gcov \
231 + --disable-cex100-backend \
232 + --disable-egl-backend \
233 + --disable-quartz-backend \
234 + --disable-wayland-backend \
235 + --disable-win32-backend \
236 + --disable-tslib-input \
237 + --disable-evdev-input \
238 + $(usex debug --enable-debug=yes --enable-debug=minimum) \
239 + $(use_enable doc docs) \
240 + $(use_enable gtk gdk-backend) \
241 + $(use_enable introspection) \
242 + $(use_enable test conformance) \
243 + $(use_enable test gdk-pixbuf)
244 +}
245 +
246 src_compile() {
247 default
248 if use test; then