[arch-commits] Commit in mesa/trunk (PKGBUILD)
Laurent Carlier
lcarlier at archlinux.org
Mon Dec 7 09:06:53 UTC 2020
Date: Monday, December 7, 2020 @ 09:06:52
Author: lcarlier
Revision: 403043
upgpkg: mesa 20.3.0-2: add lavapipe driver, tweak some dependencies
Modified:
mesa/trunk/PKGBUILD
----------+
PKGBUILD | 28 ++++++++++++++++++++--------
1 file changed, 20 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-07 07:39:22 UTC (rev 403042)
+++ PKGBUILD 2020-12-07 09:06:52 UTC (rev 403043)
@@ -4,10 +4,10 @@
# Contributor: Andreas Radke <andyrtr at archlinux.org>
pkgbase=mesa
-pkgname=('vulkan-mesa-layers' 'opencl-mesa' 'vulkan-intel' 'vulkan-radeon' 'libva-mesa-driver' 'mesa-vdpau' 'mesa')
+pkgname=('vulkan-mesa-layers' 'opencl-mesa' 'vulkan-intel' 'vulkan-radeon' 'vulkan-mesa' 'libva-mesa-driver' 'mesa-vdpau' 'mesa')
pkgdesc="An open-source implementation of the OpenGL specification"
pkgver=20.3.0
-pkgrel=1
+pkgrel=2
arch=('x86_64')
makedepends=('python-mako' 'libxml2' 'libx11' 'xorgproto' 'libdrm' 'libxshmfence' 'libxxf86vm'
'libxdamage' 'libvdpau' 'libva' 'wayland' 'wayland-protocols' 'zstd' 'elfutils' 'llvm'
@@ -38,7 +38,7 @@
-D platforms=x11,wayland \
-D dri-drivers=i915,i965,r100,r200,nouveau \
-D gallium-drivers=r300,r600,radeonsi,nouveau,virgl,svga,swrast,swr,iris,zink \
- -D vulkan-drivers=amd,intel \
+ -D vulkan-drivers=amd,intel,swrast \
-D vulkan-overlay-layer=true \
-D vulkan-device-select-layer=true \
-D swr-arches=avx,avx2 \
@@ -87,7 +87,7 @@
package_vulkan-mesa-layers() {
pkgdesc="Mesa's Vulkan layers"
- depends=('libdrm' 'libxcb' 'wayland')
+ depends=('libdrm' 'libxcb' 'wayland' 'python')
conflicts=('vulkan-mesa-layer')
replaces=('vulkan-mesa-layer')
@@ -103,7 +103,7 @@
package_opencl-mesa() {
pkgdesc="OpenCL support for AMD/ATI Radeon mesa drivers"
- depends=('expat' 'libdrm' 'libelf' 'libclc' 'clang' 'zstd')
+ depends=('libdrm' 'libclc' 'clang')
optdepends=('opencl-headers: headers necessary for OpenCL development')
provides=('opencl-driver')
@@ -129,7 +129,7 @@
package_vulkan-radeon() {
pkgdesc="Radeon's Vulkan mesa driver"
- depends=('wayland' 'libx11' 'libxshmfence' 'libelf' 'libdrm' 'zstd' 'llvm-libs')
+ depends=('wayland' 'libx11' 'libxshmfence' 'libelf' 'libdrm' 'llvm-libs')
optdepends=('vulkan-mesa-layers: additional vulkan layers')
provides=('vulkan-driver')
@@ -139,9 +139,21 @@
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
}
+package_vulkan-mesa() {
+ pkgdesc="Vulkan swrast driver"
+ depends=('wayland' 'libx11' 'libxshmfence' 'libdrm' 'zstd' 'llvm-libs')
+ optdepends=('vulkan-mesa-layers: additional vulkan layers')
+ provides=('vulkan-driver')
+
+ _install fakeinstall/usr/share/vulkan/icd.d/lvp_icd*.json
+ _install fakeinstall/usr/lib/libvulkan_lvp.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' 'zstd')
+ depends=('libdrm' 'libx11' 'llvm-libs' 'expat' 'libelf' 'libxshmfence')
_install fakeinstall/usr/lib/dri/*_drv_video.so
@@ -150,7 +162,7 @@
package_mesa-vdpau() {
pkgdesc="Mesa VDPAU drivers"
- depends=('libdrm' 'libx11' 'llvm-libs' 'expat' 'libelf' 'libxshmfence' 'zstd')
+ depends=('libdrm' 'libx11' 'llvm-libs' 'expat' 'libelf' 'libxshmfence')
_install fakeinstall/usr/lib/vdpau
More information about the arch-commits
mailing list