commit: 495743902327955e2edd4a17fc697de4b45a5155 Author: Marek Szuba <marecki <AT> gentoo <DOT> org> AuthorDate: Fri Apr 21 08:48:01 2023 +0000 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> CommitDate: Fri Apr 21 08:56:14 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49574390
dev-util/opencl-headers: add 2023.04.17 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> dev-util/opencl-headers/Manifest | 1 + .../opencl-headers-2023.04.17.ebuild | 29 ++++++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/dev-util/opencl-headers/Manifest b/dev-util/opencl-headers/Manifest index 936bb28ea0fa..5879b118322b 100644 --- a/dev-util/opencl-headers/Manifest +++ b/dev-util/opencl-headers/Manifest @@ -1 +1,2 @@ DIST opencl-headers-2023.02.06.tar.gz 66125 BLAKE2B 75018fab7e530c955b4a61dc40626751894cf9c471234f0d1d5346d1eb38d00b13df5f87cbd2af59bfa17d014bb20f9ed13727fb660bc79b3728c075b7b1c613 SHA512 41730e80b267de45db9d7a3bcf9e0f29bfc86b25475a86d50180a7258e1240fc8c8f2ad3e222b03b3ef50c10ef63fb5b1647c056fec615e87965aa3196e8ac60 +DIST opencl-headers-2023.04.17.tar.gz 73963 BLAKE2B 93b792559bb9dca0a2b62a113dd91f81297f86aabd1ca613f3770f02ff70b77276f02d13e0b8eb203495f520005fdd66da37e00fb49a2322f65b86671bb13271 SHA512 55945cdbd79b8a70b074dd09dd9cb6a560c454ce98c16341c75ac197cc85e57314f0e8fafd25aa51d4c4b4f7f8cf401a144d52aebfc8893bbbd1f28ec2850625 diff --git a/dev-util/opencl-headers/opencl-headers-2023.04.17.ebuild b/dev-util/opencl-headers/opencl-headers-2023.04.17.ebuild new file mode 100644 index 000000000000..e31ba9edaf8a --- /dev/null +++ b/dev-util/opencl-headers/opencl-headers-2023.04.17.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +MY_PN="OpenCL-Headers" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Unified C language headers for the OpenCL API" +HOMEPAGE="https://github.com/KhronosGroup/OpenCL-Headers" +SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~riscv ~x86" +IUSE="test" + +RESTRICT="!test? ( test )" + +S="${WORKDIR}"/${MY_P} + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTING=$(usex test) + ) + cmake_src_configure +}