opencl_headers: bump git revision, fix provides

This commit is contained in:
Gerasim Troeglazov
2021-04-08 14:31:20 +10:00
parent 2e3906613e
commit 2fd50ae7a3

View File

@@ -7,13 +7,13 @@ applications in numerous market categories including gaming and \
entertainment titles, scientific and medical software, professional creative \
tools, vision processing, and neural network training and inferencing."
HOMEPAGE="https://www.khronos.org/registry/OpenCL/"
COPYRIGHT="2008-2015 The Khronos Group Inc."
COPYRIGHT="2008-2020 The Khronos Group Inc."
LICENSE="MIT"
REVISION="3"
srcGitRev="e986688daf750633898dfd3994e14a9e618f2aa5"
REVISION="1"
srcGitRev="b04034a17e214322772c19e7ccd2adf0cd306920"
SOURCE_URI="https://github.com/KhronosGroup/OpenCL-Headers/archive/$srcGitRev.zip"
SOURCE_DIR="OpenCL-Headers-$srcGitRev"
CHECKSUM_SHA256="264049db0538a017856b4a9a93f72180f677f095e4bcd806a9fd57e10b03f712"
CHECKSUM_SHA256="d04da7ee526bcc5d078a6e152e2e8f6f48b71c437a67ed97c2379f72e97e0f31"
ARCHITECTURES="x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
@@ -22,7 +22,7 @@ openclVersion="2.2"
openclVersionCompat="$openclVersion compat >= ${openclVersion%%.*}"
PROVIDES="
opencl_headers${secondaryArchSuffix}_devel = $openclVersionCompat
opencl_headers${secondaryArchSuffix} = $openclVersionCompat
devel:libopencl_headers$secondaryArchSuffix = $openclVersionCompat
"
REQUIRES="
@@ -47,5 +47,5 @@ BUILD()
INSTALL()
{
install -d "$includeDir/CL"
install -t "$includeDir/CL" -m 644 opencl22/CL/*
install -t "$includeDir/CL" -m 644 CL/*
}