repo/gentoo:master commit in: media-libs/vulkan-loader/

"Nick Sarnie" <[email protected]>
Newsgroups gmane.linux.gentoo.cvs
Message-ID <1786105466.b0ca1efaaf5a1684a4833ac6fc848fd2acaff840.sarnex@gentoo>
commit:     b0ca1efaaf5a1684a4833ac6fc848fd2acaff840
Author:     Nick Sarnie <sarnex <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  7 12:12:32 2026 +0000
Commit:     Nick Sarnie <sarnex <AT> gentoo <DOT> org>
CommitDate: Fri Aug  7 12:24:26 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0ca1efa

media-libs/vulkan-loader: add 1.4.357.0

Signed-off-by: Nick Sarnie <sarnex <AT> gentoo.org>

 media-libs/vulkan-loader/Manifest                  |  1 +
 .../vulkan-loader/vulkan-loader-1.4.357.0.ebuild   | 66 ++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/media-libs/vulkan-loader/Manifest b/media-libs/vulkan-loader/Manifest
index 897df9336bc4..c1dbf61252be 100644
--- a/media-libs/vulkan-loader/Manifest
+++ b/media-libs/vulkan-loader/Manifest
@@ -2,3 +2,4 @@ DIST vulkan-loader-1.4.328.0.tar.gz 1769166 BLAKE2B 9d7687de18059361abe87f34fb67
 DIST vulkan-loader-1.4.335.0.tar.gz 1793888 BLAKE2B c9bb72147c839ded1250b40a7c2b285c3b41aa9b9332fa1e91759fc7966c7d1f5be9c1805d55fd31c97f68b4a6f9346f3f57323a04b62c3a0262158fd00e176e SHA512 91d9883e05eaeec8d800b8eb7f5e457c62554ded3b470bc1b0cdb979863819f01c0c02b2ba7c1dd3031a05c90152960a680b237d3570826a8615b25aa57bd061
 DIST vulkan-loader-1.4.341.0.tar.gz 1793677 BLAKE2B f41c8975bdede9cf3c527293dbf4ef21f7228b72719916abda55ad39063f413c3814183d3fa5b532c167e5e5d5fcc0dcd3fd6f557f7946bf2e605a444db2a2c5 SHA512 37492473268fbedb8d099a03bdd575f49798c34b3e6647736e271ffa584aeb865e0a227e48d5a45fcdbf217909bc78bfda6ee7288836e556553f853305e3627c
 DIST vulkan-loader-1.4.350.0.tar.gz 1800025 BLAKE2B 14d370c4a53def72bfc017966d91594bd9fbbc636d50185c873f571287eb731ec0770687edf3feb0da9c2b3e1a79d06bd84612287b90e2cb5f7589a80276d65a SHA512 5d9829bed6e166b598e6769b6263c0d0408ba578c3e99b460e1ca2a5b13bd0ea38f315953f6ad74567fbd7025143050704b87e2ea11e6689c41675220e115ce1
+DIST vulkan-loader-1.4.357.0.tar.gz 1820868 BLAKE2B e70b04e567b71b61927116ca771822605ccfa8b6c7f1d6ec0b5aadd45045ba1a8e5fe6ad7181f5964c98fec96f24a3e04d12dace925d66e59d1b2dd5eafa29a0 SHA512 3376ce1be08ec4f453d6674118cc5e59d07ba7c7ec135f3cdd4d6820fa26bf4ef5e176ac9ade4413d25d90b4828060a1d0e0c1c2a7b4bec3118d70cdd61e6bfa

diff --git a/media-libs/vulkan-loader/vulkan-loader-1.4.357.0.ebuild b/media-libs/vulkan-loader/vulkan-loader-1.4.357.0.ebuild
new file mode 100644
index 000000000000..1ecd9b798e50
--- /dev/null
+++ b/media-libs/vulkan-loader/vulkan-loader-1.4.357.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN=Vulkan-Loader
+inherit flag-o-matic cmake-multilib toolchain-funcs
+
+if [[ ${PV} == *9999* ]]; then
+	EGIT_REPO_URI="https://github.com/KhronosGroup/${MY_PN}.git"
+	EGIT_SUBMODULES=()
+	inherit git-r3
+else
+	SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/vulkan-sdk-${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+	S="${WORKDIR}"/${MY_PN}-vulkan-sdk-${PV}
+fi
+
+DESCRIPTION="Vulkan Installable Client Driver (ICD) Loader"
+HOMEPAGE="https://github.com/KhronosGroup/Vulkan-Loader"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="wayland X"
+
+DEPEND="
+	~dev-util/vulkan-headers-${PV}
+	wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] )
+	X? (
+		x11-base/xorg-proto
+		x11-libs/libX11:=[${MULTILIB_USEDEP}]
+		x11-libs/libXrandr:=[${MULTILIB_USEDEP}]
+	)
+"
+
+multilib_src_configure() {
+	# Integrated clang assembler doesn't work with x86 - Bug #698164
+	if tc-is-clang && [[ ${ABI} == x86 ]]; then
+		append-cflags -fno-integrated-as
+	fi
+
+	local mycmakeargs=(
+		-DCMAKE_C_FLAGS="${CFLAGS} -DNDEBUG"
+		-DCMAKE_CXX_FLAGS="${CXXFLAGS} -DNDEBUG"
+		-DCMAKE_SKIP_RPATH=ON
+		-DBUILD_TESTS=OFF
+		-DBUILD_WSI_WAYLAND_SUPPORT=$(usex wayland)
+		-DBUILD_WSI_XCB_SUPPORT=$(usex X)
+		-DBUILD_WSI_XLIB_SUPPORT=$(usex X)
+		-DVULKAN_HEADERS_INSTALL_DIR="${ESYSROOT}/usr"
+		-DGIT_EXECUTABLE="${BROOT}/usr/bin/git"
+	)
+
+	if tc-is-cross-compiler; then
+		# Python only needed when cross-compiling so don't bother with eclass.
+		mycmakeargs+=( -DPython3_EXECUTABLE="${BROOT}/usr/bin/python3" )
+	fi
+
+	cmake_src_configure
+}
+
+multilib_src_install() {
+	keepdir /etc/vulkan/icd.d
+
+	cmake_src_install
+}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.