summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2024-05-16 10:23:25 -0400
committerMatt Turner <mattst88@gentoo.org>2024-05-16 10:53:42 -0400
commit03d38272d29ba664cf8b1e6ed44c5d7c9e55be93 (patch)
tree71ab72ce5785348c7fe8d689c79340f93019ef6a /dev-util/spirv-headers
parentvirtual/rust: add myself as a maintainer (diff)
downloadgentoo-03d38272d29ba664cf8b1e6ed44c5d7c9e55be93.tar.gz
gentoo-03d38272d29ba664cf8b1e6ed44c5d7c9e55be93.tar.bz2
gentoo-03d38272d29ba664cf8b1e6ed44c5d7c9e55be93.zip
dev-util/spirv-headers: Version bump to 1.3.283.0
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-util/spirv-headers')
-rw-r--r--dev-util/spirv-headers/Manifest1
-rw-r--r--dev-util/spirv-headers/spirv-headers-1.3.283.0.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-util/spirv-headers/Manifest b/dev-util/spirv-headers/Manifest
index 8407f247ef69..23416eaf6427 100644
--- a/dev-util/spirv-headers/Manifest
+++ b/dev-util/spirv-headers/Manifest
@@ -1,2 +1,3 @@
DIST spirv-headers-1.3.275.tar.gz 466308 BLAKE2B 58444631219665694a3c7cd646bcfd7701259b6ed30d7ce3002a801e8ebd695ae4957438cf4e28e12e8554d052992d68e283afed6c8e4cb0e4b963375c94d3ca SHA512 409dc2b582ac63b69315b04b493eed5ffca95439a949536feb5a90ada5db92ef7edf926f9c1a6eb6475dd52e8c20c68eee42143fb75b1b119e23a6f9ab773474
DIST spirv-headers-1.3.280.0.tar.gz 472159 BLAKE2B 21eaffa0040ba218a433edd49ffe0281626b50b85f4b387a83e3fb4d5e1a3a5adfc4b2fd421c1bb82f472707e7e8eac8b0cb7c73f32a7972b3ec1c6cb3e088ec SHA512 6c20022df343e900793370cb30ccea6f4e64f42f4f7c495a0fbb9d3c5fcf3c15a173b93fe883e407d40f8c6dd9d0a6853d8a6907e3df5aa61ad48ae8485019e8
+DIST spirv-headers-1.3.283.0.tar.gz 472294 BLAKE2B b3d567006c3c584e6ceb8b0f28be62ac9c98bd1ee24152ecf4d8916e5140e4653b7940d86471f22fb1852abe73a3dff2963ce30c6a8615d04c59a91e99430b8d SHA512 2bb52f532a8a07d6eaf7e348fc79e798511740e3f6b3fb2d1de8834335598f57555c638e07e906935e94a26a1f71704f5ca1dd0dcc8d099b2d722d217f9591fa
diff --git a/dev-util/spirv-headers/spirv-headers-1.3.283.0.ebuild b/dev-util/spirv-headers/spirv-headers-1.3.283.0.ebuild
new file mode 100644
index 000000000000..d0ba40d7e45e
--- /dev/null
+++ b/dev-util/spirv-headers/spirv-headers-1.3.283.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
+}