Lines 45-51
RDEPEND="
Link Here
|
45 |
media-libs/libpng:0= |
45 |
media-libs/libpng:0= |
46 |
media-libs/libwebp:0= |
46 |
media-libs/libwebp:0= |
47 |
virtual/jpeg |
47 |
virtual/jpeg |
48 |
>=x11-libs/cairo-1.11.3[gles2(-)?,opengl?] |
48 |
>=x11-libs/cairo-1.11.3 |
49 |
>=x11-libs/libdrm-2.4.30 |
49 |
>=x11-libs/libdrm-2.4.30 |
50 |
x11-libs/libxkbcommon |
50 |
x11-libs/libxkbcommon |
51 |
x11-libs/pixman |
51 |
x11-libs/pixman |
Lines 107-126
src_prepare() {
Link Here
|
107 |
src_configure() { |
107 |
src_configure() { |
108 |
local myconf |
108 |
local myconf |
109 |
if use examples || use gles2 || use test; then |
109 |
if use examples || use gles2 || use test; then |
110 |
myconf="--enable-simple-clients |
110 |
myconf="--enable-simple-clients" |
111 |
$(use_enable egl simple-egl-clients)" |
|
|
112 |
else |
111 |
else |
113 |
myconf="--disable-simple-clients |
112 |
myconf="--disable-simple-clients" |
114 |
--disable-simple-egl-clients" |
|
|
115 |
fi |
113 |
fi |
116 |
|
114 |
|
117 |
if use gles2; then |
115 |
myconf+=" --with-cairo=image --disable-simple-egl-clients" |
118 |
myconf+=" --with-cairo=glesv2" |
|
|
119 |
elif use opengl; then |
120 |
myconf+=" --with-cairo=gl" |
121 |
else |
122 |
myconf+=" --with-cairo=image" |
123 |
fi |
124 |
|
116 |
|
125 |
econf \ |
117 |
econf \ |
126 |
$(use_enable examples demo-clients-install) \ |
118 |
$(use_enable examples demo-clients-install) \ |