From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1726504-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 3687A1582EF
	for <garchives@archives.gentoo.org>; Mon, 10 Mar 2025 22:43:45 +0000 (UTC)
Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	(Authenticated sender: relay-lists.gentoo.org@gentoo.org)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 1DEA0343153
	for <garchives@archives.gentoo.org>; Mon, 10 Mar 2025 22:43:45 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id 3F36D11037F;
	Mon, 10 Mar 2025 22:43:32 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by bobolink.gentoo.org (Postfix) with ESMTPS id 3741611037F
	for <gentoo-commits@lists.gentoo.org>; Mon, 10 Mar 2025 22:43:32 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id E6DDF3430C4
	for <gentoo-commits@lists.gentoo.org>; Mon, 10 Mar 2025 22:43:31 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 53C6E19A7
	for <gentoo-commits@lists.gentoo.org>; Mon, 10 Mar 2025 22:43:30 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1741646534.f495ff1bc8f3e33db6290c1eb0f4a07643469385.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/spirv-headers/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-util/spirv-headers/spirv-headers-1.4.304.0.ebuild
X-VCS-Directories: dev-util/spirv-headers/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: f495ff1bc8f3e33db6290c1eb0f4a07643469385
X-VCS-Branch: master
Date: Mon, 10 Mar 2025 22:43:30 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 361edad0-54d7-4126-a7b5-b397a8184af7
X-Archives-Hash: 8945b502906fe771b5d015d115248f13

commit:     f495ff1bc8f3e33db6290c1eb0f4a07643469385
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 10 22:42:14 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 10 22:42:14 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f495ff1b

dev-util/spirv-headers: restore 1.4.304.0

... as -r1 breaks reverse dependencies.

Bug: https://bugs.gentoo.org/950986
Bug: https://bugs.gentoo.org/951062
Bug: https://bugs.gentoo.org/951120
Bug: https://bugs.gentoo.org/951123
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../spirv-headers/spirv-headers-1.4.304.0.ebuild   | 30 ++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/dev-util/spirv-headers/spirv-headers-1.4.304.0.ebuild b/dev-util/spirv-headers/spirv-headers-1.4.304.0.ebuild
new file mode 100644
index 000000000000..da7dafa82b6d
--- /dev/null
+++ b/dev-util/spirv-headers/spirv-headers-1.4.304.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2025 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 ~sparc 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
+}