aboutsummaryrefslogtreecommitdiffstats
path: root/main/mesa
diff options
context:
space:
mode:
authoropendata26 <opendata26@users.noreply.github.com>2017-08-16 11:01:16 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-08-16 20:47:55 +0200
commita887914bd02781e944c3380df3e3943350253a14 (patch)
tree952c13a43e84ea02c72b14fe75036a823cc1bb0e /main/mesa
parent9be66b837ba3eaea99733504ce882524b6f255a2 (diff)
downloadaports-a887914bd02781e944c3380df3e3943350253a14.tar.bz2
aports-a887914bd02781e944c3380df3e3943350253a14.tar.xz
main/mesa: add freedreno support
Diffstat (limited to 'main/mesa')
-rw-r--r--main/mesa/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/mesa/APKBUILD b/main/mesa/APKBUILD
index 597d45959e..ccec3b6649 100644
--- a/main/mesa/APKBUILD
+++ b/main/mesa/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mesa
pkgver=17.1.4
-pkgrel=0
+pkgrel=1
pkgdesc="Mesa DRI OpenGL library"
url="http://www.mesa3d.org"
arch="all"
@@ -10,6 +10,7 @@ depends=
subpackages="$pkgname-dev
$pkgname-dri-ati:_dri
$pkgname-dri-nouveau:_dri
+ $pkgname-dri-freedreno:_dri
$pkgname-dri-swrast:_dri
$pkgname-dri-vmwgfx:_dri
$pkgname-dri-virtio:_dri
@@ -37,7 +38,7 @@ replaces="mesa-dricore"
_dri_driverdir=/usr/lib/xorg/modules/dri
_dri_drivers="r200,radeon,nouveau,swrast"
-_gallium_drivers="r300,r600,radeonsi,nouveau,svga,swrast,virgl"
+_gallium_drivers="r300,r600,radeonsi,nouveau,freedreno,svga,swrast,virgl"
_vulkan_drivers="radeon"
builddir="$srcdir/mesa-$pkgver"
@@ -218,6 +219,9 @@ _dri() {
&& _mv_vdpau nouveau \
&& _mv_gpipe nouveau
;;
+ freedreno)
+ _mv_dri msm_dri kgsl_dri
+ ;;
swrast)
_mv_dri swrast_dri kms_swrast_dri && _mv_gpipe swrast
;;