summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/volk')
-rw-r--r--dev-util/volk/Manifest1
-rw-r--r--dev-util/volk/volk-1.3.283.0.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-util/volk/Manifest b/dev-util/volk/Manifest
index df15dc8d1f30..d80dd9c4fedd 100644
--- a/dev-util/volk/Manifest
+++ b/dev-util/volk/Manifest
@@ -1,2 +1,3 @@
DIST volk-1.3.275.tar.gz 60941 BLAKE2B 7d7aa1a23642bbef9354a37c714e98c96014f6854469348a862c9a3c11d2a56a2da0e573921fd40e9054eadfa83463f90b1c67fddb7f06f2d0279574a1cbbd1f SHA512 7f871b5f35d57c4c93296ab5cc96c7d732a63e8f6f60fe9396cdf8b27fc2cc5954e078c35b3cd6701111fc1dd96ecdfdda6a84229b9850ff4db63afcd32c6fe6
DIST volk-1.3.280.0.tar.gz 62436 BLAKE2B ec42a320c321cfc8aeb8e9e212dd60695fc1723eca9d9d06da7ebf48c7a472f87fdd1b396b4072be3792ac634f27cd1299b61455e4c50d92dacb2e848dc8ffdf SHA512 4bec4ad34eb46e5e5c8a7701d162a9ffeb7cdc05d211c1199c9e5cf67525e0e2a7f106c47bc3ac621c51e1acc7f4d64833b6b31055721602220ceb668aed4aac
+DIST volk-1.3.283.0.tar.gz 62563 BLAKE2B 08e7b1f442970a51b2a621e0eb0e0fc0b52a814aacfbb6e1bfbd670b9b1c2de043043620ac682e53bd1bde4436760cfa4ea32aadc5f24ab6631733e370ed57fd SHA512 c3c69bfd899bab6b6447534b0c7c82392679c903a5ed2cabd7506ccd96135f332735888f6e2fa71787f6c1eec930bd51aa014db84955d51b5f068af95dcaec4d
diff --git a/dev-util/volk/volk-1.3.283.0.ebuild b/dev-util/volk/volk-1.3.283.0.ebuild
new file mode 100644
index 000000000000..dfe258834e94
--- /dev/null
+++ b/dev-util/volk/volk-1.3.283.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib
+
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/zeux/volk.git"
+ inherit git-r3
+else
+ EGIT_COMMIT="vulkan-sdk-${PV}"
+ SRC_URI="https://github.com/zeux/volk/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv"
+ S="${WORKDIR}"/${PN}-${EGIT_COMMIT}
+fi
+
+DESCRIPTION="Meta loader for Vulkan API"
+HOMEPAGE="https://github.com/zeux/volk"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="~media-libs/vulkan-loader-${PV}:=[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}
+ ~dev-util/vulkan-headers-${PV}
+"
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DVOLK_INSTALL=on
+ )
+ cmake_src_configure
+}