aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/mesa/APKBUILD19
1 files changed, 18 insertions, 1 deletions
diff --git a/main/mesa/APKBUILD b/main/mesa/APKBUILD
index 5d52115739..eab129fca9 100644
--- a/main/mesa/APKBUILD
+++ b/main/mesa/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mesa
pkgver=21.3.8
-pkgrel=0
+pkgrel=1
pkgdesc="Mesa DRI OpenGL library"
url="https://www.mesa3d.org"
arch="all"
@@ -111,6 +111,17 @@ armhf|armv7|aarch64)
$pkgname-dri-etnaviv=$pkgver-r$pkgrel
$pkgname-dri-tegra=$pkgver-r$pkgrel
"
+ case "$CARCH" in
+ aarch64)
+ _vulkan_drivers="${_vulkan_drivers},broadcom,freedreno,panfrost"
+ subpackages="
+ $subpackages
+ $pkgname-vulkan-broadcom:_vulkan
+ $pkgname-vulkan-freedreno:_vulkan
+ $pkgname-vulkan-panfrost:_vulkan
+ "
+ ;;
+ esac
;;
esac
@@ -307,6 +318,12 @@ _vulkan() {
_mv_vulkan radeon ;;
intel)
_mv_vulkan intel ;;
+ broadcom)
+ _mv_vulkan broadcom ;;
+ freedreno)
+ _mv_vulkan freedreno ;;
+ panfrost)
+ _mv_vulkan panfrost ;;
esac
}