Skip to content

Commit cd72816

Browse files
committed
Revbump mesa-19.2.0_rc1 to r2 (add rpi-v3d USE)
Now controlling the v3d switch by explicit USE
1 parent 7748cca commit cd72816

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

media-libs/mesa/mesa-19.2.0_rc1-r1.ebuild renamed to media-libs/mesa/mesa-19.2.0_rc1-r2.ebuild

+3-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ done
3636

3737
IUSE="${IUSE_VIDEO_CARDS}
3838
+classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 +libglvnd +llvm
39-
lm_sensors opencl osmesa pax_kernel selinux test unwind vaapi valgrind
39+
lm_sensors opencl osmesa pax_kernel rpi-v3d selinux test unwind vaapi valgrind
4040
vdpau vulkan vulkan-overlay wayland +X xa xvmc"
4141

4242
REQUIRED_USE="
@@ -69,6 +69,7 @@ REQUIRED_USE="
6969
video_cards_vmware? ( gallium )
7070
xa? ( X )
7171
xvmc? ( X )
72+
rpi-v3d? ( arm64 video_cards_vc4 )
7273
"
7374

7475
LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.99"
@@ -420,7 +421,7 @@ multilib_src_configure() {
420421
gallium_enable video_cards_panfrost panfrost
421422
gallium_enable video_cards_vc4 vc4
422423
# enable for Pi4 also
423-
use arm64 && gallium_enable video_cards_vc4 v3d
424+
use rpi-v3d && gallium_enable video_cards_vc4 v3d
424425
gallium_enable video_cards_vivante etnaviv
425426
gallium_enable video_cards_vmware svga
426427
gallium_enable video_cards_nouveau nouveau

media-libs/mesa/metadata.xml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<flag name="osmesa">Build the Mesa library for off-screen rendering.</flag>
2121
<flag name="pax_kernel">Enable if the user plans to run the package under a pax enabled hardened kernel</flag>
2222
<flag name="pic">disable optimized assembly code that is not PIC friendly</flag>
23+
<flag name="rpi-v3d">Enable V3D for the RPi4 (requires video_cards_vc4)</flag>
2324
<flag name="valgrind">Compile in valgrind memory hints</flag>
2425
<flag name="vdpau">Enable the VDPAU acceleration interface for the Gallium3D Video Layer.</flag>
2526
<flag name="vulkan">Enable Vulkan drivers</flag>

0 commit comments

Comments
 (0)