diff options
author | Nick Sarnie <sarnex@gentoo.org> | 2023-05-17 19:11:47 -0400 |
---|---|---|
committer | Nick Sarnie <sarnex@gentoo.org> | 2023-05-17 19:11:47 -0400 |
commit | add2287b66d1c8071020dd625d0b8f3cfadc1c4a (patch) | |
tree | 6bc120d8528d43a5901287470c0503f54e10430b /dev-util | |
parent | dev-util/spirv-tools: add 1.3.246 (diff) | |
download | gentoo-add2287b66d1c8071020dd625d0b8f3cfadc1c4a.tar.gz gentoo-add2287b66d1c8071020dd625d0b8f3cfadc1c4a.tar.bz2 gentoo-add2287b66d1c8071020dd625d0b8f3cfadc1c4a.zip |
dev-util/glslang: add 1.3.246
Signed-off-by: Nick Sarnie <sarnex@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/glslang/Manifest | 1 | ||||
-rw-r--r-- | dev-util/glslang/glslang-1.3.246.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-util/glslang/Manifest b/dev-util/glslang/Manifest index b46e8de18f9b..544a8a027a07 100644 --- a/dev-util/glslang/Manifest +++ b/dev-util/glslang/Manifest @@ -1,2 +1,3 @@ DIST glslang-1.3.239.tar.gz 3683945 BLAKE2B ffc690522814d7a28bea7168744d390a5a1c7e34e67f2037c72b2a040c8c48fbb9d46f37d74ea58b2bcf7621b0008498a9dd592da08e9e93037e3f45c5b920d6 SHA512 a7cd35c76dc4f3a4f2f1015e7495b87313472d7c766075256c0d2d0004f395f62d38d715675b49f13f66a12645175c421af4622129aeb588528397e92f51790b DIST glslang-1.3.243.tar.gz 3688482 BLAKE2B 4346d7a3524f16ef938e9bf2f3c184fb4b915b3adb1facb0297ddb1c4095a6d32dac35d4be0ad18918d80e2106db5bdd037e035efe613ec4b42ff1878f8bc653 SHA512 0febe5d4187970ebea3e28a323bc85da2ad24feee12390410fe817b363847409f00c1b7e8d4e88156443929eb9a616e6064bf73aa5f8914e71c01d985d6fc15c +DIST glslang-1.3.246.tar.gz 3688484 BLAKE2B 6013b0d8903a96344d6f77a50b8689a53429522b6793016378023d5f5179ed9116d10d19b02ccd7abbcf2d30e4864989ebcc3fbfc86110492f58dd283b7d42ea SHA512 92b1cb4d55cfbffb50eed094568d5fc78785b4d42967d3ce70c704135ddc1d75191c58809cfac99e81cf9e2735226606d3792b4a59ca5351fe8e412f5865b005 diff --git a/dev-util/glslang/glslang-1.3.246.ebuild b/dev-util/glslang/glslang-1.3.246.ebuild new file mode 100644 index 000000000000..c00807a5549c --- /dev/null +++ b/dev-util/glslang/glslang-1.3.246.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 +} |