1 |
commit: 99a07405d17b336b711477fc8fa8d201fcc6346c |
2 |
Author: Chi-Thanh Christopher Nguyen <chithanh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 30 12:25:46 2014 +0000 |
4 |
Commit: Chi-Thanh Christopher Nguyen <chithanh <AT> cs <DOT> tu-berlin <DOT> de> |
5 |
CommitDate: Thu Jan 30 12:25:46 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=99a07405 |
7 |
|
8 |
dev-libs/weston: drop release ebuilds |
9 |
|
10 |
weston-1.4.0 is in portage now, and 1.3.1 is old. |
11 |
|
12 |
--- |
13 |
dev-libs/weston/weston-1.3.1.ebuild | 183 ----------------------------------- |
14 |
dev-libs/weston/weston-1.4.0.ebuild | 184 ------------------------------------ |
15 |
2 files changed, 367 deletions(-) |
16 |
|
17 |
diff --git a/dev-libs/weston/weston-1.3.1.ebuild b/dev-libs/weston/weston-1.3.1.ebuild |
18 |
deleted file mode 100644 |
19 |
index f25170e..0000000 |
20 |
--- a/dev-libs/weston/weston-1.3.1.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,183 +0,0 @@ |
23 |
-# Copyright 1999-2014 Gentoo Foundation |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Header: $ |
26 |
- |
27 |
-EAPI=5 |
28 |
- |
29 |
-if [[ ${PV} = 9999* ]]; then |
30 |
- EGIT_REPO_URI="git://anongit.freedesktop.org/git/wayland/${PN}" |
31 |
- GIT_ECLASS="git-r3" |
32 |
- EXPERIMENTAL="true" |
33 |
-fi |
34 |
-VIRTUALX_REQUIRED="test" |
35 |
-RESTRICT="test" |
36 |
- |
37 |
-inherit autotools readme.gentoo toolchain-funcs virtualx $GIT_ECLASS |
38 |
- |
39 |
-DESCRIPTION="Wayland reference compositor" |
40 |
-HOMEPAGE="http://wayland.freedesktop.org/" |
41 |
- |
42 |
-if [[ $PV = 9999* ]]; then |
43 |
- SRC_URI="${SRC_PATCHES}" |
44 |
- KEYWORDS="" |
45 |
-else |
46 |
- SRC_URI="http://wayland.freedesktop.org/releases/${P}.tar.xz" |
47 |
- KEYWORDS="~arm ~amd64 ~x86 ~arm-linux" |
48 |
-fi |
49 |
- |
50 |
-LICENSE="MIT CC-BY-SA-3.0" |
51 |
-SLOT="0" |
52 |
-IUSE="colord +drm +egl editor examples fbdev gles2 headless +opengl rdp +resize-optimization rpi +launch static-libs +suid systemd test unwind view wayland-compositor +X xwayland" |
53 |
- |
54 |
-REQUIRED_USE=" |
55 |
- drm? ( egl ) |
56 |
- egl? ( || ( gles2 opengl ) ) |
57 |
- gles2? ( !opengl ) |
58 |
- test? ( X ) |
59 |
- wayland-compositor? ( egl ) |
60 |
-" |
61 |
- |
62 |
-RDEPEND=" |
63 |
- >=dev-libs/wayland-1.2.90 |
64 |
- media-libs/lcms:2 |
65 |
- media-libs/libpng:= |
66 |
- virtual/jpeg |
67 |
- >=x11-libs/cairo-1.11.3[gles2(-)?,opengl?] |
68 |
- >=x11-libs/libdrm-2.4.30 |
69 |
- x11-libs/libxkbcommon |
70 |
- x11-libs/pixman |
71 |
- x11-misc/xkeyboard-config |
72 |
- fbdev? ( |
73 |
- >=sys-libs/mtdev-1.1.0 |
74 |
- >=virtual/udev-136 |
75 |
- ) |
76 |
- colord? ( >=x11-misc/colord-0.1.27 ) |
77 |
- drm? ( |
78 |
- media-libs/mesa[gbm] |
79 |
- >=sys-libs/mtdev-1.1.0 |
80 |
- >=virtual/udev-136 |
81 |
- ) |
82 |
- egl? ( |
83 |
- media-libs/glu |
84 |
- media-libs/mesa[gles2] |
85 |
- ) |
86 |
- editor? ( x11-libs/pango ) |
87 |
- view? ( |
88 |
- app-text/poppler:=[cairo] |
89 |
- dev-libs/glib:2 |
90 |
- ) |
91 |
- rdp? ( >=net-misc/freerdp-1.1.0_beta1_p20130710 ) |
92 |
- rpi? ( |
93 |
- >=sys-libs/mtdev-1.1.0 |
94 |
- >=virtual/udev-136 |
95 |
- ) |
96 |
- systemd? ( |
97 |
- sys-auth/pambase[systemd] |
98 |
- sys-apps/systemd[pam] |
99 |
- ) |
100 |
- launch? ( sys-auth/pambase ) |
101 |
- unwind? ( sys-libs/libunwind ) |
102 |
- X? ( |
103 |
- x11-libs/libxcb |
104 |
- x11-libs/libX11 |
105 |
- ) |
106 |
- xwayland? ( |
107 |
- x11-libs/cairo[xcb] |
108 |
- x11-libs/libxcb |
109 |
- x11-libs/libXcursor |
110 |
- ) |
111 |
-" |
112 |
-DEPEND="${RDEPEND} |
113 |
- gnome-base/librsvg |
114 |
- virtual/pkgconfig |
115 |
-" |
116 |
- |
117 |
-src_prepare() { |
118 |
- sed -ie 's/tests //' "${S}"/Makefile.am |
119 |
- if [[ ${PV} = 9999* ]]; then |
120 |
- eautoreconf |
121 |
- fi |
122 |
-} |
123 |
- |
124 |
-src_configure() { |
125 |
- local myconf |
126 |
- if use examples || use gles2 || use test; then |
127 |
- myconf="--enable-simple-clients |
128 |
- $(use_enable egl simple-egl-clients)" |
129 |
- else |
130 |
- myconf="--disable-simple-clients |
131 |
- --disable-simple-egl-clients" |
132 |
- fi |
133 |
- |
134 |
- if use gles2; then |
135 |
- myconf+=" --with-cairo=glesv2" |
136 |
- elif use opengl; then |
137 |
- myconf+=" --with-cairo=gl" |
138 |
- else |
139 |
- myconf+=" --with-cairo=image" |
140 |
- fi |
141 |
- |
142 |
- econf \ |
143 |
- $(use_enable fbdev fbdev-compositor) \ |
144 |
- $(use_enable drm drm-compositor) \ |
145 |
- $(use_enable headless headless-compositor) \ |
146 |
- $(use_enable rdp rdp-compositor) \ |
147 |
- $(use_enable rpi rpi-compositor) \ |
148 |
- $(use_enable wayland-compositor) \ |
149 |
- $(use_enable X x11-compositor) \ |
150 |
- $(use_enable launch weston-launch) \ |
151 |
- $(use_enable colord) \ |
152 |
- $(use_enable egl) \ |
153 |
- $(use_enable unwind libunwind) \ |
154 |
- $(use_enable resize-optimization) \ |
155 |
- $(use_enable suid setuid-install) \ |
156 |
- $(use_enable xwayland) \ |
157 |
- $(use_enable xwayland xwayland-test) \ |
158 |
- ${myconf} |
159 |
-} |
160 |
- |
161 |
-src_test() { |
162 |
- export XDG_RUNTIME_DIR="${T}/runtime-dir" |
163 |
- mkdir "${XDG_RUNTIME_DIR}" || die |
164 |
- chmod 0700 "${XDG_RUNTIME_DIR}" || die |
165 |
- |
166 |
- cd "${BUILD_DIR}" || die |
167 |
- Xemake check |
168 |
-} |
169 |
- |
170 |
-src_install() { |
171 |
- default |
172 |
- |
173 |
- readme.gentoo_src_install |
174 |
- |
175 |
- pushd clients || die |
176 |
- |
177 |
- if use opengl && use egl && use !gles2; then |
178 |
- dobin weston-gears |
179 |
- fi |
180 |
- if use editor; then |
181 |
- dobin weston-editor |
182 |
- fi |
183 |
- if use view; then |
184 |
- dobin weston-view |
185 |
- fi |
186 |
- if use examples; then |
187 |
- use egl && dobin weston-simple-egl |
188 |
- dobin \ |
189 |
- weston-calibrator \ |
190 |
- weston-clickdot \ |
191 |
- weston-cliptest \ |
192 |
- weston-dnd \ |
193 |
- weston-eventdemo \ |
194 |
- weston-flower \ |
195 |
- weston-fullscreen \ |
196 |
- weston-image \ |
197 |
- weston-resizor \ |
198 |
- weston-simple-shm \ |
199 |
- weston-simple-touch \ |
200 |
- weston-smoke \ |
201 |
- weston-transformed |
202 |
- fi |
203 |
- popd |
204 |
- |
205 |
-} |
206 |
|
207 |
diff --git a/dev-libs/weston/weston-1.4.0.ebuild b/dev-libs/weston/weston-1.4.0.ebuild |
208 |
deleted file mode 100644 |
209 |
index df5d2f4..0000000 |
210 |
--- a/dev-libs/weston/weston-1.4.0.ebuild |
211 |
+++ /dev/null |
212 |
@@ -1,184 +0,0 @@ |
213 |
-# Copyright 1999-2014 Gentoo Foundation |
214 |
-# Distributed under the terms of the GNU General Public License v2 |
215 |
-# $Header: $ |
216 |
- |
217 |
-EAPI=5 |
218 |
- |
219 |
-if [[ ${PV} = 9999* ]]; then |
220 |
- EGIT_REPO_URI="git://anongit.freedesktop.org/git/wayland/${PN}" |
221 |
- GIT_ECLASS="git-r3" |
222 |
- EXPERIMENTAL="true" |
223 |
-fi |
224 |
-VIRTUALX_REQUIRED="test" |
225 |
-RESTRICT="test" |
226 |
- |
227 |
-inherit autotools readme.gentoo toolchain-funcs virtualx $GIT_ECLASS |
228 |
- |
229 |
-DESCRIPTION="Wayland reference compositor" |
230 |
-HOMEPAGE="http://wayland.freedesktop.org/" |
231 |
- |
232 |
-if [[ $PV = 9999* ]]; then |
233 |
- SRC_URI="${SRC_PATCHES}" |
234 |
- KEYWORDS="" |
235 |
-else |
236 |
- SRC_URI="http://wayland.freedesktop.org/releases/${P}.tar.xz" |
237 |
- KEYWORDS="~arm ~amd64 ~x86 ~arm-linux" |
238 |
-fi |
239 |
- |
240 |
-LICENSE="MIT CC-BY-SA-3.0" |
241 |
-SLOT="0" |
242 |
-IUSE="colord +drm dbus +egl editor examples fbdev gles2 headless +opengl rdp +resize-optimization rpi +launch static-libs +suid systemd test unwind view wayland-compositor +X xwayland" |
243 |
- |
244 |
-REQUIRED_USE=" |
245 |
- drm? ( egl ) |
246 |
- egl? ( || ( gles2 opengl ) ) |
247 |
- gles2? ( !opengl ) |
248 |
- test? ( X ) |
249 |
- wayland-compositor? ( egl ) |
250 |
-" |
251 |
- |
252 |
-RDEPEND=" |
253 |
- >=dev-libs/wayland-1.4.0 |
254 |
- media-libs/lcms:2 |
255 |
- media-libs/libpng:= |
256 |
- virtual/jpeg |
257 |
- >=x11-libs/cairo-1.11.3[gles2(-)?,opengl?] |
258 |
- >=x11-libs/libdrm-2.4.30 |
259 |
- x11-libs/libxkbcommon |
260 |
- x11-libs/pixman |
261 |
- x11-misc/xkeyboard-config |
262 |
- fbdev? ( |
263 |
- >=sys-libs/mtdev-1.1.0 |
264 |
- >=virtual/udev-136 |
265 |
- ) |
266 |
- colord? ( >=x11-misc/colord-0.1.27 ) |
267 |
- dbus? ( sys-apps/dbus ) |
268 |
- drm? ( |
269 |
- media-libs/mesa[gbm] |
270 |
- >=sys-libs/mtdev-1.1.0 |
271 |
- >=virtual/udev-136 |
272 |
- ) |
273 |
- egl? ( |
274 |
- media-libs/glu |
275 |
- media-libs/mesa[gles2] |
276 |
- ) |
277 |
- editor? ( x11-libs/pango ) |
278 |
- view? ( |
279 |
- app-text/poppler:=[cairo] |
280 |
- dev-libs/glib:2 |
281 |
- ) |
282 |
- rdp? ( >=net-misc/freerdp-1.1.0_beta1_p20130710 ) |
283 |
- rpi? ( |
284 |
- >=sys-libs/mtdev-1.1.0 |
285 |
- >=virtual/udev-136 |
286 |
- ) |
287 |
- systemd? ( |
288 |
- sys-auth/pambase[systemd] |
289 |
- sys-apps/systemd[pam] |
290 |
- ) |
291 |
- launch? ( sys-auth/pambase ) |
292 |
- unwind? ( sys-libs/libunwind ) |
293 |
- X? ( |
294 |
- x11-libs/libxcb |
295 |
- x11-libs/libX11 |
296 |
- ) |
297 |
- xwayland? ( |
298 |
- x11-libs/cairo[xcb] |
299 |
- x11-libs/libxcb |
300 |
- x11-libs/libXcursor |
301 |
- ) |
302 |
-" |
303 |
-DEPEND="${RDEPEND} |
304 |
- gnome-base/librsvg |
305 |
- virtual/pkgconfig |
306 |
-" |
307 |
- |
308 |
-src_prepare() { |
309 |
- if [[ ${PV} = 9999* ]]; then |
310 |
- eautoreconf |
311 |
- fi |
312 |
-} |
313 |
- |
314 |
-src_configure() { |
315 |
- local myconf |
316 |
- if use examples || use gles2 || use test; then |
317 |
- myconf="--enable-simple-clients |
318 |
- $(use_enable egl simple-egl-clients)" |
319 |
- else |
320 |
- myconf="--disable-simple-clients |
321 |
- --disable-simple-egl-clients" |
322 |
- fi |
323 |
- |
324 |
- if use gles2; then |
325 |
- myconf+=" --with-cairo=glesv2" |
326 |
- elif use opengl; then |
327 |
- myconf+=" --with-cairo=gl" |
328 |
- else |
329 |
- myconf+=" --with-cairo=image" |
330 |
- fi |
331 |
- |
332 |
- econf \ |
333 |
- $(use_enable fbdev fbdev-compositor) \ |
334 |
- $(use_enable dbus) \ |
335 |
- $(use_enable drm drm-compositor) \ |
336 |
- $(use_enable headless headless-compositor) \ |
337 |
- $(use_enable rdp rdp-compositor) \ |
338 |
- $(use_enable rpi rpi-compositor) \ |
339 |
- $(use_enable wayland-compositor) \ |
340 |
- $(use_enable X x11-compositor) \ |
341 |
- $(use_enable launch weston-launch) \ |
342 |
- $(use_enable colord) \ |
343 |
- $(use_enable egl) \ |
344 |
- $(use_enable unwind libunwind) \ |
345 |
- $(use_enable resize-optimization) \ |
346 |
- $(use_enable suid setuid-install) \ |
347 |
- $(use_enable xwayland) \ |
348 |
- $(use_enable xwayland xwayland-test) \ |
349 |
- ${myconf} |
350 |
-} |
351 |
- |
352 |
-src_test() { |
353 |
- export XDG_RUNTIME_DIR="${T}/runtime-dir" |
354 |
- mkdir "${XDG_RUNTIME_DIR}" || die |
355 |
- chmod 0700 "${XDG_RUNTIME_DIR}" || die |
356 |
- |
357 |
- cd "${BUILD_DIR}" || die |
358 |
- Xemake check |
359 |
-} |
360 |
- |
361 |
-src_install() { |
362 |
- default |
363 |
- |
364 |
- readme.gentoo_src_install |
365 |
- |
366 |
- pushd clients || die |
367 |
- |
368 |
- if use opengl && use egl && use !gles2; then |
369 |
- dobin weston-gears |
370 |
- fi |
371 |
- if use editor; then |
372 |
- dobin weston-editor |
373 |
- fi |
374 |
- if use view; then |
375 |
- dobin weston-view |
376 |
- fi |
377 |
- if use examples; then |
378 |
- use egl && dobin weston-simple-egl |
379 |
- dobin \ |
380 |
- weston-calibrator \ |
381 |
- weston-clickdot \ |
382 |
- weston-cliptest \ |
383 |
- weston-dnd \ |
384 |
- weston-eventdemo \ |
385 |
- weston-flower \ |
386 |
- weston-fullscreen \ |
387 |
- weston-image \ |
388 |
- weston-resizor \ |
389 |
- weston-simple-shm \ |
390 |
- weston-simple-touch \ |
391 |
- weston-smoke \ |
392 |
- weston-transformed |
393 |
- fi |
394 |
- popd |
395 |
- |
396 |
-} |