aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLova Widmark <znurree@gmail.com>2022-04-01 10:36:08 +0200
committeralice <alice@ayaya.dev>2022-04-15 11:25:57 +0000
commit13f2f1770b74484a7515b420c09aaf353b0b4b69 (patch)
tree395e1d62cf13f1e4ea12e0ab6bbe61cb1a4fa8ba
parent41cf77e4f2acd08fa63e95eaf9208f1c5dfb4409 (diff)
downloadaports-13f2f1770b74484a7515b420c09aaf353b0b4b69.tar.gz
aports-13f2f1770b74484a7515b420c09aaf353b0b4b69.tar.bz2
aports-13f2f1770b74484a7515b420c09aaf353b0b4b69.tar.xz
main/mesa: Add support for vulkan-broadcom when building for ARM
main/mesa: make vulkan-broadcom aarch64 only main/mesa: Add freedreno and panfrost vulkan driver for aarch64 main/mesa: Bump pkgrel for APKBUILD
-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
}