diff options
author | Nick Sarnie <sarnex@gentoo.org> | 2024-01-17 19:18:54 -0500 |
---|---|---|
committer | Nick Sarnie <sarnex@gentoo.org> | 2024-01-17 19:32:47 -0500 |
commit | bc631802acccd926a34196d321ed5bf0e9a282ee (patch) | |
tree | 501e32dd898b77eb4b6a441f334e8abc5aaaa17a /dev-util/volk | |
parent | media-libs/vulkan-loader: add 1.3.275 (diff) | |
download | gentoo-bc631802acccd926a34196d321ed5bf0e9a282ee.tar.gz gentoo-bc631802acccd926a34196d321ed5bf0e9a282ee.tar.bz2 gentoo-bc631802acccd926a34196d321ed5bf0e9a282ee.zip |
dev-util/volk: new package, add 1.3.275, 9999
Signed-off-by: Nick Sarnie <sarnex@gentoo.org>
Diffstat (limited to 'dev-util/volk')
-rw-r--r-- | dev-util/volk/Manifest | 1 | ||||
-rw-r--r-- | dev-util/volk/metadata.xml | 15 | ||||
-rw-r--r-- | dev-util/volk/volk-1.3.275.ebuild | 33 | ||||
-rw-r--r-- | dev-util/volk/volk-9999.ebuild | 33 |
4 files changed, 82 insertions, 0 deletions
diff --git a/dev-util/volk/Manifest b/dev-util/volk/Manifest new file mode 100644 index 000000000000..7310e58a7062 --- /dev/null +++ b/dev-util/volk/Manifest @@ -0,0 +1 @@ +DIST volk-1.3.275.tar.gz 60941 BLAKE2B 7d7aa1a23642bbef9354a37c714e98c96014f6854469348a862c9a3c11d2a56a2da0e573921fd40e9054eadfa83463f90b1c67fddb7f06f2d0279574a1cbbd1f SHA512 7f871b5f35d57c4c93296ab5cc96c7d732a63e8f6f60fe9396cdf8b27fc2cc5954e078c35b3cd6701111fc1dd96ecdfdda6a84229b9850ff4db63afcd32c6fe6 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..19f3e32a2b35 --- /dev/null +++ b/dev-util/volk/volk-1.3.275.ebuild @@ -0,0 +1,33 @@ +# 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}" + +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..19f3e32a2b35 --- /dev/null +++ b/dev-util/volk/volk-9999.ebuild @@ -0,0 +1,33 @@ +# 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}" + +multilib_src_configure() { + local mycmakeargs=( + -DVOLK_INSTALL=on + ) + cmake_src_configure +} |