diff options
author | Matt Turner <mattst88@gentoo.org> | 2024-04-02 21:39:55 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2024-04-02 21:52:04 -0400 |
commit | 096ab89c8a2cc956134e16a1e9cf23b81a32c116 (patch) | |
tree | 686ea49985a28d7cbc94cc25cce22d5024964b69 /dev-util/glslang | |
parent | dev-util/glslang: Synchronize live ebuild (diff) | |
download | gentoo-096ab89c8a2cc956134e16a1e9cf23b81a32c116.tar.gz gentoo-096ab89c8a2cc956134e16a1e9cf23b81a32c116.tar.bz2 gentoo-096ab89c8a2cc956134e16a1e9cf23b81a32c116.zip |
dev-util/glslang: Version bump to 1.3.280.0
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-util/glslang')
-rw-r--r-- | dev-util/glslang/Manifest | 1 | ||||
-rw-r--r-- | dev-util/glslang/glslang-1.3.280.0.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-util/glslang/Manifest b/dev-util/glslang/Manifest index 017e4df7b206..514c0d0b32eb 100644 --- a/dev-util/glslang/Manifest +++ b/dev-util/glslang/Manifest @@ -1 +1,2 @@ DIST glslang-1.3.275.tar.gz 3773036 BLAKE2B 6bb30d6972fd64a9acde4b4c22e3db48d77c49a885efc47208c1c5a641d1e01d687b016ada94c89da6c48c735394023bd3efea5d77108d0fed9ab0b4fa92adfe SHA512 0c06b07e2424a24dc6b87eb1e76d866bb8d72d632e874e6f100140e24f3a5f562e66b275673677165ee8c7f7c619d09cb272bcd528be6801c7c1702a100b0f4a +DIST glslang-1.3.280.0.tar.gz 3838078 BLAKE2B c7ef723bce20763850847481f9dde44e85f1b59191889da514e5426cea41db3d7009af8de7946dc0d6c0670c9381ab5bf9f744bc2b0759b22c02420d34e6f695 SHA512 021e563fa6dda3110ba280ac679957934962d386648b215720fbff3b4beb8468494dc7c7db11f1a18fee93d301c102540480364b1e0b24d8035fc774d11b8fe8 diff --git a/dev-util/glslang/glslang-1.3.280.0.ebuild b/dev-util/glslang/glslang-1.3.280.0.ebuild new file mode 100644 index 000000000000..016cbd9bdeea --- /dev/null +++ b/dev-util/glslang/glslang-1.3.280.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +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/14" + +# 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 +} |