diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2023-04-03 21:58:18 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2023-04-06 08:11:32 +0200 |
commit | e800480b54f3158792dde450bc1c8f68259ae334 (patch) | |
tree | 8aaa5a431ce4a09cd551e7c6995dc1a4b304124b /dev-util/glslang | |
parent | media-libs/vulkan-loader: add 1.3.243 (diff) | |
download | gentoo-e800480b54f3158792dde450bc1c8f68259ae334.tar.gz gentoo-e800480b54f3158792dde450bc1c8f68259ae334.tar.bz2 gentoo-e800480b54f3158792dde450bc1c8f68259ae334.zip |
dev-util/glslang: add 1.3.243
Signed-off-by: Conrad Kostecki <conikost@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.243.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-util/glslang/Manifest b/dev-util/glslang/Manifest index ec6d88290cbc..b46e8de18f9b 100644 --- a/dev-util/glslang/Manifest +++ b/dev-util/glslang/Manifest @@ -1 +1,2 @@ DIST glslang-1.3.239.tar.gz 3683945 BLAKE2B ffc690522814d7a28bea7168744d390a5a1c7e34e67f2037c72b2a040c8c48fbb9d46f37d74ea58b2bcf7621b0008498a9dd592da08e9e93037e3f45c5b920d6 SHA512 a7cd35c76dc4f3a4f2f1015e7495b87313472d7c766075256c0d2d0004f395f62d38d715675b49f13f66a12645175c421af4622129aeb588528397e92f51790b +DIST glslang-1.3.243.tar.gz 3688482 BLAKE2B 4346d7a3524f16ef938e9bf2f3c184fb4b915b3adb1facb0297ddb1c4095a6d32dac35d4be0ad18918d80e2106db5bdd037e035efe613ec4b42ff1878f8bc653 SHA512 0febe5d4187970ebea3e28a323bc85da2ad24feee12390410fe817b363847409f00c1b7e8d4e88156443929eb9a616e6064bf73aa5f8914e71c01d985d6fc15c diff --git a/dev-util/glslang/glslang-1.3.243.ebuild b/dev-util/glslang/glslang-1.3.243.ebuild new file mode 100644 index 000000000000..c00807a5549c --- /dev/null +++ b/dev-util/glslang/glslang-1.3.243.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +inherit cmake-multilib python-any-r1 + +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://github.com/KhronosGroup/${PN}.git" + inherit git-r3 +else + SNAPSHOT_COMMIT="sdk-${PV}.0" + SRC_URI="https://github.com/KhronosGroup/${PN}/archive/${SNAPSHOT_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" + S="${WORKDIR}/${PN}-${SNAPSHOT_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/12" + +# Bug 698850 +RESTRICT="test" + +BDEPEND="${PYTHON_DEPS}" + +PATCHES=( "${FILESDIR}/${PN}-1.3.236-Install-static-libs.patch" ) + +multilib_src_configure() { + local mycmakeargs=( + -DENABLE_PCH=OFF + ) + cmake_src_configure +} |