Commit f984c367 authored by Natanael Copa's avatar Natanael Copa

main/mesa: build vc4 driver for arm

parent f5b24d0f
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mesa
pkgver=10.6.5
pkgrel=0
pkgrel=1
pkgdesc="Mesa DRI OpenGL library"
url="http://www.mesa3d.org"
arch="all"
......@@ -31,6 +31,7 @@ source="ftp://ftp.freedesktop.org/pub/mesa/${pkgver}/mesa-$pkgver.tar.xz
_dri_driverdir=/usr/lib/xorg/modules/dri
_dri_drivers="r200,radeon,nouveau,swrast"
_gallium_drivers="r300,r600,radeonsi,nouveau,svga,swrast"
_builddir="$srcdir/mesa-$pkgver"
......@@ -40,6 +41,9 @@ x86*)
_dri_drivers="${_dri_drivers},i915,i965"
subpackages="$subpackages $pkgname-dri-intel:intel"
;;
arm*)
_gallium_drivers="${_gallium_drivers},vc4"
;;
esac
prepare() {
......@@ -68,7 +72,7 @@ build() {
--disable-asm \
--disable-xvmc \
--enable-glx-rts \
--with-gallium-drivers=r300,r600,radeonsi,nouveau,svga,swrast \
--with-gallium-drivers=${_gallium_drivers} \
--with-dri-drivers=${_dri_drivers} \
--enable-llvm-shared-libs \
--enable-gallium-llvm \
......
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