summaryrefslogtreecommitdiffstats
path: root/source/d
diff options
context:
space:
mode:
Diffstat (limited to 'source/d')
-rw-r--r--source/d/opencl-headers/LICENSE.txt20
-rwxr-xr-xsource/d/opencl-headers/opencl-headers.SlackBuild14
-rw-r--r--source/d/opencl-headers/opencl-headers.url2
3 files changed, 8 insertions, 28 deletions
diff --git a/source/d/opencl-headers/LICENSE.txt b/source/d/opencl-headers/LICENSE.txt
deleted file mode 100644
index a89e4f5c0..000000000
--- a/source/d/opencl-headers/LICENSE.txt
+++ /dev/null
@@ -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.
diff --git a/source/d/opencl-headers/opencl-headers.SlackBuild b/source/d/opencl-headers/opencl-headers.SlackBuild
index 3c9e0cab4..1b33a02bf 100755
--- a/source/d/opencl-headers/opencl-headers.SlackBuild
+++ b/source/d/opencl-headers/opencl-headers.SlackBuild
@@ -2,8 +2,8 @@
# Slackware build script for opencl-headers
-# Copyright 2016 Heinz Wiesinger, Amsterdam, The Netherlands
-# Copyright 2016, 2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2016, 2019 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2016, 2018, 2019 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,8 +27,8 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=opencl-headers
VERSION=${VERSION:-$(echo OpenCL-Headers-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-PKGVER=${PKGVER:-2.1}
-BUILD=${BUILD:-2}
+PKGVER=${PKGVER:-2.2}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -60,18 +60,18 @@ find . \
mkdir -p $PKG/usr/include/CL
-install -p -m 0644 ./* -t $PKG/usr/include/CL/
+install -p -m 0644 CL/* -t $PKG/usr/include/CL/
zcat $CWD/cl.hpp.gz > $PKG/usr/include/CL/cl.hpp
zcat $CWD/cl2.hpp.gz > $PKG/usr/include/CL/cl2.hpp
# Drop Direct3D related headers
-for i in cl_dx9_media_sharing.h cl_d3d10.h cl_d3d11.h; do
+for i in cl_dx9_media_sharing.h cl_dx9_media_sharing_intel.h cl_d3d10.h cl_d3d11.h; do
rm -f $PKG/usr/include/CL/$i
done
mkdir -p $PKG/usr/doc/$PKGNAM-$PKGVER
-cp -a $CWD/LICENSE.txt \
+cp -a LICENSE* README* \
$PKG/usr/doc/$PKGNAM-$PKGVER
mkdir -p $PKG/install
diff --git a/source/d/opencl-headers/opencl-headers.url b/source/d/opencl-headers/opencl-headers.url
index 025ce0928..97f32488e 100644
--- a/source/d/opencl-headers/opencl-headers.url
+++ b/source/d/opencl-headers/opencl-headers.url
@@ -1,3 +1,3 @@
-https://github.com/KhronosGroup/OpenCL-Headers/archive/abb29588550c77f8340a6c3683531407013bf26b/OpenCL-Headers-abb29588550c77f8340a6c3683531407013bf26b.tar.gz
+https://github.com/KhronosGroup/OpenCL-Headers/archive/49f07d313344ddb22701847ea5c18cb7db03b0d7/OpenCL-Headers-49f07d313344ddb22701847ea5c18cb7db03b0d7.tar.gz
https://github.com/KhronosGroup/OpenCL-CLHPP/releases/download/v2.0.10/cl2.hpp
https://www.khronos.org/registry/cl/api/2.1/cl.hpp