[arch-commits] Commit in mesa/trunk (PKGBUILD glesv2.pc)

Andreas Radke andyrtr at archlinux.org
Wed Jun 12 19:16:32 UTC 2019


    Date: Wednesday, June 12, 2019 @ 19:16:32
  Author: andyrtr
Revision: 355944

upgpkg: mesa 19.1.0-1

upstream update 19.1.0; don't enable GLES v1 that is not meant to be used with Linux OS; build experimental Intel iris gallium3d driver for testing; bring back swr

Added:
  mesa/trunk/glesv2.pc
Modified:
  mesa/trunk/PKGBUILD

-----------+
 PKGBUILD  |   24 +++++++++++++-----------
 glesv2.pc |   10 ++++++++++
 2 files changed, 23 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-12 18:47:09 UTC (rev 355943)
+++ PKGBUILD	2019-06-12 19:16:32 UTC (rev 355944)
@@ -4,7 +4,7 @@
 pkgbase=mesa
 pkgname=('opencl-mesa' 'vulkan-intel' 'vulkan-radeon' 'libva-mesa-driver' 'mesa-vdpau' 'mesa')
 pkgdesc="An open-source implementation of the OpenGL specification"
-pkgver=19.0.6
+pkgver=19.1.0
 pkgrel=1
 arch=('x86_64')
 makedepends=('python-mako' 'libxml2' 'libx11' 'glproto' 'libdrm' 'dri2proto' 'dri3proto' 'presentproto' 
@@ -14,10 +14,12 @@
 url="https://www.mesa3d.org/"
 license=('custom')
 source=(https://mesa.freedesktop.org/archive/mesa-${pkgver}.tar.xz{,.sig}
-        LICENSE)
-sha512sums=('320fd6b12ccd5e4a40dfc93546354848a38da09d90e4d5a1dae5d100b8106942acfc25ac3f705a2d3ab3b355162c74c7dfadbdb99a46cf2e5e0761f8542bfeb1'
+        LICENSE
+        glesv2.pc)
+sha512sums=('25b186ae8037dedea5691e0b77b22f2065f3c877838378651726dfa1b34ef49dcc56f1dbd124e99285e5f14489db936a886a6740495b5b279e8363424bfb3433'
             'SKIP'
-            'f9f0d0ccf166fe6cb684478b6f1e1ab1f2850431c06aa041738563eb1808a004e52cdec823c103c9e180f03ffc083e95974d291353f0220fe52ae6d4897fecc7')
+            'f9f0d0ccf166fe6cb684478b6f1e1ab1f2850431c06aa041738563eb1808a004e52cdec823c103c9e180f03ffc083e95974d291353f0220fe52ae6d4897fecc7'
+            'e5db81538625a056328c2ba83f3e6418e0d579c261bcddf685036ad19e816dd002313c80a6c48cef0289d1e1b0bdbe733810ae9f53604e380486253642cff52c')
 validpgpkeys=('8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D'  # Emil Velikov <emil.l.velikov at gmail.com>
               '946D09B5E4C9845E63075FF1D961C596A7203456'  # Andres Gomez <tanty at igalia.com>
               'E3E8F480C52ADD73B278EE78E1ECBE07D7D70895'  # Juan Antonio Suárez Romero (Igalia, S.L.) <jasuarez at igalia.com>
@@ -32,7 +34,7 @@
     -D b_ndebug=true \
     -D platforms=x11,wayland,drm,surfaceless \
     -D dri-drivers=i915,i965,r100,r200,nouveau \
-    -D gallium-drivers=r300,r600,radeonsi,nouveau,virgl,svga,swrast \
+    -D gallium-drivers=r300,r600,radeonsi,nouveau,virgl,svga,swrast,swr,iris \
     -D vulkan-drivers=amd,intel \
     -D swr-arches=avx,avx2 \
     -D dri3=true \
@@ -46,7 +48,7 @@
     -D gallium-xa=true \
     -D gallium-xvmc=false \
     -D gbm=true \
-    -D gles1=true \
+    -D gles1=false \
     -D gles2=true \
     -D glvnd=true \
     -D glx=dri \
@@ -144,7 +146,7 @@
   _install fakeinstall/usr/share/drirc.d/00-mesa-defaults.conf
   _install fakeinstall/usr/share/glvnd/egl_vendor.d/50_mesa.json
 
-  # ati-dri, nouveau-dri, intel-dri, svga-dri, swrast
+  # ati-dri, nouveau-dri, intel-dri, svga-dri, swrast, swr
   _install fakeinstall/usr/lib/dri/*_dri.so
    
   _install fakeinstall/usr/lib/bellagio
@@ -152,11 +154,8 @@
   _install fakeinstall/usr/lib/lib{gbm,glapi}.so*
   _install fakeinstall/usr/lib/libOSMesa.so*
   _install fakeinstall/usr/lib/libxatracker.so*
-  # _install fakeinstall/usr/lib/libswrAVX*.so*
+  _install fakeinstall/usr/lib/libswrAVX*.so*
 
-  # in libglvnd
-  rm -v fakeinstall/usr/lib/libGLESv{1_CM,2}.so*
-  
   # in vulkan-headers
   rm -rv fakeinstall/usr/include/vulkan
 
@@ -173,5 +172,8 @@
   # make sure there are no files left to install
   find fakeinstall -depth -print0 | xargs -0 rmdir
 
+  # bring back missing glesv2.pc
+  install -m644 -Dt ${pkgdir}/usr/lib/pkgconfig ${srcdir}/glesv2.pc
+
   install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
 }

Added: glesv2.pc
===================================================================
--- glesv2.pc	                        (rev 0)
+++ glesv2.pc	2019-06-12 19:16:32 UTC (rev 355944)
@@ -0,0 +1,10 @@
+prefix=/usr
+libdir=${prefix}/lib64
+includedir=${prefix}/include
+
+Name: glesv2
+Description: Mesa OpenGL ES 2.0 library
+Version: 19.1.0
+Libs: -L${libdir} -lGLESv2
+Libs.private: -lpthread -pthread -lm -ldl
+Cflags: -I${includedir}


More information about the arch-commits mailing list