1 |
commit: 44fc138b60ad469081423c5b1bed47605462f2c7 |
2 |
Author: David Heidelberger <david.heidelberger <AT> ixit <DOT> cz> |
3 |
AuthorDate: Fri May 24 00:54:08 2013 +0000 |
4 |
Commit: David Heidelberger <d.okias <AT> gmail <DOT> com> |
5 |
CommitDate: Fri May 24 00:54:08 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=44fc138b |
7 |
|
8 |
dev-libs/weston: -9999 more USE flags |
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 | 13 ++++++++++--- |
15 |
2 files changed, 12 insertions(+), 3 deletions(-) |
16 |
|
17 |
diff --git a/dev-libs/weston/metadata.xml b/dev-libs/weston/metadata.xml |
18 |
index 05c9d03..8af4779 100644 |
19 |
--- a/dev-libs/weston/metadata.xml |
20 |
+++ b/dev-libs/weston/metadata.xml |
21 |
@@ -6,7 +6,9 @@ |
22 |
<flag name='clients'>Enable support for clients.</flag> |
23 |
<flag name='colord'>Allow setting color managment.</flag> |
24 |
<flag name='drm'>Enable drm compositor support.</flag> |
25 |
+ <flag name='egl'>Enable egl acceleration.</flag> |
26 |
<flag name='fbdev'>Enable fbdev compositor support.</flag> |
27 |
+ <flag name='gles2'>Use GLESv2 cairo instead of full GL.</flag> |
28 |
<flag name='rdp'>Enable Remote Desktop Protocol compositor support.</flag> |
29 |
<flag name='resize-optimization'>Increase performance, allocate more RAM. Recommended to disable on Raspberry Pi.</flag> |
30 |
<flag name='rpi'>Raspberry Pi GPU support.</flag> |
31 |
|
32 |
diff --git a/dev-libs/weston/weston-9999.ebuild b/dev-libs/weston/weston-9999.ebuild |
33 |
index c8f47c7..ebdad42 100644 |
34 |
--- a/dev-libs/weston/weston-9999.ebuild |
35 |
+++ b/dev-libs/weston/weston-9999.ebuild |
36 |
@@ -25,12 +25,16 @@ fi |
37 |
LICENSE="MIT CC-BY-SA-3.0" |
38 |
SLOT="0" |
39 |
KEYWORDS="~arm ~amd64 ~x86 ~arm-linux" |
40 |
-IUSE="+clients colord debug +drm fbdev rdp +resize-optimization -rpi +simple-clients static-libs +tablet +wayland-compositor +x11" |
41 |
+IUSE="+clients colord debug +drm +egl fbdev gles2 rdp +resize-optimization -rpi +simple-clients static-libs +tablet +wayland-compositor +x11" |
42 |
+ |
43 |
+REQUIRED_USE=" |
44 |
+ rpi? ( !drm !egl gles2 ) |
45 |
+" |
46 |
|
47 |
RDEPEND=" |
48 |
>=dev-libs/wayland-1.1.90 |
49 |
gnome-base/librsvg |
50 |
- media-libs/mesa[egl,gles2,wayland] |
51 |
+ media-libs/mesa[gles2,wayland] |
52 |
x11-libs/pixman |
53 |
clients? ( >=x11-libs/cairo-1.10.0 |
54 |
x11-libs/gdk-pixbuf |
55 |
@@ -43,6 +47,7 @@ RDEPEND=" |
56 |
drm? ( >=virtual/udev-136 |
57 |
>=x11-libs/libdrm-2.4.30 |
58 |
media-libs/mesa[gbm] ) |
59 |
+ egl? ( media-libs/mesa[egl] ) |
60 |
rdp? ( >=net-misc/freerdp-1.1.0_beta1 ) |
61 |
x11? ( x11-libs/libxcb |
62 |
x11-libs/libX11 )" |
63 |
@@ -60,6 +65,7 @@ src_configure() { |
64 |
$(use_enable colord) \ |
65 |
$(use_enable debug libunwind) \ |
66 |
$(use_enable drm drm-compositor) \ |
67 |
+ $(use_enable egl) \ |
68 |
$(use_enable fbdev fbdev-compositor) \ |
69 |
$(use_enable rdp rdp-compositor) \ |
70 |
$(use_enable resize-optimization) \ |
71 |
@@ -68,5 +74,6 @@ src_configure() { |
72 |
$(use_enable static-libs static) \ |
73 |
$(use_enable tablet tablet-shell) \ |
74 |
$(use_enable wayland-compositor) \ |
75 |
- $(use_enable x11 x11-compositor) |
76 |
+ $(use_enable x11 x11-compositor) \ |
77 |
+ $(use_with gles2 cairo-glesv2) |
78 |
} |