Commit a887914b authored by opendata26's avatar opendata26 Committed by Jakub Jirutka

main/mesa: add freedreno support

parent 9be66b83
# 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
;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment