diff options
author | Nick Sarnie <commendsarnex@gmail.com> | 2018-03-12 21:07:30 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2018-03-23 16:36:11 -0700 |
commit | 606f54a26320da2c5c2ed6f0cbc0ecdefd320762 (patch) | |
tree | 3a729b7b08b5ff4f404eb1d5e3eb4a98ecb1a44f /dev-util | |
parent | dev-python/pyzor: new revision to fix some open bugs. (diff) | |
download | gentoo-606f54a26320da2c5c2ed6f0cbc0ecdefd320762.tar.gz gentoo-606f54a26320da2c5c2ed6f0cbc0ecdefd320762.tar.bz2 gentoo-606f54a26320da2c5c2ed6f0cbc0ecdefd320762.zip |
dev-util/spirv-headers: Initial versions
Signed-off-by: Nick Sarnie <commendsarnex@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/7438
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/spirv-headers/Manifest | 1 | ||||
-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.ebuild | 19 | ||||
-rw-r--r-- | dev-util/spirv-headers/spirv-headers-9999.ebuild | 16 |
5 files changed, 77 insertions, 0 deletions
diff --git a/dev-util/spirv-headers/Manifest b/dev-util/spirv-headers/Manifest new file mode 100644 index 000000000000..2bf7f1c55ec8 --- /dev/null +++ b/dev-util/spirv-headers/Manifest @@ -0,0 +1 @@ +DIST spirv-headers-1.3.tar.gz 279415 BLAKE2B 77e36c02d072daa3aff7eceda53a5d6cd060564f494986a9a99c52d833330605e67c6f8ba2968d656b955f188da2c0bea18b11c834d11ed334f5c33eb14b4e9c SHA512 c612c4fcffefc3a277a9713712150c7e6b696eb676737b4968809784ef32c004820d9abd22389082203fc0853a87f920754b7c9b6b43d85131e750d09e267036 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..dd3d561acca5 --- /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>commendsarnex@gmail.com</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.ebuild b/dev-util/spirv-headers/spirv-headers-1.3.ebuild new file mode 100644 index 000000000000..f9c2a16b0e0b --- /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" + +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..a2e33d00bd82 --- /dev/null +++ b/dev-util/spirv-headers/spirv-headers-9999.ebuild @@ -0,0 +1,16 @@ +# 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" + +PATCHES=( "${FILESDIR}"/${PN}-Get-rid-of-custom-target.patch ) |