[arch-commits] Commit in lib32-mesa/trunk (PKGBUILD)

Laurent Carlier lcarlier at archlinux.org
Sun Oct 2 05:31:52 UTC 2016


    Date: Sunday, October 2, 2016 @ 05:31:52
  Author: lcarlier
Revision: 191186

upgpkg: lib32-mesa 12.0.3-2

add vulkan-intel driver, explicitly disable xvmc (FS#51189)

Modified:
  lib32-mesa/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-02 04:27:38 UTC (rev 191185)
+++ PKGBUILD	2016-10-02 05:31:52 UTC (rev 191186)
@@ -3,13 +3,13 @@
 # Contributor: Andreas Radke <andyrtr at archlinux.org>
 
 pkgbase=lib32-mesa
-pkgname=('lib32-mesa-vdpau' 'lib32-mesa' 'lib32-mesa-libgl')
+pkgname=('lib32-vulkan-intel' 'lib32-mesa-vdpau' 'lib32-mesa' 'lib32-mesa-libgl')
 pkgver=12.0.3
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 makedepends=('python2-mako' 'lib32-libxml2' 'lib32-expat' 'lib32-libx11' 'glproto' 'lib32-libdrm' 'dri2proto' 'dri3proto' 'presentproto'
              'lib32-libxshmfence' 'lib32-libxxf86vm' 'lib32-libxdamage' 'gcc-multilib' 'lib32-elfutils' 'lib32-llvm' 'lib32-systemd'
-             'lib32-libvdpau' 'lib32-wayland')
+             'lib32-libvdpau' 'lib32-wayland' 'lib32-libgcrypt')
 url="http://mesa3d.sourceforge.net"
 license=('custom')
 source=(ftp://ftp.freedesktop.org/pub/mesa/${pkgver}/mesa-${pkgver}.tar.xz{,.sig}
@@ -47,6 +47,9 @@
     --with-gallium-drivers=r300,r600,radeonsi,nouveau,swrast,virgl \
     --with-dri-drivers=i915,i965,r200,radeon,nouveau,swrast \
     --with-egl-platforms=x11,drm,wayland \
+    --with-vulkan-drivers=intel \
+    --with-sha1=libgcrypt \
+    --disable-xvmc \
     --enable-gallium-llvm \
     --enable-llvm-shared-libs \
     --enable-shared-glapi \
@@ -68,6 +71,17 @@
   make DESTDIR=${srcdir}/fakeinstall install
 }
 
+package_lib32-vulkan-intel() {
+  pkgdesc="Intel's Vulkan mesa driver (32-bit)"
+  depends=('vulkan-intel' 'lib32-vulkan-icd-loader' 'lib32-libgcrypt' 'lib32-wayland' 'lib32-libxcb')
+  
+  install -m755 -d ${pkgdir}/usr/lib32
+  mv -v ${srcdir}/fakeinstall/usr/lib32/libvulkan_intel.so ${pkgdir}/usr/lib32/
+
+  install -m755 -d "${pkgdir}/usr/share/licenses/lib32-vulkan-intel"
+  install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/lib32-vulkan-intel/"
+}
+
 package_lib32-mesa-vdpau() {
   pkgdesc="Mesa VDPAU drivers (32-bit)"
   depends=('lib32-libdrm' 'lib32-libx11' 'lib32-expat' 'lib32-llvm-libs' 'lib32-elfutils')



More information about the arch-commits mailing list