pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

opencl-headers: Import opencl-headers-2.2.0.20200123 as wip/opencl-headers



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Thu Jan 23 13:26:05 2020 +0100
Changeset:	af25d8251b3099c55a0247c4c00c458e3be706b3

Modified Files:
	Makefile
Added Files:
	opencl-headers/DESCR
	opencl-headers/Makefile
	opencl-headers/PLIST
	opencl-headers/TODO
	opencl-headers/distinfo

Log Message:
opencl-headers: Import opencl-headers-2.2.0.20200123 as wip/opencl-headers

C language headers for the OpenCL API.

XXX: Completely untested!

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=af25d8251b3099c55a0247c4c00c458e3be706b3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                |  1 +
 opencl-headers/DESCR    |  1 +
 opencl-headers/Makefile | 22 ++++++++++++++++++++++
 opencl-headers/PLIST    | 16 ++++++++++++++++
 opencl-headers/TODO     |  2 ++
 opencl-headers/distinfo |  6 ++++++
 6 files changed, 48 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 84785f013d..f788ec9d09 100644
--- a/Makefile
+++ b/Makefile
@@ -2474,6 +2474,7 @@ SUBDIR+=	openbsc
 SUBDIR+=	openbsd-input-usbtablet
 SUBDIR+=	openca
 SUBDIR+=	opencascade
+SUBDIR+=	opencl-headers
 SUBDIR+=	openclonk
 SUBDIR+=	opendchub
 SUBDIR+=	opendune
diff --git a/opencl-headers/DESCR b/opencl-headers/DESCR
new file mode 100644
index 0000000000..782b270a6c
--- /dev/null
+++ b/opencl-headers/DESCR
@@ -0,0 +1 @@
+C language headers for the OpenCL API.
diff --git a/opencl-headers/Makefile b/opencl-headers/Makefile
new file mode 100644
index 0000000000..4d8216701f
--- /dev/null
+++ b/opencl-headers/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD$
+
+DISTNAME=	OpenCL-Headers
+PKGNAME=	opencl-headers-2.2.0.20200123
+CATEGORIES=	graphics
+MASTER_SITES=	${MASTER_SITE_GITHUB:=KhronosGroup/}
+GITHUB_PROJECT=	${DISTNAME}
+GITHUB_TAG=	4ba6f9bee89ffc7eb1598d95527484524fb7c461
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/KhronosGroup/OpenCL-Headers
+COMMENT=	OpenCL API Headers
+LICENSE=	mit # mostly, XXX: double-check
+
+NO_BUILD=	yes
+
+do-install:
+	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include/CL
+	${RUN} cd ${WRKSRC} && \
+	    ${INSTALL_DATA} CL/* ${DESTDIR}${PREFIX}/include/CL
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/opencl-headers/PLIST b/opencl-headers/PLIST
new file mode 100644
index 0000000000..ae77ace57f
--- /dev/null
+++ b/opencl-headers/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD$
+include/CL/cl.h
+include/CL/cl_d3d10.h
+include/CL/cl_d3d11.h
+include/CL/cl_dx9_media_sharing.h
+include/CL/cl_dx9_media_sharing_intel.h
+include/CL/cl_egl.h
+include/CL/cl_ext.h
+include/CL/cl_ext_intel.h
+include/CL/cl_gl.h
+include/CL/cl_gl_ext.h
+include/CL/cl_icd.h
+include/CL/cl_platform.h
+include/CL/cl_va_api_media_sharing_intel.h
+include/CL/cl_version.h
+include/CL/opencl.h
diff --git a/opencl-headers/TODO b/opencl-headers/TODO
new file mode 100644
index 0000000000..2333ff3980
--- /dev/null
+++ b/opencl-headers/TODO
@@ -0,0 +1,2 @@
+- Double-check LICENSE
+- Double-check PKGVERSION_NOREV
diff --git a/opencl-headers/distinfo b/opencl-headers/distinfo
new file mode 100644
index 0000000000..b5381533a7
--- /dev/null
+++ b/opencl-headers/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (OpenCL-Headers-4ba6f9bee89ffc7eb1598d95527484524fb7c461.tar.gz) = 7a5a6eed9add2aa395b5c47614a45ce88eebca02
+RMD160 (OpenCL-Headers-4ba6f9bee89ffc7eb1598d95527484524fb7c461.tar.gz) = 533ada292a838c9d4d4ebcde4ada812093890060
+SHA512 (OpenCL-Headers-4ba6f9bee89ffc7eb1598d95527484524fb7c461.tar.gz) = 8cd73adc6156a6333ccc2ba0e57849a413e8a54542588e63cd954acb8c40869e631424cac3909be2cecdd7bcd96d763c7d22ffc0fecc2f89857832fbbc878130
+Size (OpenCL-Headers-4ba6f9bee89ffc7eb1598d95527484524fb7c461.tar.gz) = 43335 bytes


Home | Main Index | Thread Index | Old Index