dev-util/glslang: add 1.4.304

Signed-off-by: Nick Sarnie <sarnex@gentoo.org>
This commit is contained in:
Nick Sarnie
2025-01-19 03:32:26 +09:00
parent 14291a3e79
commit 4ed2102a28
3 changed files with 44 additions and 2 deletions

View File

@@ -1,2 +1,3 @@
DIST glslang-1.3.290.0.tar.gz 3854382 BLAKE2B 02f781c318fe8ec47dae646c45ec6567e7cdd266ca8f8cacfd165fe29b5cd37b4d44f8b7b46d4b0175b2cb63ddc29d20652b27a78194c3922441744b45e5a8b3 SHA512 1dbea2d90864c02e4cd95eef0577bc7954a10608dffb19e49f803195153d082e67e71da4ba673dcd857d3c8e12628a9504385eaa3241f3f06c4de12cbdb3dc1e
DIST glslang-1.3.296.0.tar.gz 3868046 BLAKE2B c68b5e59e5490d2102d084a7d852a818c05eb0d496866796567a7606cb4685b378a4a15a0d2bc196c6ca035cd6f023ffdcf9a6e5cf0b450e340b5f4e97052793 SHA512 5c6ad0fc14c3a1d3282d692da77f2e155e7a9e5e84c89a3dbb3d64f9a0e5803c9db49085e05c6e2581f3448567ff35b85eff363047b67620bf153b7c02598af4
DIST glslang-1.4.304.0.tar.gz 3917406 BLAKE2B 6d5beec94c5daafe905dabd6a4031e1c010cc9b395c5d8a8b4fdafd265a076251519056236b8f98fff613f21a0af6d4a2562c4c3c8255731642a6b887f3c4d24 SHA512 dae98afbea27b518e6230ebae5207c67b4f1a695b8f65033159bcf0064ec6546c8db4f2d52bd028353c15e4d7d9409c1f7dffc589639bfd8ee07d98ea7c73b12

View File

@@ -0,0 +1,41 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
inherit cmake-multilib python-any-r1
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/KhronosGroup/${PN}.git"
inherit git-r3
else
GIT_COMMIT="vulkan-sdk-${PV}"
SRC_URI="https://github.com/KhronosGroup/${PN}/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
S="${WORKDIR}/${PN}-${GIT_COMMIT}"
fi
DESCRIPTION="Khronos reference front-end for GLSL and ESSL, and sample SPIR-V generator"
HOMEPAGE="https://www.khronos.org/opengles/sdk/tools/Reference-Compiler/ https://github.com/KhronosGroup/glslang"
LICENSE="BSD"
SLOT="0/15.1"
# Bug 698850
RESTRICT="test"
BDEPEND="${PYTHON_DEPS}
~dev-util/spirv-tools-${PV}[${MULTILIB_USEDEP}]
"
DEPEND="~dev-util/spirv-tools-${PV}[${MULTILIB_USEDEP}]"
RDEPEND="${DEPEND}"
multilib_src_configure() {
local mycmakeargs=(
-DENABLE_PCH=OFF
-DALLOW_EXTERNAL_SPIRV_TOOLS=ON
)
cmake_src_configure
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -20,7 +20,7 @@ DESCRIPTION="Khronos reference front-end for GLSL and ESSL, and sample SPIR-V ge
HOMEPAGE="https://www.khronos.org/opengles/sdk/tools/Reference-Compiler/ https://github.com/KhronosGroup/glslang"
LICENSE="BSD"
SLOT="0/15"
SLOT="0/15.1"
# Bug 698850
RESTRICT="test"