dev-util/opencl-headers: add 2023.04.17

Signed-off-by: Marek Szuba <marecki@gentoo.org>
This commit is contained in:
Marek Szuba
2023-04-21 09:48:01 +01:00
parent 87813749ee
commit 4957439023
2 changed files with 30 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}