extra/mesa to 20.3.3-1.1

closes #1841
This commit is contained in:
Kevin Mihelich 2021-01-18 19:15:19 +00:00
parent f11714a4b6
commit 4760aacc8a

View file

@ -9,10 +9,10 @@
# - remove makedepend on valgrind, -Dvalgrind=false
pkgbase=mesa
pkgname=('vulkan-mesa-layers' 'opencl-mesa' 'vulkan-radeon' 'vulkan-swrast' 'libva-mesa-driver' 'mesa-vdpau' 'mesa')
pkgname=('vulkan-mesa-layers' 'opencl-mesa' 'vulkan-radeon' 'vulkan-swrast' 'vulkan-broadcom' 'libva-mesa-driver' 'mesa-vdpau' 'mesa')
pkgdesc="An open-source implementation of the OpenGL specification"
pkgver=20.3.3
pkgrel=1
pkgrel=1.1
arch=('x86_64')
makedepends=('python-mako' 'libxml2' 'libx11' 'xorgproto' 'libdrm' 'libxshmfence' 'libxxf86vm'
'libxdamage' 'libvdpau' 'libva' 'wayland' 'wayland-protocols' 'zstd' 'elfutils' 'llvm'
@ -54,7 +54,7 @@ build() {
-D platforms=x11,wayland \
-D dri-drivers=r100,r200,nouveau \
-D gallium-drivers=r300,r600,radeonsi,freedreno,nouveau,swrast,virgl,zink${GALLIUM} \
-D vulkan-drivers=amd,swrast \
-D vulkan-drivers=amd,swrast,broadcom \
-D vulkan-overlay-layer=true \
-D vulkan-device-select-layer=true \
-D dri3=enabled \
@ -155,6 +155,18 @@ package_vulkan-swrast() {
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
}
package_vulkan-broadcom() {
pkgdesc="Broadcom's Vulkan mesa driver"
depends=('wayland' 'libx11' 'libxshmfence' 'libdrm')
optdepends=('vulkan-mesa-layers: additional vulkan layers')
provides=('vulkan-driver')
_install fakeinstall/usr/share/vulkan/icd.d/broadcom_icd*.json
_install fakeinstall/usr/lib/libvulkan_broadcom.so
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
}
package_libva-mesa-driver() {
pkgdesc="VA-API implementation for gallium"
depends=('libdrm' 'libx11' 'llvm-libs' 'expat' 'libelf' 'libxshmfence')