Date: Saturday, May 17, 2014 @ 20:30:38
  Author: lcarlier
Revision: 213040

upgpkg: mesa 10.2.0rc3-1

upstream update 10.2.0rc3

Modified:
  mesa/trunk/PKGBUILD

----------+
 PKGBUILD |   39 ++++++++++++++++++++++++++++++---------
 1 file changed, 30 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-05-17 17:28:48 UTC (rev 213039)
+++ PKGBUILD    2014-05-17 18:30:38 UTC (rev 213040)
@@ -3,17 +3,19 @@
 # Maintainer: Andreas Radke <andy...@archlinux.org>
 
 pkgbase=mesa
-pkgname=('ati-dri' 'intel-dri' 'nouveau-dri' 'svga-dri' 'mesa' 'mesa-libgl')
-pkgver=10.1.3
+pkgname=('opencl-mesa' 'ati-dri' 'intel-dri' 'nouveau-dri' 'svga-dri' 'mesa' 
'mesa-libgl')
+pkgver=10.2.0rc3
 pkgrel=1
 arch=('i686' 'x86_64')
 makedepends=('python2' 'libxml2' 'libx11' 'glproto' 'libdrm' 'dri2proto' 
'dri3proto' 'presentproto' 
-             'libxshmfence' 'libxxf86vm'  'libxdamage' 'libvdpau' 'wayland' 
'elfutils' 'llvm' 'systemd')
+             'libxshmfence' 'libxxf86vm'  'libxdamage' 'libvdpau' 'wayland' 
'elfutils' 'llvm' 'systemd'
+             'libomxil-bellagio' 'libclc' 'clang')
 url="http://mesa3d.sourceforge.net";
 license=('custom')
-source=(ftp://ftp.freedesktop.org/pub/mesa/${pkgver}/MesaLib-${pkgver}.tar.bz2
+#source=(ftp://ftp.freedesktop.org/pub/mesa/${pkgver}/MesaLib-${pkgver}.tar.bz2
+source=(ftp://ftp.freedesktop.org/pub/mesa/10.2/MesaLib-10.2.0-rc3.tar.bz2
         LICENSE)
-md5sums=('ba6dbe2b9cab0b4de840c996b9b6a3ad'
+md5sums=('266264483d5f1e3513f48f95392c15a2'
          '5c65a0fe315dd347e09b1f2826a1df5a')
 
 build() {
@@ -27,7 +29,7 @@
     --with-gallium-drivers=r300,r600,radeonsi,nouveau,svga,swrast \
     --with-dri-drivers=i915,i965,r200,radeon,nouveau,swrast \
     --with-egl-platforms=x11,drm,wayland \
-    --with-llvm-shared-libs \
+    --enable-llvm-shared-libs \
     --enable-egl \
     --disable-gallium-egl \
     --enable-gbm \
@@ -43,9 +45,13 @@
     --enable-texture-float \
     --enable-xa \
     --enable-vdpau \
-    --enable-dri3
+    --enable-dri3 \
+    --enable-omx \
+    --enable-opencl --enable-opencl-icd \
+    --with-clang-libdir=/usr/lib
+
     # --help
-    # --disable-gallium-egl : not well maintained/expose less bug, so prefer 
egl_dri2 (FS#40096)
+    # --disable-gallium-egl : not well maintained/expose more bugs, so prefer 
egl_dri2 (FS#40096)
 
   make
 
@@ -54,6 +60,21 @@
   make DESTDIR=${srcdir}/fakeinstall install
 }
 
+package_opencl-mesa() {
+  pkgdesc="OpenCL support for AMD/ATI Radeon mesa drivers"
+  depends=('mesa-libgl' "mesa=${pkgver}" 'libcl' 'libclc' 'clang')
+  optdepends=('opencl-headers: headers necessary for OpenCL development')
+  
+  install -m755 -d ${pkgdir}/usr/lib/
+  mv -v ${srcdir}/fakeinstall/usr/lib/lib*OpenCL* ${pkgdir}/usr/lib/
+
+  install -m755 -d ${pkgdir}/etc
+  mv -v ${srcdir}/fakeinstall/etc/OpenCL ${pkgdir}/etc
+  
+  install -m755 -d "${pkgdir}/usr/share/licenses/opencl-mesa"
+  install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/opencl-mesa/"
+}
+
 package_ati-dri() {
   pkgdesc="Mesa drivers for AMD/ATI Radeon"
   depends=('mesa-libgl' 'libtxc_dxtn' "mesa=${pkgver}")
@@ -116,7 +137,7 @@
 
 package_mesa() {
   pkgdesc="an open-source implementation of the OpenGL specification"
-  depends=('libdrm' 'libvdpau' 'wayland' 'libxxf86vm' 'libxdamage' 
'libxshmfence' 'systemd' 'elfutils' 'llvm-libs')
+  depends=('libdrm' 'libvdpau' 'wayland' 'libxxf86vm' 'libxdamage' 
'libxshmfence' 'libomxil-bellagio' 'systemd' 'elfutils' 'llvm-libs')
   optdepends=('opengl-man-pages: for the OpenGL API man pages')
   provides=('libglapi' 'osmesa' 'libgbm' 'libgles' 'libegl' 
'khrplatform-devel')
   conflicts=('libglapi' 'osmesa' 'libgbm' 'libgles' 'libegl' 
'khrplatform-devel')

Reply via email to