summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Sarnie <sarnex@gentoo.org>2024-01-17 19:03:15 -0500
committerNick Sarnie <sarnex@gentoo.org>2024-01-17 19:32:37 -0500
commit528d633654ed2a7f502485501bd90c9f83ab2e1c (patch)
treecb8e635f43d0ec4f5b3c22c77e99be5dc630c163 /dev-util
parentdev-util/vulkan-headers: add 1.3.275 (diff)
downloadgentoo-528d633654ed2a7f502485501bd90c9f83ab2e1c.tar.gz
gentoo-528d633654ed2a7f502485501bd90c9f83ab2e1c.tar.bz2
gentoo-528d633654ed2a7f502485501bd90c9f83ab2e1c.zip
dev-util/vulkan-utility-libraries: add 1.3.275
Signed-off-by: Nick Sarnie <sarnex@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/vulkan-utility-libraries/Manifest1
-rw-r--r--dev-util/vulkan-utility-libraries/vulkan-utility-libraries-1.3.275.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-util/vulkan-utility-libraries/Manifest b/dev-util/vulkan-utility-libraries/Manifest
index be53945f1d96..0436c2428a1c 100644
--- a/dev-util/vulkan-utility-libraries/Manifest
+++ b/dev-util/vulkan-utility-libraries/Manifest
@@ -1 +1,2 @@
DIST vulkan-utility-libraries-1.3.268.tar.gz 165464 BLAKE2B da08853b6be3e53b79b3e7e22a34dc2b8decc1bb67a6dfef79af4fca829f9989b04dadcbf7910834d1fde8beadb17b64fb3be928c4e1b3856626eb1fd0f96d32 SHA512 4bcb3f5f9a1567427675c5186a04c9d152b791989aaaba5f43a46cc8db7a8ab08626d5f9a101234b595fe283aa493655e26a521c17cf28752d30437d896fce40
+DIST vulkan-utility-libraries-1.3.275.tar.gz 167313 BLAKE2B 5ee970f7c3472f696df4a9483fe057ef63f671d2299a51164d01f0e625f11ece11ada7ea4493af3795cd4fe8f6c9d84049dd5bf235c425e311b02abaf77264f3 SHA512 113be0cc1b7c3f7cce8c8cfe2459ed36e5b906e55b34f03ce1c211889a9a5a9539d2fa608919e8506e372c3bca521a23cdd1c20d4834e7914696dce33a95fc71
diff --git a/dev-util/vulkan-utility-libraries/vulkan-utility-libraries-1.3.275.ebuild b/dev-util/vulkan-utility-libraries/vulkan-utility-libraries-1.3.275.ebuild
new file mode 100644
index 000000000000..6e0230c1bb1f
--- /dev/null
+++ b/dev-util/vulkan-utility-libraries/vulkan-utility-libraries-1.3.275.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN=Vulkan-Utility-Libraries
+PYTHON_COMPAT=( python3_{9..12} )
+PYTHON_REQ_USE="xml(+)"
+inherit cmake-multilib python-any-r1
+
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/KhronosGroup/${MY_PN}.git"
+ inherit git-r3
+else
+ EGIT_COMMIT="vulkan-sdk-${PV}.0"
+ SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+ S="${WORKDIR}"/${MY_PN}-${EGIT_COMMIT}
+fi
+
+DESCRIPTION="Share code across various Vulkan repositories"
+HOMEPAGE="https://github.com/KhronosGroup/Vulkan-Utility-Libraries"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="~dev-util/vulkan-headers-${PV}
+ test? (
+ dev-cpp/gtest
+ >=dev-cpp/magic_enum-0.9.2
+ )"
+RDEPEND="!<media-libs/vulkan-layers-1.3.268"
+BDEPEND="${PYTHON_DEPS}"
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTS=$(usex test ON OFF)
+ )
+ cmake_src_configure
+}