Lines 45-63
Link Here
|
45 |
IUSE="${IUSE_VIDEO_CARDS} |
45 |
IUSE="${IUSE_VIDEO_CARDS} |
46 |
bindist +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 +llvm |
46 |
bindist +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 gles2 +llvm |
47 |
+nptl opencl osmesa pax_kernel openmax pic selinux +udev vaapi vdpau |
47 |
+nptl opencl osmesa pax_kernel openmax pic selinux +udev vaapi vdpau |
48 |
wayland xvmc xa kernel_FreeBSD" |
48 |
wayland +X xa xvmc kernel_FreeBSD" |
49 |
|
49 |
|
50 |
REQUIRED_USE=" |
50 |
REQUIRED_USE=" |
51 |
d3d9? ( dri3 gallium ) |
51 |
d3d9? ( dri3 gallium ) |
52 |
llvm? ( gallium ) |
52 |
dri3? ( X ) |
53 |
opencl? ( gallium llvm ) |
|
|
54 |
openmax? ( gallium ) |
55 |
gles1? ( egl ) |
53 |
gles1? ( egl ) |
56 |
gles2? ( egl ) |
54 |
gles2? ( egl ) |
57 |
vaapi? ( gallium ) |
55 |
llvm? ( gallium ) |
58 |
vdpau? ( gallium ) |
56 |
opencl? ( gallium llvm ) |
|
|
57 |
openmax? ( X gallium ) |
58 |
vaapi? ( X gallium ) |
59 |
vdpau? ( X gallium ) |
59 |
wayland? ( egl gbm ) |
60 |
wayland? ( egl gbm ) |
60 |
xa? ( gallium ) |
61 |
xa? ( gallium ) |
|
|
62 |
xvmc? ( X gallium ) |
61 |
video_cards_freedreno? ( gallium ) |
63 |
video_cards_freedreno? ( gallium ) |
62 |
video_cards_intel? ( classic ) |
64 |
video_cards_intel? ( classic ) |
63 |
video_cards_i915? ( || ( classic gallium ) ) |
65 |
video_cards_i915? ( || ( classic gallium ) ) |
Lines 87-99
Link Here
|
87 |
>=app-eselect/eselect-opengl-1.3.0 |
89 |
>=app-eselect/eselect-opengl-1.3.0 |
88 |
udev? ( kernel_linux? ( >=virtual/libudev-215:=[${MULTILIB_USEDEP}] ) ) |
90 |
udev? ( kernel_linux? ( >=virtual/libudev-215:=[${MULTILIB_USEDEP}] ) ) |
89 |
>=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}] |
91 |
>=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}] |
90 |
>=x11-libs/libX11-1.6.2:=[${MULTILIB_USEDEP}] |
92 |
X? ( |
91 |
>=x11-libs/libxshmfence-1.1:=[${MULTILIB_USEDEP}] |
93 |
>=x11-libs/libX11-1.6.2:=[${MULTILIB_USEDEP}] |
92 |
>=x11-libs/libXdamage-1.1.4-r1:=[${MULTILIB_USEDEP}] |
94 |
>=x11-libs/libXdamage-1.1.4-r1:=[${MULTILIB_USEDEP}] |
93 |
>=x11-libs/libXext-1.3.2:=[${MULTILIB_USEDEP}] |
95 |
>=x11-libs/libXext-1.3.2:=[${MULTILIB_USEDEP}] |
94 |
>=x11-libs/libXxf86vm-1.1.3:=[${MULTILIB_USEDEP}] |
96 |
>=x11-libs/libXxf86vm-1.1.3:=[${MULTILIB_USEDEP}] |
95 |
>=x11-libs/libxcb-1.9.3:=[${MULTILIB_USEDEP}] |
97 |
>=x11-libs/libxcb-1.9.3:=[${MULTILIB_USEDEP}] |
96 |
x11-libs/libXfixes:=[${MULTILIB_USEDEP}] |
98 |
x11-libs/libXfixes:=[${MULTILIB_USEDEP}] |
|
|
99 |
dri3? ( >=x11-libs/libxshmfence-1.1:=[${MULTILIB_USEDEP}] ) |
100 |
) |
97 |
llvm? ( !kernel_FreeBSD? ( |
101 |
llvm? ( !kernel_FreeBSD? ( |
98 |
video_cards_radeonsi? ( virtual/libelf:0=[${MULTILIB_USEDEP}] ) |
102 |
video_cards_radeonsi? ( virtual/libelf:0=[${MULTILIB_USEDEP}] ) |
99 |
!video_cards_r600? ( |
103 |
!video_cards_r600? ( |
Lines 139-153
Link Here
|
139 |
) |
143 |
) |
140 |
sys-devel/gettext |
144 |
sys-devel/gettext |
141 |
virtual/pkgconfig |
145 |
virtual/pkgconfig |
142 |
>=x11-proto/dri2proto-2.8-r1:=[${MULTILIB_USEDEP}] |
146 |
X? ( |
143 |
dri3? ( |
147 |
>=x11-proto/dri2proto-2.8-r1:=[${MULTILIB_USEDEP}] |
144 |
>=x11-proto/dri3proto-1.0:=[${MULTILIB_USEDEP}] |
148 |
dri3? ( |
145 |
>=x11-proto/presentproto-1.0:=[${MULTILIB_USEDEP}] |
149 |
>=x11-proto/dri3proto-1.0:=[${MULTILIB_USEDEP}] |
146 |
) |
150 |
>=x11-proto/presentproto-1.0:=[${MULTILIB_USEDEP}] |
147 |
>=x11-proto/glproto-1.4.17-r1:=[${MULTILIB_USEDEP}] |
151 |
) |
148 |
>=x11-proto/xextproto-7.2.1-r1:=[${MULTILIB_USEDEP}] |
152 |
>=x11-proto/glproto-1.4.17-r1:=[${MULTILIB_USEDEP}] |
149 |
>=x11-proto/xf86driproto-2.1.1-r1:=[${MULTILIB_USEDEP}] |
153 |
>=x11-proto/xextproto-7.2.1-r1:=[${MULTILIB_USEDEP}] |
150 |
>=x11-proto/xf86vidmodeproto-2.3.1-r1:=[${MULTILIB_USEDEP}] |
154 |
>=x11-proto/xf86driproto-2.1.1-r1:=[${MULTILIB_USEDEP}] |
|
|
155 |
>=x11-proto/xf86vidmodeproto-2.3.1-r1:=[${MULTILIB_USEDEP}] |
156 |
) |
151 |
" |
157 |
" |
152 |
[[ ${PV} == 9999 ]] && DEPEND+=" |
158 |
[[ ${PV} == 9999 ]] && DEPEND+=" |
153 |
sys-devel/bison |
159 |
sys-devel/bison |
Lines 212-218
Link Here
|
212 |
fi |
218 |
fi |
213 |
|
219 |
|
214 |
if use egl; then |
220 |
if use egl; then |
215 |
myconf+=" --with-egl-platforms=x11$(use wayland && echo ",wayland")$(use gbm && echo ",drm")" |
221 |
myconf+=" --with-egl-platforms=$(use X && echo "x11")$(use wayland && echo ",wayland")$(use gbm && echo ",drm")" |
216 |
fi |
222 |
fi |
217 |
|
223 |
|
218 |
if use gallium; then |
224 |
if use gallium; then |
Lines 278-284
Link Here
|
278 |
ECONF_SOURCE="${S}" \ |
284 |
ECONF_SOURCE="${S}" \ |
279 |
econf \ |
285 |
econf \ |
280 |
--enable-dri \ |
286 |
--enable-dri \ |
281 |
--enable-glx \ |
287 |
$(use_enable X glx) \ |
282 |
--enable-shared-glapi \ |
288 |
--enable-shared-glapi \ |
283 |
--disable-shader-cache \ |
289 |
--disable-shader-cache \ |
284 |
$(use_enable !bindist texture-float) \ |
290 |
$(use_enable !bindist texture-float) \ |