mesa: build broadcom vulkan driver

This commit is contained in:
Tiago Carvalho 2022-01-04 15:39:28 +00:00 committed by Érico Nogueira Rolim
parent f83cbb15bd
commit 8558326579
2 changed files with 12 additions and 1 deletions

View file

@ -0,0 +1 @@
mesa

View file

@ -1,7 +1,7 @@
# Template file for 'mesa'
pkgname=mesa
version=21.3.3
revision=1
revision=2
build_style=meson
configure_args="-Dglvnd=true -Dshared-glapi=enabled -Dgbm=enabled -Degl=enabled
-Dosmesa=true -Dgles1=enabled -Dgles2=enabled -Dglx=dri -Ddri3=enabled
@ -115,6 +115,8 @@ fi
if [ "$_have_arm" ]; then
_gallium_drivers+=",kmsro"
_gallium_drivers+=",v3d,vc4,freedreno,etnaviv,lima,panfrost"
_vulkan_drivers+=",broadcom"
subpackages+=" mesa-vulkan-broadcom"
# transitional dummy packages
subpackages+=" mesa-kmsro-dri mesa-v3d-dri mesa-vc4-dri"
subpackages+=" mesa-etnaviv-dri mesa-freedreno-dri"
@ -354,6 +356,14 @@ mesa-vulkan-radeon_package() {
}
}
mesa-vulkan-broadcom_package() {
short_desc="Mesa Broadcom Vulkan driver"
pkg_install() {
vmove "usr/share/vulkan/icd.d/broadcom_icd*.json"
vmove "usr/lib/libvulkan_broadcom.so"
}
}
mesa-vulkan-overlay-layer_package() {
short_desc="Vulkan layer to display information about the running application"
pkg_install() {