diff options
Diffstat (limited to 'dev-util/vulkan-headers')
-rw-r--r-- | dev-util/vulkan-headers/Manifest | 4 | ||||
-rw-r--r-- | dev-util/vulkan-headers/metadata.xml | 16 | ||||
-rw-r--r-- | dev-util/vulkan-headers/vulkan-headers-0_p20180526.ebuild | 30 | ||||
-rw-r--r-- | dev-util/vulkan-headers/vulkan-headers-9999.ebuild | 30 |
4 files changed, 80 insertions, 0 deletions
diff --git a/dev-util/vulkan-headers/Manifest b/dev-util/vulkan-headers/Manifest new file mode 100644 index 000000000000..26da4632dc52 --- /dev/null +++ b/dev-util/vulkan-headers/Manifest @@ -0,0 +1,4 @@ +DIST vulkan-headers-0_p20180526.tar.gz 451276 BLAKE2B 7090189d4620c32f80ee9ca2e515f3e563c5ab32d695d8a6f34396071fa54989e6048f42de54c32f28fe0a2ba5d18c2028be35793153acadaaa1377b8172787c SHA512 a6af6dbfcc5512b7a303dad3e9e31a0eb09559da94b71dfb0dc21494e66ac973f5349abdfde1e6ed5d02445f32e5d251070ce45bc73964bec51cb0ffc3930d55 +EBUILD vulkan-headers-0_p20180526.ebuild 858 BLAKE2B 8eadcfe957a20687759e68935626abb8e5652da92cd627ab932641c82c0c28387c3ff4d3a35cf941179cfdb85f8e6619413cc8f896bf0aa445f32603a8c31ee1 SHA512 bbd52551f0bd14cac8f57e5861efe8da1e8857a9c0e010e31556fc5f6fb42e21c79fcf595d4d9eaa14d24037e69b7000c9016b0db8b01134e280a76c588c2d7c +EBUILD vulkan-headers-9999.ebuild 858 BLAKE2B 8eadcfe957a20687759e68935626abb8e5652da92cd627ab932641c82c0c28387c3ff4d3a35cf941179cfdb85f8e6619413cc8f896bf0aa445f32603a8c31ee1 SHA512 bbd52551f0bd14cac8f57e5861efe8da1e8857a9c0e010e31556fc5f6fb42e21c79fcf595d4d9eaa14d24037e69b7000c9016b0db8b01134e280a76c588c2d7c +MISC metadata.xml 432 BLAKE2B e6c1f4f34e41862d3739bad772b910b21348dce97dbde38cc7fbc9cb42993a493881dd100a0c21be3615805f27d3987259233ae5830ef56e2d1dd928c285c09f SHA512 f4f93b16ad29f813a2c0397ec46c6decf7c9bdb3f4a376e1f24a29724c136feabd230d0558d37a502f2795f71c959833a662e6d2544a78704408b3be9be314fc diff --git a/dev-util/vulkan-headers/metadata.xml b/dev-util/vulkan-headers/metadata.xml new file mode 100644 index 000000000000..830c78812893 --- /dev/null +++ b/dev-util/vulkan-headers/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://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">KhronosGroup/Vulkan-Headers</remote-id> + </upstream> +</pkgmetadata> + diff --git a/dev-util/vulkan-headers/vulkan-headers-0_p20180526.ebuild b/dev-util/vulkan-headers/vulkan-headers-0_p20180526.ebuild new file mode 100644 index 000000000000..531392083dfb --- /dev/null +++ b/dev-util/vulkan-headers/vulkan-headers-0_p20180526.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/KhronosGroup/Vulkan-Headers.git" + inherit git-r3 +else + EGIT_COMMIT="a901a3edf256c1a1441433e77feac919fb8e5ed6" + KEYWORDS="~amd64" + SRC_URI="https://github.com/KhronosGroup/Vulkan-Headers/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/Vulkan-Headers-${EGIT_COMMIT}" +fi + +DESCRIPTION="Vulkan Header files and API registry" +HOMEPAGE="https://github.com/KhronosGroup/Vulkan-Headers" + +LICENSE="Apache-2.0" +SLOT="0" + +# Old packaging will cause file collisions +RDEPEND="!<=media-libs/vulkan-loader-1.1.70.0-r999" + +src_install() { + mkdir "include/vulkan/registry" || die + mv "registry/" "include/vulkan/" || die + insinto /usr/include/vulkan + doins -r include/vulkan/* +} diff --git a/dev-util/vulkan-headers/vulkan-headers-9999.ebuild b/dev-util/vulkan-headers/vulkan-headers-9999.ebuild new file mode 100644 index 000000000000..531392083dfb --- /dev/null +++ b/dev-util/vulkan-headers/vulkan-headers-9999.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/KhronosGroup/Vulkan-Headers.git" + inherit git-r3 +else + EGIT_COMMIT="a901a3edf256c1a1441433e77feac919fb8e5ed6" + KEYWORDS="~amd64" + SRC_URI="https://github.com/KhronosGroup/Vulkan-Headers/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/Vulkan-Headers-${EGIT_COMMIT}" +fi + +DESCRIPTION="Vulkan Header files and API registry" +HOMEPAGE="https://github.com/KhronosGroup/Vulkan-Headers" + +LICENSE="Apache-2.0" +SLOT="0" + +# Old packaging will cause file collisions +RDEPEND="!<=media-libs/vulkan-loader-1.1.70.0-r999" + +src_install() { + mkdir "include/vulkan/registry" || die + mv "registry/" "include/vulkan/" || die + insinto /usr/include/vulkan + doins -r include/vulkan/* +} |