summaryrefslogtreecommitdiff
path: root/dev-util/spirv-tools
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-30 04:07:22 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-30 04:07:22 +0100
commit4c2ed878d2353b3decc88b86f66017cdee3ceeeb (patch)
tree517eec36b2b4fa5874e8765d8622fb8a7095da19 /dev-util/spirv-tools
parentb6fd18fb87dd442e905a3e0f1ece183d91b05002 (diff)
gentoo auto-resync : 30:08:2023 - 04:07:22
Diffstat (limited to 'dev-util/spirv-tools')
-rw-r--r--dev-util/spirv-tools/Manifest2
-rw-r--r--dev-util/spirv-tools/spirv-tools-1.3.261.ebuild42
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-util/spirv-tools/Manifest b/dev-util/spirv-tools/Manifest
index 2381807a2eb2..eb911c194790 100644
--- a/dev-util/spirv-tools/Manifest
+++ b/dev-util/spirv-tools/Manifest
@@ -1,4 +1,6 @@
DIST spirv-tools-1.3.250.tar.gz 3113062 BLAKE2B a6951f957282eace3f65c81041070b6afd78ea87d50ef76c049827b537e94f75fbc3b7d9326ff0bcd1663d51611c7b01c8d5d8c2336ea151ab69ccb41b0ea308 SHA512 777733c6a25c5bad9802e7a33e913a051ccc3d740acb24c9255cc3ab5d08fce529991696310e3a58ca52e79a214c8dc74f811ab357135a85e82b6c10c8701289
+DIST spirv-tools-1.3.261.tar.gz 3140272 BLAKE2B 2ec477c28d62e792ea86ec460fe4a3320f6f162376822e2d30f229187bc6c9c8f61f32695f459f5f75cdc836cad0da189b4e81fc0e82869c0398ddcb367c6af4 SHA512 b494c8daf0e863f100926636c6a8e44d34b9423d548afd6ddf81dbc44b171543246a934d90e943f9bc75e180a6554c15724ab4e1f9561725abd41c46a76befb3
EBUILD spirv-tools-1.3.250.ebuild 1139 BLAKE2B 833a35f4c755499e79dc79ece9711e8259064978648390dd1a2e35bd2ef853dd7a5af17565f9c4e8355d85ba8cb97a08c46e969cfb670baa02bec6180a23c66e SHA512 376785c2de54d17e6d5bcb69660dd506963c064a9aa3c56143276201da4b5dc5de6de231e2d0feaf5329ad53a2abb188f14d9f1b5b8485087362ccff76479ee0
+EBUILD spirv-tools-1.3.261.ebuild 1145 BLAKE2B 4b9807fcde398902b6bc269f90f2d1510b33159325eb799b7ac61bb8e32cdb4d295ef41192415c4c0867c27f2a897a070a84d1a634f739b41c71ff2f6c465fac SHA512 4c86b2177d524a11b93e57a711d4678ea4da4458cb74a208487f8697f87a5d8f90f21aefba0d24eca03d8d7eda4189a4926e38acce6da42b24ec287e32c616b4
EBUILD spirv-tools-99999999.ebuild 1148 BLAKE2B e4093574ecbb82263180ef72f2bb93841ece149065561868aaf13456cfa7c2f80ac7f36f6b095445e1c0ad56dc2be8f70df30f6e058a206be4afee23e494f242 SHA512 0734ff5a8c4566f097e495fd508845d14dafaafc14b33481e3ee7e2b1fdfbbd2735d04069d689e0b9fd38c8fc0af1a929987a118d94c3bf05d2022178afc49b9
MISC metadata.xml 429 BLAKE2B 8d9917ace6eaaab8b826f48bc6f38c629efc5245a5356d821632867b8a65246180dcc14927db6ed1e025a32d7bb248aa35e3a7095c79bff5a2e91b3d880de997 SHA512 3f076c95eb788258a2451c3b54a013eeb936fed744b68499f53970590fc846d79b9724198ed54300a57395b1f4f2a657840bf8aa7ff25dcef8cdf28aa7f35ae3
diff --git a/dev-util/spirv-tools/spirv-tools-1.3.261.ebuild b/dev-util/spirv-tools/spirv-tools-1.3.261.ebuild
new file mode 100644
index 000000000000..e5c15a8932d4
--- /dev/null
+++ b/dev-util/spirv-tools/spirv-tools-1.3.261.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN=SPIRV-Tools
+PYTHON_COMPAT=( python3_{9..12} )
+PYTHON_REQ_USE="xml(+)"
+inherit cmake-multilib python-any-r1
+
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/KhronosGroup/${MY_PN}.git"
+ inherit git-r3
+else
+ EGIT_COMMIT="sdk-${PV}.0"
+ SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+ S="${WORKDIR}"/${MY_PN}-${EGIT_COMMIT}
+fi
+
+DESCRIPTION="Provides an API and commands for processing SPIR-V modules"
+HOMEPAGE="https://github.com/KhronosGroup/SPIRV-Tools"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+# Tests fail upon finding symbols that do not match a regular expression
+# in the generated library. Easily hit with non-standard compiler flags
+RESTRICT="test"
+
+DEPEND="~dev-util/spirv-headers-${PV}"
+RDEPEND=""
+BDEPEND="${PYTHON_DEPS}"
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DSPIRV-Headers_SOURCE_DIR="${ESYSROOT}"/usr/
+ -DSPIRV_WERROR=OFF
+ -DSPIRV_TOOLS_BUILD_STATIC=OFF
+ )
+
+ cmake_src_configure
+}