diff options
author | Nick Sarnie <sarnex@gentoo.org> | 2018-05-26 18:40:21 -0400 |
---|---|---|
committer | Nick Sarnie <sarnex@gentoo.org> | 2018-05-26 18:58:21 -0400 |
commit | 04df882488ca386d0928759ab1878d15e4d12d46 (patch) | |
tree | bb1c50c4c496dad33b31859be432ac71112c1a8e | |
parent | net-vpn/openfortivpn: Version bump 1.7.0 (diff) | |
download | gentoo-04df882488ca386d0928759ab1878d15e4d12d46.tar.gz gentoo-04df882488ca386d0928759ab1878d15e4d12d46.tar.bz2 gentoo-04df882488ca386d0928759ab1878d15e4d12d46.zip |
dev-util/vulkan-headers: Initial version
Package-Manager: Portage-2.3.40, Repoman-2.3.9
-rw-r--r-- | dev-util/vulkan-headers/Manifest | 1 | ||||
-rw-r--r-- | dev-util/vulkan-headers/metadata.xml | 16 | ||||
-rw-r--r-- | dev-util/vulkan-headers/vulkan-headers-0_p20180526.ebuild | 27 | ||||
-rw-r--r-- | dev-util/vulkan-headers/vulkan-headers-9999.ebuild | 27 |
4 files changed, 71 insertions, 0 deletions
diff --git a/dev-util/vulkan-headers/Manifest b/dev-util/vulkan-headers/Manifest new file mode 100644 index 000000000000..15c4e47500f2 --- /dev/null +++ b/dev-util/vulkan-headers/Manifest @@ -0,0 +1 @@ +DIST vulkan-headers-0_p20180526.tar.gz 451276 BLAKE2B 7090189d4620c32f80ee9ca2e515f3e563c5ab32d695d8a6f34396071fa54989e6048f42de54c32f28fe0a2ba5d18c2028be35793153acadaaa1377b8172787c SHA512 a6af6dbfcc5512b7a303dad3e9e31a0eb09559da94b71dfb0dc21494e66ac973f5349abdfde1e6ed5d02445f32e5d251070ce45bc73964bec51cb0ffc3930d55 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..6ee6d098e650 --- /dev/null +++ b/dev-util/vulkan-headers/vulkan-headers-0_p20180526.ebuild @@ -0,0 +1,27 @@ +# 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" + +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..6ee6d098e650 --- /dev/null +++ b/dev-util/vulkan-headers/vulkan-headers-9999.ebuild @@ -0,0 +1,27 @@ +# 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" + +src_install() { + mkdir "include/vulkan/registry" || die + mv "registry/" "include/vulkan/" || die + insinto /usr/include/vulkan + doins -r include/vulkan/* +} |