diff options
author | Nick Sarnie <sarnex@gentoo.org> | 2024-08-04 15:11:40 -0400 |
---|---|---|
committer | Nick Sarnie <sarnex@gentoo.org> | 2024-08-04 15:29:54 -0400 |
commit | f59bb56a9144b8375485837a8c9fc2a38b23cfda (patch) | |
tree | af1dc40f351cefc5ea6dce09a201e575ed8c8ad5 /dev-util | |
parent | dev-python/shapely: Remove old (diff) | |
download | gentoo-f59bb56a9144b8375485837a8c9fc2a38b23cfda.tar.gz gentoo-f59bb56a9144b8375485837a8c9fc2a38b23cfda.tar.bz2 gentoo-f59bb56a9144b8375485837a8c9fc2a38b23cfda.zip |
dev-util/spirv-headers: add 1.3.290.0
Signed-off-by: Nick Sarnie <sarnex@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/spirv-headers/Manifest | 1 | ||||
-rw-r--r-- | dev-util/spirv-headers/spirv-headers-1.3.290.0.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-util/spirv-headers/Manifest b/dev-util/spirv-headers/Manifest index 0ddcd02fa831..f5da25ef7c56 100644 --- a/dev-util/spirv-headers/Manifest +++ b/dev-util/spirv-headers/Manifest @@ -1 +1,2 @@ DIST spirv-headers-1.3.283.0.tar.gz 472294 BLAKE2B b3d567006c3c584e6ceb8b0f28be62ac9c98bd1ee24152ecf4d8916e5140e4653b7940d86471f22fb1852abe73a3dff2963ce30c6a8615d04c59a91e99430b8d SHA512 2bb52f532a8a07d6eaf7e348fc79e798511740e3f6b3fb2d1de8834335598f57555c638e07e906935e94a26a1f71704f5ca1dd0dcc8d099b2d722d217f9591fa +DIST spirv-headers-1.3.290.0.tar.gz 521685 BLAKE2B f6179e8666a66c2f512153a3574ea252925020903739956f06eb24972ab5dc063dc19692b5c5eee96a3106db6bce652b625209cbcfd587ee73cd95a960ddffdd SHA512 d3328cd4ddf87d075afacfb7ada01dbd16a3ff39b831e9ebe4ce3c32af0ff0c8822811b0e0d273a54b4acaba29b63b099efcf0150424bd9074d24d04a9974d89 diff --git a/dev-util/spirv-headers/spirv-headers-1.3.290.0.ebuild b/dev-util/spirv-headers/spirv-headers-1.3.290.0.ebuild new file mode 100644 index 000000000000..d0ba40d7e45e --- /dev/null +++ b/dev-util/spirv-headers/spirv-headers-1.3.290.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN=SPIRV-Headers +inherit cmake + +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://github.com/KhronosGroup/${MY_PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/vulkan-sdk-${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" + S="${WORKDIR}"/${MY_PN}-vulkan-sdk-${PV} +fi + +DESCRIPTION="Machine-readable files for the SPIR-V Registry" +HOMEPAGE="https://registry.khronos.org/SPIR-V/ https://github.com/KhronosGroup/SPIRV-Headers" + +LICENSE="MIT" +SLOT="0" + +src_configure() { + local mycmakeargs=( + -DSPIRV_HEADERS_ENABLE_TESTS=OFF + -DSPIRV_HEADERS_ENABLE_INSTALL=ON + ) + cmake_src_configure +} |