summaryrefslogtreecommitdiff
path: root/dev-util/volk
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-18 02:07:06 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-18 02:07:06 +0000
commit942c9977e0273ee6c6bd3f9822263aaeab1b69a5 (patch)
treec97c65b9c779e9ea627240e8d9cb779daf5cb858 /dev-util/volk
parent08c5e4df7a4b66ba8dbb827ca2e3a973d4f19ab0 (diff)
gentoo auto-resync : 18:01:2024 - 02:07:06
Diffstat (limited to 'dev-util/volk')
-rw-r--r--dev-util/volk/Manifest4
-rw-r--r--dev-util/volk/metadata.xml15
-rw-r--r--dev-util/volk/volk-1.3.275.ebuild34
-rw-r--r--dev-util/volk/volk-9999.ebuild34
4 files changed, 87 insertions, 0 deletions
diff --git a/dev-util/volk/Manifest b/dev-util/volk/Manifest
new file mode 100644
index 000000000000..f45a3f18d47f
--- /dev/null
+++ b/dev-util/volk/Manifest
@@ -0,0 +1,4 @@
+DIST volk-1.3.275.tar.gz 60941 BLAKE2B 7d7aa1a23642bbef9354a37c714e98c96014f6854469348a862c9a3c11d2a56a2da0e573921fd40e9054eadfa83463f90b1c67fddb7f06f2d0279574a1cbbd1f SHA512 7f871b5f35d57c4c93296ab5cc96c7d732a63e8f6f60fe9396cdf8b27fc2cc5954e078c35b3cd6701111fc1dd96ecdfdda6a84229b9850ff4db63afcd32c6fe6
+EBUILD volk-1.3.275.ebuild 729 BLAKE2B 6aed2ba745e0afe4a30c9cdaf15373679a602c2c2f4fa2f5803477947c7b788dad353612d81a5ed4ff9bf0e8a09d9f557fa9b1804eb74e32effd1077a572d683 SHA512 ad66f2fe34310e733768b3d9f047449ae8db3fcf063539bb249ca177a26a4fea7e97e6f972d89535602b9c53314371184790a6095c6648b444ff4d661cdc85ab
+EBUILD volk-9999.ebuild 729 BLAKE2B 6aed2ba745e0afe4a30c9cdaf15373679a602c2c2f4fa2f5803477947c7b788dad353612d81a5ed4ff9bf0e8a09d9f557fa9b1804eb74e32effd1077a572d683 SHA512 ad66f2fe34310e733768b3d9f047449ae8db3fcf063539bb249ca177a26a4fea7e97e6f972d89535602b9c53314371184790a6095c6648b444ff4d661cdc85ab
+MISC metadata.xml 414 BLAKE2B 90b89b8f8cbc812c68d865df6379c29414f3a329ab31c5e56869d585570125835ae0961dae037bde864562bbb2f78736f0e023a3fad5757690b27d382ca7c7bf SHA512 2add3d201004761e26d8a05f878f221f350daaa6c804fabb856ea423d7fd8ae5a8da49f23c7a402b49db9ec19096736a88b4faf1d6ec44bfc49d769d8ab2bb93
diff --git a/dev-util/volk/metadata.xml b/dev-util/volk/metadata.xml
new file mode 100644
index 000000000000..ff3703fcf01c
--- /dev/null
+++ b/dev-util/volk/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>x11@gentoo.org</email>
+ <name>X11</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>sarnex@gentoo.org</email>
+ <name>Nick Sarnie</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">zeux/volk</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-util/volk/volk-1.3.275.ebuild b/dev-util/volk/volk-1.3.275.ebuild
new file mode 100644
index 000000000000..f6a798a3f770
--- /dev/null
+++ b/dev-util/volk/volk-1.3.275.ebuild
@@ -0,0 +1,34 @@
+# 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"
+ 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 )"
+
+DEPEND="~dev-util/vulkan-headers-${PV}
+ ~media-libs/vulkan-loader-${PV}"
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DVOLK_INSTALL=on
+ )
+ cmake_src_configure
+}
diff --git a/dev-util/volk/volk-9999.ebuild b/dev-util/volk/volk-9999.ebuild
new file mode 100644
index 000000000000..f6a798a3f770
--- /dev/null
+++ b/dev-util/volk/volk-9999.ebuild
@@ -0,0 +1,34 @@
+# 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"
+ 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 )"
+
+DEPEND="~dev-util/vulkan-headers-${PV}
+ ~media-libs/vulkan-loader-${PV}"
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DVOLK_INSTALL=on
+ )
+ cmake_src_configure
+}