Lines 27-41
fi
Link Here
|
27 |
|
27 |
|
28 |
LICENSE="MIT CC-BY-SA-3.0" |
28 |
LICENSE="MIT CC-BY-SA-3.0" |
29 |
SLOT="0" |
29 |
SLOT="0" |
30 |
IUSE="colord dbus +drm +egl editor examples fbdev gles2 headless ivi +opengl rdp +resize-optimization rpi +launch screen-sharing static-libs +suid systemd test unwind wayland-compositor +X xwayland" |
30 |
IUSE="colord dbus +drm editor examples fbdev +gles2 headless ivi rdp +resize-optimization rpi +launch screen-sharing static-libs +suid systemd test unwind wayland-compositor +X xwayland" |
31 |
|
31 |
|
32 |
REQUIRED_USE=" |
32 |
REQUIRED_USE=" |
33 |
drm? ( egl ) |
33 |
drm? ( gles2 ) |
34 |
egl? ( || ( gles2 opengl ) ) |
|
|
35 |
gles2? ( !opengl ) |
36 |
screen-sharing? ( rdp ) |
34 |
screen-sharing? ( rdp ) |
37 |
test? ( X ) |
35 |
test? ( X ) |
38 |
wayland-compositor? ( egl ) |
36 |
wayland-compositor? ( gles2 ) |
39 |
" |
37 |
" |
40 |
|
38 |
|
41 |
RDEPEND=" |
39 |
RDEPEND=" |
Lines 61-75
RDEPEND="
Link Here
|
61 |
>=sys-libs/mtdev-1.1.0 |
59 |
>=sys-libs/mtdev-1.1.0 |
62 |
>=virtual/udev-136 |
60 |
>=virtual/udev-136 |
63 |
) |
61 |
) |
64 |
egl? ( |
|
|
65 |
media-libs/mesa[gles2,wayland] |
66 |
) |
67 |
editor? ( x11-libs/pango ) |
62 |
editor? ( x11-libs/pango ) |
68 |
gles2? ( |
63 |
gles2? ( |
69 |
media-libs/mesa[wayland] |
64 |
media-libs/mesa[gles2,wayland] |
70 |
) |
|
|
71 |
opengl? ( |
72 |
media-libs/mesa[wayland] |
73 |
) |
65 |
) |
74 |
rdp? ( >=net-misc/freerdp-1.1.0_beta1_p20130710 ) |
66 |
rdp? ( >=net-misc/freerdp-1.1.0_beta1_p20130710 ) |
75 |
rpi? ( |
67 |
rpi? ( |
Lines 105-111
src_prepare() {
Link Here
|
105 |
|
97 |
|
106 |
src_configure() { |
98 |
src_configure() { |
107 |
local myconf |
99 |
local myconf |
108 |
if use examples || use gles2 || use test; then |
100 |
if use examples || use test; then |
109 |
myconf="--enable-simple-clients" |
101 |
myconf="--enable-simple-clients" |
110 |
else |
102 |
else |
111 |
myconf="--disable-simple-clients" |
103 |
myconf="--disable-simple-clients" |
Lines 126-132
src_configure() {
Link Here
|
126 |
$(use_enable X x11-compositor) \ |
118 |
$(use_enable X x11-compositor) \ |
127 |
$(use_enable launch weston-launch) \ |
119 |
$(use_enable launch weston-launch) \ |
128 |
$(use_enable colord) \ |
120 |
$(use_enable colord) \ |
129 |
$(use_enable egl) \ |
121 |
$(use_enable gles2 egl) \ |
130 |
$(use_enable unwind libunwind) \ |
122 |
$(use_enable unwind libunwind) \ |
131 |
$(use_enable resize-optimization) \ |
123 |
$(use_enable resize-optimization) \ |
132 |
$(use_enable screen-sharing) \ |
124 |
$(use_enable screen-sharing) \ |