aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Delalande <colona@ycc.fr>2019-10-01 20:13:39 -0700
committerNatanael Copa <ncopa@alpinelinux.org>2019-10-29 12:07:40 +0000
commit330347d6e8d914f7a04fbb072bd800cb44c0467a (patch)
tree826047e7c72a7c8949bd76a8a3bb942efe6a716a
parenteeb2c190b1f3929e032a1aab86476d7c6129d149 (diff)
downloadaports-330347d6e8d914f7a04fbb072bd800cb44c0467a.tar.bz2
aports-330347d6e8d914f7a04fbb072bd800cb44c0467a.tar.xz
main/mesa: enable v3d gallium driver, packaged as mesa-dri-v3d
Provide support for 3D acceleration on Raspberry Pi 4, like vc4 for earlier boards.
-rw-r--r--main/mesa/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/mesa/APKBUILD b/main/mesa/APKBUILD
index f7706b08ed..6e4234baf1 100644
--- a/main/mesa/APKBUILD
+++ b/main/mesa/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mesa
pkgver=19.2.2
-pkgrel=0
+pkgrel=1
pkgdesc="Mesa DRI OpenGL library"
url="https://www.mesa3d.org"
arch="all"
@@ -89,9 +89,10 @@ x86*)
esac
;;
armhf|armv7|aarch64)
- _gallium_drivers="${_gallium_drivers},vc4,kmsro,lima,panfrost,etnaviv,tegra"
+ _gallium_drivers="${_gallium_drivers},vc4,v3d,kmsro,lima,panfrost,etnaviv,tegra"
subpackages="$subpackages
$pkgname-dri-vc4:_dri
+ $pkgname-dri-v3d:_dri
$pkgname-dri-kmsro:_dri
$pkgname-dri-lima:_dri
$pkgname-dri-panfrost:_dri
@@ -281,6 +282,9 @@ _dri() {
vc4)
_mv_dri vc4_dri
;;
+ v3d)
+ _mv_dri v3d_dri
+ ;;
vmwgfx)
_mv_dri vmwgfx_dri && _mv_gpipe vmwgfx
;;