diff options
Diffstat (limited to 'dev-util/spirv-headers')
-rw-r--r-- | dev-util/spirv-headers/Manifest | 7 | ||||
-rw-r--r-- | dev-util/spirv-headers/files/spirv-headers-Get-rid-of-custom-target.patch | 25 | ||||
-rw-r--r-- | dev-util/spirv-headers/metadata.xml | 16 | ||||
-rw-r--r-- | dev-util/spirv-headers/spirv-headers-1.3.1_pre20180710.ebuild | 17 | ||||
-rw-r--r-- | dev-util/spirv-headers/spirv-headers-1.3.ebuild | 19 | ||||
-rw-r--r-- | dev-util/spirv-headers/spirv-headers-9999.ebuild | 14 |
6 files changed, 98 insertions, 0 deletions
diff --git a/dev-util/spirv-headers/Manifest b/dev-util/spirv-headers/Manifest new file mode 100644 index 000000000000..e70de086636c --- /dev/null +++ b/dev-util/spirv-headers/Manifest @@ -0,0 +1,7 @@ +AUX spirv-headers-Get-rid-of-custom-target.patch 765 BLAKE2B 83faa69afb1a9b60cd7166fdc9d80c207a8f086ac086ddef03c2697025215a1497d07dad28ac9cd7b9c269c4a8e74d684d10550b1f9858afafa3212a08261a52 SHA512 9386f1e5535df5eb1f30dbc053bf047a52f39b5a79c0a8c7c65add87128665e718a97b796f5ca8cdf1fcbeb51f713acb9d63d3ba7015619b20d15b7cddb48822 +DIST spirv-headers-1.3.1_pre20180710.tar.gz 281382 BLAKE2B 9e38c7779af97cae27c595f816d1e1cc99eb29e086dd4b6cb76cb4696f73f1e05f92f022b77639f5a80f517df75996fdbd10d7bb11cc6eccad8144a7b8b776d5 SHA512 5f0c174ea07dccefdd10242f5122e10b11f8975d2fb36f77975497050b10841fcb4a7f19d90c9ef5853a81dabc8d93b91621d07175a1cf3ab8ba7f6c16fe51fe +DIST spirv-headers-1.3.tar.gz 279415 BLAKE2B 77e36c02d072daa3aff7eceda53a5d6cd060564f494986a9a99c52d833330605e67c6f8ba2968d656b955f188da2c0bea18b11c834d11ed334f5c33eb14b4e9c SHA512 c612c4fcffefc3a277a9713712150c7e6b696eb676737b4968809784ef32c004820d9abd22389082203fc0853a87f920754b7c9b6b43d85131e750d09e267036 +EBUILD spirv-headers-1.3.1_pre20180710.ebuild 498 BLAKE2B 991fb177a5dfc150428d0dbaa50ef27a41aebbf445dc9aa9702b9976377f7ee40437999f1786561414c2b8c2a1436348cb1e82d7a6ae05bb371a35255a711af6 SHA512 e43a9fc792aff6fa5a1f07fff4c940d7829d31d80b3a9447a2da3e6a47157dd8d4777a51afbc8dd060c9b76e426fe4154cdf49d19e5a634935ac6ba7f6494d4f +EBUILD spirv-headers-1.3.ebuild 562 BLAKE2B b304f69a8b7445e00fb41e162b84256601db218f3a7efd1ea1938d3ee39738a011de48d5fb099b5b8bbabf05cebab6248f3ac33064535da32520d321b8eab8a1 SHA512 0239f7a19a7b9040c33f9b1d4641f7c2fa866c2e5673da98ed20981a8b79b8af3c061c21c2e127a83a58367b2b487d0ad968352c93686df92d1a1c1c6aba8421 +EBUILD spirv-headers-9999.ebuild 358 BLAKE2B 0121eaa0ea8a1706435efeb1e29f81f471774582c4fe3879b3e2cc0e7e36ddaed830e37526660e976bab9710307e57454d460c8fcac1c4e8b19c91ceaffd00db SHA512 c7f16a3613efcd0c34208e7016696c87c7a6ee7761bf4c153e2ef3c0e8ffae98e4f044edc780b24c387eb8521703e2f9900d17c584b4078bd0e84bf119cd6de4 +MISC metadata.xml 431 BLAKE2B 2a03bfd5ff92d23da598ab731032790658e828cfc16c1bb1bcaed0e8e8aeba5d76ca97d5b52f5433bae5391e5f50d2d1028c49689114da7d4fc9703e40f964d6 SHA512 a770e25b42892a5062dc35739c6776d1e8baa22ee4ac9c745b0283fdb3322ae4f6549693045f9125b6a604f4f103c34e52bc069c11f47394373400c522a877c5 diff --git a/dev-util/spirv-headers/files/spirv-headers-Get-rid-of-custom-target.patch b/dev-util/spirv-headers/files/spirv-headers-Get-rid-of-custom-target.patch new file mode 100644 index 000000000000..b1581f5417b6 --- /dev/null +++ b/dev-util/spirv-headers/files/spirv-headers-Get-rid-of-custom-target.patch @@ -0,0 +1,25 @@ +From c44560949ec78dd13fe1394bf2957e4fd5adec79 Mon Sep 17 00:00:00 2001 +From: Brian Evans <grknight@gentoo.org> +Date: Wed, 14 Mar 2018 20:00:22 -0400 +Subject: [PATCH] Get rid of custom target + +--- + CMakeLists.txt | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index a5bff17..bbc3ddc 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -45,7 +45,5 @@ project(SPIRV-Headers) + # 3. cmake --build . install-headers + + file(GLOB_RECURSE FILES include/spirv/*) +-add_custom_target(install-headers +- COMMAND cmake -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/include/spirv ${CMAKE_INSTALL_PREFIX}/include/spirv) +- ++INSTALL(DIRECTORY include/spirv/ DESTINATION include/spirv) + add_subdirectory(example) +-- +2.16.2 + diff --git a/dev-util/spirv-headers/metadata.xml b/dev-util/spirv-headers/metadata.xml new file mode 100644 index 000000000000..e0db081821a3 --- /dev/null +++ b/dev-util/spirv-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/SPIRV-Headers</remote-id> + </upstream> +</pkgmetadata> + diff --git a/dev-util/spirv-headers/spirv-headers-1.3.1_pre20180710.ebuild b/dev-util/spirv-headers/spirv-headers-1.3.1_pre20180710.ebuild new file mode 100644 index 000000000000..c3de1e2ba586 --- /dev/null +++ b/dev-util/spirv-headers/spirv-headers-1.3.1_pre20180710.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Machine-readable files for the SPIR-V Registry" +HOMEPAGE="https://www.khronos.org/registry/spir-v/" +EGIT_COMMIT="ff684ffc6a35d2a58f0f63108877d0064ea33feb" +SRC_URI="https://github.com/KhronosGroup/SPIRV-Headers/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +S="${WORKDIR}/SPIRV-Headers-${EGIT_COMMIT}" diff --git a/dev-util/spirv-headers/spirv-headers-1.3.ebuild b/dev-util/spirv-headers/spirv-headers-1.3.ebuild new file mode 100644 index 000000000000..4edaed9c09ae --- /dev/null +++ b/dev-util/spirv-headers/spirv-headers-1.3.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Machine-readable files for the SPIR-V Registry" +HOMEPAGE="https://www.khronos.org/registry/spir-v/" +EGIT_COMMIT="02ffc719aa9f9c1dce5ce05743fb1afe6cbf17ea" +SRC_URI="https://github.com/KhronosGroup/SPIRV-Headers/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +PATCHES=( "${FILESDIR}"/${PN}-Get-rid-of-custom-target.patch ) + +S="${WORKDIR}/SPIRV-Headers-${EGIT_COMMIT}" diff --git a/dev-util/spirv-headers/spirv-headers-9999.ebuild b/dev-util/spirv-headers/spirv-headers-9999.ebuild new file mode 100644 index 000000000000..f5feb0b4bbd9 --- /dev/null +++ b/dev-util/spirv-headers/spirv-headers-9999.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils git-r3 + +DESCRIPTION="Machine-readable files for the SPIR-V Registry" +HOMEPAGE="https://www.khronos.org/registry/spir-v/" +EGIT_REPO_URI="https://github.com/KhronosGroup/SPIRV-Headers.git" +SRC_URI="" + +LICENSE="MIT" +SLOT="0" |