mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 00:05:54 +03:00
dev-util/spirv-headers: add 1.4.328.0
Signed-off-by: Nick Sarnie <sarnex@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST spirv-headers-1.4.321.0.tar.gz 538412 BLAKE2B 65640250e4011323ddd44aad07ce7b6fab68808331b1e7a2fbed15542d099d6ba1353cd3b2c51c9f75deb55ee1e4dca9be766ae656721f6e3cf55191d76886cd SHA512 ea28714ba07d98e8a2baca482f9c483ae525f40d03aa7987b56c1561e1f0a2c66782b620b41fc8782c7cbb4979d5125c28a20f706a25909aacca6ebee184d467
|
||||
DIST spirv-headers-1.4.328.0.tar.gz 545592 BLAKE2B 403a901f3dbc567ae75124ee048c32ef910d68a64f97f9c9ce7e322b53daf52089f816538202104a98898582587453f364cab540fa3dd2257c533bbfb15e13ee SHA512 8b4f9a0f678184fbdc9a56831ecbbc83d561555bbac2b84df91e7a00f56e8905f1e107a9a497e98ae93b231b0789661110d0e247829da14e57edd14ee40ceea5
|
||||
|
||||
30
dev-util/spirv-headers/spirv-headers-1.4.328.0.ebuild
Normal file
30
dev-util/spirv-headers/spirv-headers-1.4.328.0.ebuild
Normal file
@@ -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="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~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
|
||||
}
|
||||
Reference in New Issue
Block a user