mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
main/mesa: build vc4 driver for arm
This commit is contained in:
parent
f5b24d0fb3
commit
f984c36702
@ -1,7 +1,7 @@
|
||||
# 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 \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user