Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/
Date: Sat, 28 Sep 2019 18:27:31
Message-Id: 1569695233.d87d9417fd0fc030e14c06f653444a45cc7994b2.mattst88@gentoo
1 commit: d87d9417fd0fc030e14c06f653444a45cc7994b2
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 28 18:09:27 2019 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 28 18:27:13 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d87d9417
7
8 media-libs/mesa: Drop old versions
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 media-libs/mesa/Manifest | 1 -
13 media-libs/mesa/mesa-19.0.8.ebuild | 525 -------------------------------------
14 2 files changed, 526 deletions(-)
15
16 diff --git a/media-libs/mesa/Manifest b/media-libs/mesa/Manifest
17 index dbf972b76f1..6cd19c9a24c 100644
18 --- a/media-libs/mesa/Manifest
19 +++ b/media-libs/mesa/Manifest
20 @@ -1,3 +1,2 @@
21 -DIST mesa-19.0.8.tar.xz 11967592 BLAKE2B 91a46b67bdb8cb3ab4c7337be7c2b0dc6ab5ec8cc126afc2d8af8d056bff0392a5b443c26304bf4c68472eb6ba16d29ca248c1fc0c0f2dd6af03d3e10d3ec1b3 SHA512 fbddc3a74f223564343027380af776b3fa5d63fe1af4e34121273235d1c6eced96439f601eb19bf658eb927aff3965b520f0329fcbd4650f3112167303e1746d
22 DIST mesa-19.1.7.tar.xz 10941152 BLAKE2B 6be14ddac404668bdd8b7b8756388019c3610ac41b65a7723a419b97b7eccbca666ad6d904f4cde186c4b171e056636a8a6a5727e30963c8fa177d7861bd6cfb SHA512 0865b5f91e5daa00e1da2b3d8b65fe5d2ff6332372bf8fec7d671d05d8d64ec5a7abea1858cdfc506c76b7226d2bea0af3426565f156b796d8e0f949ea33dc15
23 DIST mesa-19.2.0.tar.xz 11464180 BLAKE2B f2f260e9efb928532501ff4f1c0137621f954991ef6d30fbdc61c28fb95e3ddb9e81276d345bc7bff6871e603dcbb29073b788427d0dea565dfa9b7f8b88966d SHA512 7278bbfba9c29fe91d1959ff1a48422e917db85287460523d12ae8c6d7f49f76e9636bf4c0d8d7d89e5569b3c67135f1b23b8f6c9d52d39413d8ec22e3bb40f0
24
25 diff --git a/media-libs/mesa/mesa-19.0.8.ebuild b/media-libs/mesa/mesa-19.0.8.ebuild
26 deleted file mode 100644
27 index 67340d9d392..00000000000
28 --- a/media-libs/mesa/mesa-19.0.8.ebuild
29 +++ /dev/null
30 @@ -1,525 +0,0 @@
31 -# Copyright 1999-2019 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -PYTHON_COMPAT=( python3_5 python3_6 python3_7 )
37 -
38 -inherit llvm meson multilib-minimal pax-utils python-any-r1
39 -
40 -OPENGL_DIR="xorg-x11"
41 -
42 -MY_P="${P/_/-}"
43 -
44 -DESCRIPTION="OpenGL-like graphic library for Linux"
45 -HOMEPAGE="https://www.mesa3d.org/ https://mesa.freedesktop.org/"
46 -
47 -if [[ ${PV} == 9999 ]]; then
48 - EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/mesa.git"
49 - EXPERIMENTAL="true"
50 - inherit git-r3
51 -else
52 - SRC_URI="https://mesa.freedesktop.org/archive/${MY_P}.tar.xz"
53 - KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
54 -fi
55 -
56 -LICENSE="MIT"
57 -SLOT="0"
58 -RESTRICT="
59 - !test? ( test )
60 -"
61 -
62 -RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
63 -VIDEO_CARDS="${RADEON_CARDS} freedreno i915 i965 imx intel nouveau vc4 virgl vivante vmware"
64 -for card in ${VIDEO_CARDS}; do
65 - IUSE_VIDEO_CARDS+=" video_cards_${card}"
66 -done
67 -
68 -IUSE="${IUSE_VIDEO_CARDS}
69 - +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 +libglvnd +llvm
70 - lm-sensors opencl osmesa pax_kernel pic selinux test unwind vaapi valgrind
71 - vdpau vulkan wayland xa xvmc"
72 -
73 -REQUIRED_USE="
74 - d3d9? ( dri3 || ( video_cards_r300 video_cards_r600 video_cards_radeonsi video_cards_nouveau video_cards_vmware ) )
75 - gles1? ( egl )
76 - gles2? ( egl )
77 - vulkan? ( dri3
78 - || ( video_cards_i965 video_cards_radeonsi )
79 - video_cards_radeonsi? ( llvm ) )
80 - wayland? ( egl gbm )
81 - video_cards_freedreno? ( gallium )
82 - video_cards_intel? ( classic )
83 - video_cards_i915? ( || ( classic gallium ) )
84 - video_cards_i965? ( classic )
85 - video_cards_imx? ( gallium video_cards_vivante )
86 - video_cards_nouveau? ( || ( classic gallium ) )
87 - video_cards_radeon? ( || ( classic gallium )
88 - gallium? ( x86? ( llvm ) amd64? ( llvm ) ) )
89 - video_cards_r100? ( classic )
90 - video_cards_r200? ( classic )
91 - video_cards_r300? ( gallium x86? ( llvm ) amd64? ( llvm ) )
92 - video_cards_r600? ( gallium )
93 - video_cards_radeonsi? ( gallium llvm )
94 - video_cards_vc4? ( gallium )
95 - video_cards_virgl? ( gallium )
96 - video_cards_vivante? ( gallium gbm )
97 - video_cards_vmware? ( gallium )
98 -"
99 -
100 -LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.97"
101 -RDEPEND="
102 - !app-eselect/eselect-mesa
103 - >=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}]
104 - >=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}]
105 - >=x11-libs/libX11-1.6.2:=[${MULTILIB_USEDEP}]
106 - >=x11-libs/libxshmfence-1.1:=[${MULTILIB_USEDEP}]
107 - >=x11-libs/libXdamage-1.1.4-r1:=[${MULTILIB_USEDEP}]
108 - >=x11-libs/libXext-1.3.2:=[${MULTILIB_USEDEP}]
109 - >=x11-libs/libXxf86vm-1.1.3:=[${MULTILIB_USEDEP}]
110 - >=x11-libs/libxcb-1.13:=[${MULTILIB_USEDEP}]
111 - x11-libs/libXfixes:=[${MULTILIB_USEDEP}]
112 - libglvnd? (
113 - media-libs/libglvnd[${MULTILIB_USEDEP}]
114 - !app-eselect/eselect-opengl
115 - )
116 - !libglvnd? (
117 - >=app-eselect/eselect-opengl-1.3.0
118 - )
119 - gallium? (
120 - unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] )
121 - llvm? (
122 - video_cards_radeonsi? (
123 - virtual/libelf:0=[${MULTILIB_USEDEP}]
124 - )
125 - video_cards_r600? (
126 - virtual/libelf:0=[${MULTILIB_USEDEP}]
127 - )
128 - video_cards_radeon? (
129 - virtual/libelf:0=[${MULTILIB_USEDEP}]
130 - )
131 - )
132 - lm-sensors? ( sys-apps/lm-sensors:=[${MULTILIB_USEDEP}] )
133 - opencl? (
134 - dev-libs/ocl-icd[khronos-headers,${MULTILIB_USEDEP}]
135 - dev-libs/libclc
136 - virtual/libelf:0=[${MULTILIB_USEDEP}]
137 - )
138 - vaapi? (
139 - >=x11-libs/libva-1.7.3:=[${MULTILIB_USEDEP}]
140 - video_cards_nouveau? ( !<=x11-libs/libva-vdpau-driver-0.7.4-r3 )
141 - )
142 - vdpau? ( >=x11-libs/libvdpau-1.1:=[${MULTILIB_USEDEP}] )
143 - xvmc? ( >=x11-libs/libXvMC-1.0.8:=[${MULTILIB_USEDEP}] )
144 - )
145 - wayland? (
146 - >=dev-libs/wayland-1.15.0:=[${MULTILIB_USEDEP}]
147 - >=dev-libs/wayland-protocols-1.8
148 - )
149 - ${LIBDRM_DEPSTRING}[video_cards_freedreno?,video_cards_nouveau?,video_cards_vc4?,video_cards_vivante?,video_cards_vmware?,${MULTILIB_USEDEP}]
150 -
151 - video_cards_intel? (
152 - !video_cards_i965? ( ${LIBDRM_DEPSTRING}[video_cards_intel] )
153 - )
154 - video_cards_i915? ( ${LIBDRM_DEPSTRING}[video_cards_intel] )
155 -"
156 -for card in ${RADEON_CARDS}; do
157 - RDEPEND="${RDEPEND}
158 - video_cards_${card}? ( ${LIBDRM_DEPSTRING}[video_cards_radeon] )
159 - "
160 -done
161 -RDEPEND="${RDEPEND}
162 - video_cards_radeonsi? ( ${LIBDRM_DEPSTRING}[video_cards_amdgpu] )
163 -"
164 -
165 -# Please keep the LLVM dependency block separate. Since LLVM is slotted,
166 -# we need to *really* make sure we're not pulling one than more slot
167 -# simultaneously.
168 -#
169 -# How to use it:
170 -# 1. List all the working slots (with min versions) in ||, newest first.
171 -# 2. Update the := to specify *max* version, e.g. < 9.
172 -# 3. Specify LLVM_MAX_SLOT, e.g. 8.
173 -LLVM_MAX_SLOT="8"
174 -LLVM_DEPSTR="
175 - || (
176 - sys-devel/llvm:8[${MULTILIB_USEDEP}]
177 - sys-devel/llvm:7[${MULTILIB_USEDEP}]
178 - )
179 - <sys-devel/llvm-9:=[${MULTILIB_USEDEP}]
180 -"
181 -LLVM_DEPSTR_AMDGPU=${LLVM_DEPSTR//]/,llvm_targets_AMDGPU(-)]}
182 -CLANG_DEPSTR=${LLVM_DEPSTR//llvm/clang}
183 -CLANG_DEPSTR_AMDGPU=${CLANG_DEPSTR//]/,llvm_targets_AMDGPU(-)]}
184 -RDEPEND="${RDEPEND}
185 - llvm? (
186 - opencl? (
187 - video_cards_r600? (
188 - ${CLANG_DEPSTR_AMDGPU}
189 - )
190 - !video_cards_r600? (
191 - video_cards_radeonsi? (
192 - ${CLANG_DEPSTR_AMDGPU}
193 - )
194 - )
195 - !video_cards_r600? (
196 - !video_cards_radeonsi? (
197 - video_cards_radeon? (
198 - ${CLANG_DEPSTR_AMDGPU}
199 - )
200 - )
201 - )
202 - !video_cards_r600? (
203 - !video_cards_radeon? (
204 - !video_cards_radeonsi? (
205 - ${CLANG_DEPSTR}
206 - )
207 - )
208 - )
209 - )
210 - !opencl? (
211 - video_cards_r600? (
212 - ${LLVM_DEPSTR_AMDGPU}
213 - )
214 - !video_cards_r600? (
215 - video_cards_radeonsi? (
216 - ${LLVM_DEPSTR_AMDGPU}
217 - )
218 - )
219 - !video_cards_r600? (
220 - !video_cards_radeonsi? (
221 - video_cards_radeon? (
222 - ${LLVM_DEPSTR_AMDGPU}
223 - )
224 - )
225 - )
226 - !video_cards_r600? (
227 - !video_cards_radeon? (
228 - !video_cards_radeonsi? (
229 - ${LLVM_DEPSTR}
230 - )
231 - )
232 - )
233 - )
234 - )
235 -"
236 -unset {LLVM,CLANG}_DEPSTR{,_AMDGPU}
237 -
238 -DEPEND="${RDEPEND}
239 - ${PYTHON_DEPS}
240 - opencl? (
241 - >=sys-devel/gcc-4.6
242 - )
243 - sys-devel/bison
244 - sys-devel/flex
245 - sys-devel/gettext
246 - virtual/pkgconfig
247 - valgrind? ( dev-util/valgrind )
248 - x11-base/xorg-proto
249 - x11-libs/libXrandr[${MULTILIB_USEDEP}]
250 - $(python_gen_any_dep ">=dev-python/mako-0.8.0[\${PYTHON_USEDEP}]")
251 -"
252 -
253 -S="${WORKDIR}/${MY_P}"
254 -EGIT_CHECKOUT_DIR=${S}
255 -
256 -QA_WX_LOAD="
257 -x86? (
258 - !pic? (
259 - usr/lib*/libglapi.so.0.0.0
260 - usr/lib*/libGLESv1_CM.so.1.0.0
261 - usr/lib*/libGLESv2.so.2.0.0
262 - usr/lib*/libGL.so.1.2.0
263 - usr/lib*/libOSMesa.so.8.0.0
264 - )
265 -)"
266 -
267 -llvm_check_deps() {
268 - local flags=${MULTILIB_USEDEP}
269 - if use video_cards_r600 || use video_cards_radeon || use video_cards_radeonsi
270 - then
271 - flags+=",llvm_targets_AMDGPU(-)"
272 - fi
273 -
274 - if use opencl; then
275 - has_version "sys-devel/clang:${LLVM_SLOT}[${flags}]" || return 1
276 - fi
277 - has_version "sys-devel/llvm:${LLVM_SLOT}[${flags}]"
278 -}
279 -
280 -pkg_pretend() {
281 - if use opencl; then
282 - if ! use video_cards_r600 &&
283 - ! use video_cards_radeonsi; then
284 - ewarn "Ignoring USE=opencl since VIDEO_CARDS does not contain r600 or radeonsi"
285 - fi
286 - fi
287 -
288 - if use vaapi; then
289 - if ! use video_cards_r600 &&
290 - ! use video_cards_radeonsi &&
291 - ! use video_cards_nouveau; then
292 - ewarn "Ignoring USE=vaapi since VIDEO_CARDS does not contain r600, radeonsi, or nouveau"
293 - fi
294 - fi
295 -
296 - if use vdpau; then
297 - if ! use video_cards_r300 &&
298 - ! use video_cards_r600 &&
299 - ! use video_cards_radeonsi &&
300 - ! use video_cards_nouveau; then
301 - ewarn "Ignoring USE=vdpau since VIDEO_CARDS does not contain r300, r600, radeonsi, or nouveau"
302 - fi
303 - fi
304 -
305 - if use xa; then
306 - if ! use video_cards_freedreno &&
307 - ! use video_cards_nouveau &&
308 - ! use video_cards_vmware; then
309 - ewarn "Ignoring USE=xa since VIDEO_CARDS does not contain freedreno, nouveau, or vmware"
310 - fi
311 - fi
312 -
313 - if use xvmc; then
314 - if ! use video_cards_r600 &&
315 - ! use video_cards_nouveau; then
316 - ewarn "Ignoring USE=xvmc since VIDEO_CARDS does not contain r600 or nouveau"
317 - fi
318 - fi
319 -
320 - if ! use gallium; then
321 - use lm-sensors && ewarn "Ignoring USE=lm-sensors since USE does not contain gallium"
322 - use llvm && ewarn "Ignoring USE=llvm since USE does not contain gallium"
323 - use opencl && ewarn "Ignoring USE=opencl since USE does not contain gallium"
324 - use vaapi && ewarn "Ignoring USE=vaapi since USE does not contain gallium"
325 - use vdpau && ewarn "Ignoring USE=vdpau since USE does not contain gallium"
326 - use unwind && ewarn "Ignoring USE=unwind since USE does not contain gallium"
327 - use xa && ewarn "Ignoring USE=xa since USE does not contain gallium"
328 - use xvmc && ewarn "Ignoring USE=xvmc since USE does not contain gallium"
329 - fi
330 -
331 - if ! use llvm; then
332 - use opencl && ewarn "Ignoring USE=opencl since USE does not contain llvm"
333 - fi
334 -}
335 -
336 -python_check_deps() {
337 - has_version --host-root ">=dev-python/mako-0.8.0[${PYTHON_USEDEP}]"
338 -}
339 -
340 -pkg_setup() {
341 - # warning message for bug 459306
342 - if use llvm && has_version sys-devel/llvm[!debug=]; then
343 - ewarn "Mismatch between debug USE flags in media-libs/mesa and sys-devel/llvm"
344 - ewarn "detected! This can cause problems. For details, see bug 459306."
345 - fi
346 -
347 - if use llvm; then
348 - llvm_pkg_setup
349 - fi
350 - python-any-r1_pkg_setup
351 -}
352 -
353 -multilib_src_configure() {
354 - local emesonargs=()
355 -
356 - if use classic; then
357 - # Intel code
358 - dri_driver_enable video_cards_i915 i915
359 - dri_driver_enable video_cards_i965 i965
360 - if ! use video_cards_i915 && \
361 - ! use video_cards_i965; then
362 - dri_driver_enable video_cards_intel i915 i965
363 - fi
364 -
365 - # Nouveau code
366 - dri_driver_enable video_cards_nouveau nouveau
367 -
368 - # ATI code
369 - dri_driver_enable video_cards_r100 r100
370 - dri_driver_enable video_cards_r200 r200
371 - if ! use video_cards_r100 && \
372 - ! use video_cards_r200; then
373 - dri_driver_enable video_cards_radeon r100 r200
374 - fi
375 - fi
376 -
377 - emesonargs+=( -Dplatforms=x11,surfaceless$(use wayland && echo ",wayland")$(use gbm && echo ",drm") )
378 -
379 - if use gallium; then
380 - emesonargs+=(
381 - $(meson_use llvm)
382 - $(meson_use lm-sensors lmsensors)
383 - $(meson_use unwind libunwind)
384 - )
385 -
386 - if use video_cards_r300 ||
387 - use video_cards_r600 ||
388 - use video_cards_radeonsi ||
389 - use video_cards_nouveau ||
390 - use video_cards_vmware; then
391 - emesonargs+=($(meson_use d3d9 gallium-nine))
392 - else
393 - emesonargs+=(-Dgallium-nine=false)
394 - fi
395 -
396 - if use video_cards_r600 ||
397 - use video_cards_radeonsi ||
398 - use video_cards_nouveau; then
399 - emesonargs+=($(meson_use vaapi gallium-va))
400 - use vaapi && emesonargs+=( -Dva-libs-path="${EPREFIX}"/usr/$(get_libdir)/va/drivers )
401 - else
402 - emesonargs+=(-Dgallium-va=false)
403 - fi
404 -
405 - if use video_cards_r300 ||
406 - use video_cards_r600 ||
407 - use video_cards_radeonsi ||
408 - use video_cards_nouveau; then
409 - emesonargs+=($(meson_use vdpau gallium-vdpau))
410 - else
411 - emesonargs+=(-Dgallium-vdpau=false)
412 - fi
413 -
414 - if use video_cards_freedreno ||
415 - use video_cards_nouveau ||
416 - use video_cards_vmware; then
417 - emesonargs+=($(meson_use xa gallium-xa))
418 - else
419 - emesonargs+=(-Dgallium-xa=false)
420 - fi
421 -
422 - if use video_cards_r600 ||
423 - use video_cards_nouveau; then
424 - emesonargs+=($(meson_use xvmc gallium-xvmc))
425 - else
426 - emesonargs+=(-Dgallium-xvmc=false)
427 - fi
428 -
429 - gallium_enable video_cards_vc4 vc4
430 - gallium_enable video_cards_vivante etnaviv
431 - gallium_enable video_cards_vmware svga
432 - gallium_enable video_cards_nouveau nouveau
433 - gallium_enable video_cards_imx imx
434 -
435 - # Only one i915 driver (classic vs gallium). Default to classic.
436 - if ! use classic; then
437 - gallium_enable video_cards_i915 i915
438 - if ! use video_cards_i915 && \
439 - ! use video_cards_i965; then
440 - gallium_enable video_cards_intel i915
441 - fi
442 - fi
443 -
444 - gallium_enable video_cards_r300 r300
445 - gallium_enable video_cards_r600 r600
446 - gallium_enable video_cards_radeonsi radeonsi
447 - if ! use video_cards_r300 && \
448 - ! use video_cards_r600; then
449 - gallium_enable video_cards_radeon r300 r600
450 - fi
451 -
452 - gallium_enable video_cards_freedreno freedreno
453 - gallium_enable video_cards_virgl virgl
454 -
455 - # opencl stuff
456 - emesonargs+=(
457 - -Dgallium-opencl="$(usex opencl icd disabled)"
458 - )
459 - fi
460 -
461 - if use vulkan; then
462 - vulkan_enable video_cards_i965 intel
463 - vulkan_enable video_cards_radeonsi amd
464 - fi
465 -
466 - # x86 hardened pax_kernel needs glx-rts, bug 240956
467 - if [[ ${ABI} == x86 ]]; then
468 - emesonargs+=( $(meson_use pax_kernel glx-read-only-text) )
469 - fi
470 -
471 - # on abi_x86_32 hardened we need to have asm disable
472 - if [[ ${ABI} == x86* ]] && use pic; then
473 - emesonargs+=( -Dasm=false )
474 - fi
475 -
476 - if use gallium; then
477 - gallium_enable -- swrast
478 - emesonargs+=( -Dosmesa=$(usex osmesa gallium none) )
479 - else
480 - dri_driver_enable -- swrast
481 - emesonargs+=( -Dosmesa=$(usex osmesa classic none) )
482 - fi
483 -
484 - driver_list() {
485 - local drivers="$(sort -u <<< "${1// /$'\n'}")"
486 - echo "${drivers//$'\n'/,}"
487 - }
488 -
489 - emesonargs+=(
490 - $(meson_use test build-tests)
491 - -Dglx=dri
492 - -Dshared-glapi=true
493 - $(meson_use dri3)
494 - $(meson_use egl)
495 - $(meson_use gbm)
496 - $(meson_use gles1)
497 - $(meson_use gles2)
498 - $(meson_use libglvnd glvnd)
499 - $(meson_use selinux)
500 - -Dvalgrind=$(usex valgrind auto false)
501 - -Ddri-drivers=$(driver_list "${DRI_DRIVERS[*]}")
502 - -Dgallium-drivers=$(driver_list "${GALLIUM_DRIVERS[*]}")
503 - -Dvulkan-drivers=$(driver_list "${VULKAN_DRIVERS[*]}")
504 - --buildtype $(usex debug debug plain)
505 - -Db_ndebug=$(usex debug false true)
506 - )
507 - meson_src_configure
508 -}
509 -
510 -multilib_src_compile() {
511 - meson_src_compile
512 -}
513 -
514 -multilib_src_install() {
515 - meson_src_install
516 -
517 - use libglvnd && rm -f "${D}"/usr/$(get_libdir)/libGLESv{1_CM,2}.so*
518 -}
519 -
520 -multilib_src_install_all() {
521 - einstalldocs
522 -}
523 -
524 -multilib_src_test() {
525 - meson test -v -C "${BUILD_DIR}" -t 100
526 -}
527 -
528 -pkg_postinst() {
529 - # Switch to the xorg implementation.
530 - echo
531 - eselect opengl set --use-old ${OPENGL_DIR}
532 -}
533 -
534 -# $1 - VIDEO_CARDS flag (check skipped for "--")
535 -# other args - names of DRI drivers to enable
536 -dri_driver_enable() {
537 - if [[ $1 == -- ]] || use $1; then
538 - shift
539 - DRI_DRIVERS+=("$@")
540 - fi
541 -}
542 -
543 -gallium_enable() {
544 - if [[ $1 == -- ]] || use $1; then
545 - shift
546 - GALLIUM_DRIVERS+=("$@")
547 - fi
548 -}
549 -
550 -vulkan_enable() {
551 - if [[ $1 == -- ]] || use $1; then
552 - shift
553 - VULKAN_DRIVERS+=("$@")
554 - fi
555 -}