summaryrefslogtreecommitdiff
path: root/dev-util/glslang
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-04-03 08:13:59 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-04-03 08:13:59 +0100
commit2df2e0ebc717aa53904c920c1a361423dfc3a5f7 (patch)
treed81b257b3923100dc55a999dd12b2198a6d35b99 /dev-util/glslang
parent75abd8d3830449158bdd27f9c4701bcbadc55080 (diff)
gentoo auto-resync : 03:04:2024 - 08:13:58
Diffstat (limited to 'dev-util/glslang')
-rw-r--r--dev-util/glslang/Manifest4
-rw-r--r--dev-util/glslang/glslang-1.3.280.0.ebuild41
-rw-r--r--dev-util/glslang/glslang-9999.ebuild12
3 files changed, 50 insertions, 7 deletions
diff --git a/dev-util/glslang/Manifest b/dev-util/glslang/Manifest
index 3ea9e7fa35a7..1ca6d010777a 100644
--- a/dev-util/glslang/Manifest
+++ b/dev-util/glslang/Manifest
@@ -1,4 +1,6 @@
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
EBUILD glslang-1.3.275.ebuild 1079 BLAKE2B ee0c7ebac99e43d915b629e7da6019b2daee1b904f08bfe5c367a29ee9f150072f146aba9a61e944f0fc19582c3a75cdfadd3e97e642f26e2337b2ba8606cc54 SHA512 927c615322c940d790c964e7f6e8ba32da91baa1db9c7cb87211ba8ff0071ec94047db64a979246d458d5db5ebbf53fd8f1e5b7925acaae2bc901dea98b706b6
-EBUILD glslang-9999.ebuild 1091 BLAKE2B 49416e282ade462c6e38ff0bb831d9747a4ab29f5badb1c3eccdf5b470d1113c6c078bb6e9a2ad32390064bd62d2cdf42e7617847d92a6e109a5fac39b75c94c SHA512 4b962ff56d2cc94ea836ad0aa5a7f3d1c10fe76377f992ec992a95fc5259bfcc99c9f2486785005c89c9435400d19ce079bf09944fbfc847592c4727e071a80a
+EBUILD glslang-1.3.280.0.ebuild 1069 BLAKE2B ab05be0d073e6f11e6b41428ac7671336fe331796fa5860e1acfdbe8dbca7f5b6df0de1bc2d86cc231d0bc8b300cb9ea61d27d91127c42d3159543ebf8ea16c7 SHA512 6462f0d1d4d850023c75dab8c0f0c71ae9eeec7d8375ea2ad209ee801e77bab688fb8579327e6c56eb77fbc4317f5666d223de849e2beb336e079112666ee605
+EBUILD glslang-9999.ebuild 1069 BLAKE2B ab05be0d073e6f11e6b41428ac7671336fe331796fa5860e1acfdbe8dbca7f5b6df0de1bc2d86cc231d0bc8b300cb9ea61d27d91127c42d3159543ebf8ea16c7 SHA512 6462f0d1d4d850023c75dab8c0f0c71ae9eeec7d8375ea2ad209ee801e77bab688fb8579327e6c56eb77fbc4317f5666d223de849e2beb336e079112666ee605
MISC metadata.xml 330 BLAKE2B c3874bbe807a8dd1a55897feadfc0a89e4cb806441390ee7e7cc317f3b533a08338a669834122ede89cefd9b6532d789aece2c29fcc6cdfc7f76a81bf382192b SHA512 1c591a28214fb76334171e4a49c8ac302b6f174f265749ad005f2503df1312e8303c92a68248775ed3db98d65107471f9cfc8cfb758c89261f283711beaac764
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
+}
diff --git a/dev-util/glslang/glslang-9999.ebuild b/dev-util/glslang/glslang-9999.ebuild
index b67580989120..016cbd9bdeea 100644
--- a/dev-util/glslang/glslang-9999.ebuild
+++ b/dev-util/glslang/glslang-9999.ebuild
@@ -3,17 +3,17 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..12} )
+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
- SNAPSHOT_COMMIT="vulkan-sdk-${PV}.0"
- SRC_URI="https://github.com/KhronosGroup/${PN}/archive/${SNAPSHOT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ 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}-${SNAPSHOT_COMMIT}"
+ S="${WORKDIR}/${PN}-${GIT_COMMIT}"
fi
DESCRIPTION="Khronos reference front-end for GLSL and ESSL, and sample SPIR-V generator"
@@ -26,10 +26,10 @@ SLOT="0/14"
RESTRICT="test"
BDEPEND="${PYTHON_DEPS}
- ~dev-util/spirv-tools-99999999:=[${MULTILIB_USEDEP}]
+ ~dev-util/spirv-tools-${PV}:=[${MULTILIB_USEDEP}]
"
-DEPEND="~dev-util/spirv-tools-99999999:=[${MULTILIB_USEDEP}]"
+DEPEND="~dev-util/spirv-tools-${PV}:=[${MULTILIB_USEDEP}]"
RDEPEND="${DEPEND}"
multilib_src_configure() {