1 |
commit: c1ff1e892eec4da78b9b691e66133b4cd439ee3b |
2 |
Author: David Heidelberger <david.heidelberger <AT> ixit <DOT> cz> |
3 |
AuthorDate: Fri May 24 01:03:12 2013 +0000 |
4 |
Commit: David Heidelberger <d.okias <AT> gmail <DOT> com> |
5 |
CommitDate: Fri May 24 01:03:12 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=c1ff1e89 |
7 |
|
8 |
dev-libs/weston: -9999 USE for disabling xwayland and headless |
9 |
|
10 |
Package-Manager: portage-2.2.0_alpha176 |
11 |
|
12 |
--- |
13 |
dev-libs/weston/metadata.xml | 2 ++ |
14 |
dev-libs/weston/weston-9999.ebuild | 4 +++- |
15 |
2 files changed, 5 insertions(+), 1 deletions(-) |
16 |
|
17 |
diff --git a/dev-libs/weston/metadata.xml b/dev-libs/weston/metadata.xml |
18 |
index 8af4779..d466899 100644 |
19 |
--- a/dev-libs/weston/metadata.xml |
20 |
+++ b/dev-libs/weston/metadata.xml |
21 |
@@ -9,12 +9,14 @@ |
22 |
<flag name='egl'>Enable egl acceleration.</flag> |
23 |
<flag name='fbdev'>Enable fbdev compositor support.</flag> |
24 |
<flag name='gles2'>Use GLESv2 cairo instead of full GL.</flag> |
25 |
+ <flag name='headless'>Headless backend and a noop renderer, mainly for testing purposes.</flag> |
26 |
<flag name='rdp'>Enable Remote Desktop Protocol compositor support.</flag> |
27 |
<flag name='resize-optimization'>Increase performance, allocate more RAM. Recommended to disable on Raspberry Pi.</flag> |
28 |
<flag name='rpi'>Raspberry Pi GPU support.</flag> |
29 |
<flag name='simple-clients'>Enable simple-clients?.</flag> |
30 |
<flag name='tablet'>Enable interface for tablets.</flag> |
31 |
<flag name='wayland-compositor'>Enable Wayland compositor support.</flag> |
32 |
+ <flag name='xwayland'>Enable ability support native X11 applications.</flag> |
33 |
<flag name='x11'>Enable X11 compositor support.</flag> |
34 |
</use> |
35 |
</pkgmetadata> |
36 |
|
37 |
diff --git a/dev-libs/weston/weston-9999.ebuild b/dev-libs/weston/weston-9999.ebuild |
38 |
index ebdad42..cde62dd 100644 |
39 |
--- a/dev-libs/weston/weston-9999.ebuild |
40 |
+++ b/dev-libs/weston/weston-9999.ebuild |
41 |
@@ -25,7 +25,7 @@ fi |
42 |
LICENSE="MIT CC-BY-SA-3.0" |
43 |
SLOT="0" |
44 |
KEYWORDS="~arm ~amd64 ~x86 ~arm-linux" |
45 |
-IUSE="+clients colord debug +drm +egl fbdev gles2 rdp +resize-optimization -rpi +simple-clients static-libs +tablet +wayland-compositor +x11" |
46 |
+IUSE="+clients colord debug +drm +egl headless fbdev gles2 rdp +resize-optimization -rpi +simple-clients static-libs +tablet +wayland-compositor +xwayland +x11" |
47 |
|
48 |
REQUIRED_USE=" |
49 |
rpi? ( !drm !egl gles2 ) |
50 |
@@ -67,6 +67,7 @@ src_configure() { |
51 |
$(use_enable drm drm-compositor) \ |
52 |
$(use_enable egl) \ |
53 |
$(use_enable fbdev fbdev-compositor) \ |
54 |
+ $(use_enable headless headless-compositor) \ |
55 |
$(use_enable rdp rdp-compositor) \ |
56 |
$(use_enable resize-optimization) \ |
57 |
$(use_enable rpi rpi-compositor) \ |
58 |
@@ -74,6 +75,7 @@ src_configure() { |
59 |
$(use_enable static-libs static) \ |
60 |
$(use_enable tablet tablet-shell) \ |
61 |
$(use_enable wayland-compositor) \ |
62 |
+ $(use_enable xwayland xwayland-compositor) \ |
63 |
$(use_enable x11 x11-compositor) \ |
64 |
$(use_with gles2 cairo-glesv2) |
65 |
} |