[arch-commits] Commit in opencl-headers/repos/extra-any (4 files)

Laurent Carlier lcarlier at archlinux.org
Thu Oct 22 14:54:36 UTC 2020


    Date: Thursday, October 22, 2020 @ 14:54:36
  Author: lcarlier
Revision: 398728

archrelease: copy trunk to extra-any

Added:
  opencl-headers/repos/extra-any/LICENSE.txt
    (from rev 398727, opencl-headers/trunk/LICENSE.txt)
  opencl-headers/repos/extra-any/PKGBUILD
    (from rev 398727, opencl-headers/trunk/PKGBUILD)
Deleted:
  opencl-headers/repos/extra-any/LICENSE.txt
  opencl-headers/repos/extra-any/PKGBUILD

-------------+
 LICENSE.txt |   40 +++++++++++++++++-----------------
 PKGBUILD    |   68 ++++++++++++++++++++++++----------------------------------
 2 files changed, 49 insertions(+), 59 deletions(-)

Deleted: LICENSE.txt
===================================================================
--- LICENSE.txt	2020-10-22 14:54:29 UTC (rev 398727)
+++ LICENSE.txt	2020-10-22 14:54:36 UTC (rev 398728)
@@ -1,20 +0,0 @@
- * Copyright (c) 2008-2010 The Khronos Group Inc.
- *
- * Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and/or associated documentation files (the
- * "Materials"), to deal in the Materials without restriction, including
- * without limitation the rights to use, copy, modify, merge, publish,
- * distribute, sublicense, and/or sell copies of the Materials, and to
- * permit persons to whom the Materials are furnished to do so, subject to
- * the following conditions:
- *
- * The above copyright notice and this permission notice shall be included
- * in all copies or substantial portions of the Materials.
- *
- * THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
- * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
- * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
- * MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.

Copied: opencl-headers/repos/extra-any/LICENSE.txt (from rev 398727, opencl-headers/trunk/LICENSE.txt)
===================================================================
--- LICENSE.txt	                        (rev 0)
+++ LICENSE.txt	2020-10-22 14:54:36 UTC (rev 398728)
@@ -0,0 +1,20 @@
+ * Copyright (c) 2008-2010 The Khronos Group Inc.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and/or associated documentation files (the
+ * "Materials"), to deal in the Materials without restriction, including
+ * without limitation the rights to use, copy, modify, merge, publish,
+ * distribute, sublicense, and/or sell copies of the Materials, and to
+ * permit persons to whom the Materials are furnished to do so, subject to
+ * the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included
+ * in all copies or substantial portions of the Materials.
+ *
+ * THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ * MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-22 14:54:29 UTC (rev 398727)
+++ PKGBUILD	2020-10-22 14:54:36 UTC (rev 398728)
@@ -1,39 +0,0 @@
-# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
-# Contributor: Sylvain HENRY <hsyl20 at yahoo.fr>
-
-pkgname=opencl-headers
-pkgver=2.2.20170516 
-pkgrel=3
-epoch=2
-pkgdesc='OpenCL (Open Computing Language) header files'
-arch=('any')
-url='https://www.khronos.org/registry/cl/'
-license=('custom')
-makedepends=(git python)
-source=('git+https://github.com/KhronosGroup/OpenCL-Headers.git#commit=ec2566b'
-        'git+https://github.com/KhronosGroup/OpenCL-CLHPP.git#commit=e250e2e'
-        'LICENSE.txt')
-sha256sums=('SKIP'
-            'SKIP'
-            'd1059405dce021e0c0a7f7e01b48447e641477e0c14a9bc29983f4202b67c410')
-
-package() {
-  cd "${srcdir}"/OpenCL-Headers/opencl22/CL
-
-  install -dm755 "${pkgdir}"/usr/include/CL
-
-  for h in *.h; do
-    install -m 644 ${h} "${pkgdir}"/usr/include/CL/
-  done
-
-  # remove useless headers
-  rm "${pkgdir}"/usr/include/CL/{cl_d3d,cl_dx9}*.h
-
-  cd "${srcdir}"/OpenCL-CLHPP
-
-  python gen_cl_hpp.py -i input_cl.hpp -o cl.hpp
-  install -m 644 cl.hpp "${pkgdir}"/usr/include/CL/
-  install -m 644 input_cl2.hpp "${pkgdir}"/usr/include/CL/cl2.hpp
-
-  install -D -m644 ../LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}

Copied: opencl-headers/repos/extra-any/PKGBUILD (from rev 398727, opencl-headers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-10-22 14:54:36 UTC (rev 398728)
@@ -0,0 +1,29 @@
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Sylvain HENRY <hsyl20 at yahoo.fr>
+
+pkgname=opencl-headers
+pkgver=2020.06.16
+pkgrel=1
+epoch=2
+pkgdesc='OpenCL (Open Computing Language) header files'
+arch=('any')
+url='https://www.khronos.org/registry/cl/'
+license=('custom')
+source=("${pkhname}-${pkgver}.tar.gz::https://github.com/KhronosGroup/OpenCL-Headers/archive/v${pkgver}.tar.gz")
+sha256sums=('2f5a60e5ac4b127650618c58a7e3b35a84dbf23c1a0ac72eb5e7baf221600e06')
+optdepends=('opencl-clhpp: C++ support')
+
+package() {
+  cd "${srcdir}"/OpenCL-Headers*/CL
+
+  install -dm755 "${pkgdir}"/usr/include/CL
+
+  for h in *.h; do
+    install -m 644 ${h} "${pkgdir}"/usr/include/CL/
+  done
+
+  # remove useless headers
+  rm "${pkgdir}"/usr/include/CL/{cl_d3d,cl_dx9}*.h
+
+  install -D -m644 ../LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}



More information about the arch-commits mailing list