summaryrefslogtreecommitdiff
path: root/dev-util/vulkan-utility-libraries
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-19 07:53:50 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-19 07:53:50 +0000
commit32b8124b0a5827960601f2183a970103b3d231b7 (patch)
treefebd1cb81d2417f5452d0e21f81d06663f12caa3 /dev-util/vulkan-utility-libraries
parent89e7f1cd6dd17f245898939477ef38d45dd112b9 (diff)
gentoo auto-resync : 19:12:2023 - 07:53:49
Diffstat (limited to 'dev-util/vulkan-utility-libraries')
-rw-r--r--dev-util/vulkan-utility-libraries/Manifest3
-rw-r--r--dev-util/vulkan-utility-libraries/vulkan-utility-libraries-1.3.268-r1.ebuild42
-rw-r--r--dev-util/vulkan-utility-libraries/vulkan-utility-libraries-9999.ebuild17
3 files changed, 59 insertions, 3 deletions
diff --git a/dev-util/vulkan-utility-libraries/Manifest b/dev-util/vulkan-utility-libraries/Manifest
index 201c292d4658..2b4f12e28967 100644
--- a/dev-util/vulkan-utility-libraries/Manifest
+++ b/dev-util/vulkan-utility-libraries/Manifest
@@ -1,4 +1,5 @@
DIST vulkan-utility-libraries-1.3.268.tar.gz 165464 BLAKE2B da08853b6be3e53b79b3e7e22a34dc2b8decc1bb67a6dfef79af4fca829f9989b04dadcbf7910834d1fde8beadb17b64fb3be928c4e1b3856626eb1fd0f96d32 SHA512 4bcb3f5f9a1567427675c5186a04c9d152b791989aaaba5f43a46cc8db7a8ab08626d5f9a101234b595fe283aa493655e26a521c17cf28752d30437d896fce40
+EBUILD vulkan-utility-libraries-1.3.268-r1.ebuild 1044 BLAKE2B 107a14b1a682437596b8db2bbd9234b72b9f7930a063ef020119a1397136c8c94a7cfbac9f970f18bbb1abf3ad23b75c05ed0adf601eb992481bd82c947a8006 SHA512 2983f300083ea94c95af463b90e6f7db9dd947892b40b3dcad6e91791f7b47395f0b6c48b1dfd55d17289e9b2b1073e463f660398335c5a251af09fdce03591f
EBUILD vulkan-utility-libraries-1.3.268.ebuild 848 BLAKE2B cea0510a2aef1499a2ae9687e9247283d8fa21febfca55b67637edc981d6496a5129d2be34dac0847eb39c36f405aae452bc7a6340ed26b568aeb6b784904024 SHA512 bf8e4afdf5572edb3f489831eae3a0e7b3ac176d82b640884c93b014c6cfa749bc22f654e1822180b23e89a194c9a0f58bd330b593216a33b118675fb1083211
-EBUILD vulkan-utility-libraries-9999.ebuild 818 BLAKE2B 09d1904d510d2f2835163c1839a582a85f0ee9ad0d80306acbca5a850f6c94d48fb301dd1b433e35e48e1528c64930c76ad5b37ac3773709a48c431500d212aa SHA512 715eda94e6da9b88d0918d93efcbeb5f21bf829beb25e2224dbdab8baf390279c9c80533dda926a8b117d6c46e02b8bee4c1a43b69e0d018278063dd12481cdb
+EBUILD vulkan-utility-libraries-9999.ebuild 1061 BLAKE2B dc39c9481f86588c0225f66fa285202d598ee5d054d0ac1622cabaf0e873c02d755be26e04d2fcc21a1562e9e64556166286a131499ec35932262ff914b681ab SHA512 ca4837d740385b668acf7173507556afe23067c3cb8b94be0b141edaff5b00f493b2cee9588f0ade4870293c1f3dff33cbc4bbfc3a0241523886b22f73e5d16d
MISC metadata.xml 442 BLAKE2B cd315d7e91cf05f2d05be32c171ef6145e818f9868d17886cc7b5a2cb5e5fb8d58961414f585b15ca6c9d989244c0004c366d022464bd3b3b70ea451a2b67c7d SHA512 3e059e27de852aa76dbfdcc3dac69f0f472f496c64e1ca2a9053799f090b9091800e397a92012b7e546fa8240702546a5ca0dd6b2be6cfee356f539e73439c94
diff --git a/dev-util/vulkan-utility-libraries/vulkan-utility-libraries-1.3.268-r1.ebuild b/dev-util/vulkan-utility-libraries/vulkan-utility-libraries-1.3.268-r1.ebuild
new file mode 100644
index 000000000000..9aa859a65161
--- /dev/null
+++ b/dev-util/vulkan-utility-libraries/vulkan-utility-libraries-1.3.268-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2023 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 ~arm64 ~ppc64 ~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
+}
diff --git a/dev-util/vulkan-utility-libraries/vulkan-utility-libraries-9999.ebuild b/dev-util/vulkan-utility-libraries/vulkan-utility-libraries-9999.ebuild
index b52a395a5133..01ec80c07d15 100644
--- a/dev-util/vulkan-utility-libraries/vulkan-utility-libraries-9999.ebuild
+++ b/dev-util/vulkan-utility-libraries/vulkan-utility-libraries-9999.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == *9999* ]]; then
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"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
S="${WORKDIR}"/${MY_PN}-${EGIT_COMMIT}
fi
@@ -23,7 +23,20 @@ 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}"
+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
+}