diff options
author | Nick Sarnie <sarnex@gentoo.org> | 2018-09-17 19:14:25 -0400 |
---|---|---|
committer | Nick Sarnie <sarnex@gentoo.org> | 2018-09-17 19:24:01 -0400 |
commit | 85801b9d8c4d41703256891dd7aece35952e3cae (patch) | |
tree | 5d16202a900ad32af57553b4408a8898dd853730 /dev-util | |
parent | dev-util/spirv-headers: Version bump (diff) | |
download | gentoo-85801b9d8c4d41703256891dd7aece35952e3cae.tar.gz gentoo-85801b9d8c4d41703256891dd7aece35952e3cae.tar.bz2 gentoo-85801b9d8c4d41703256891dd7aece35952e3cae.zip |
dev-util/spirv-tools: Bump to v2018.5
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/spirv-tools/Manifest | 1 | ||||
-rw-r--r-- | dev-util/spirv-tools/spirv-tools-2018.5.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-util/spirv-tools/Manifest b/dev-util/spirv-tools/Manifest index 32fa406d06d0..13fb93d9c251 100644 --- a/dev-util/spirv-tools/Manifest +++ b/dev-util/spirv-tools/Manifest @@ -1,2 +1,3 @@ DIST spirv-tools-2018.2.tar.gz 1039360 BLAKE2B bef1c3e4efa598bffad8f71c4a92cce9db98fd5699ab2f5616a7a4985c15da87f1e246391a2ca5e07affd352c6314896ff1599cdddc117b01655990f9c7b78f4 SHA512 6deed7a36b460135fd7db613b7101d53a87ae5d555f1795aa9a96ab14f437621d4667a41e5f5ae16e849f8e5d66e02611bed21e3110a902feac6c7f376eb5815 DIST spirv-tools-2018.4.tar.gz 1327904 BLAKE2B 1ed01edf0dd5e8c3ac0d1a866d27f2e2ef377e9c082579291f8e755592ff3ea4f44a597e3e7694977500b9434889b0f741e03d566e777bb0f9af5e2e59374d61 SHA512 6b982efb30529e7f7776d7702f563bb4f874b9be3a7b0d838d77a15813f4177da99c152f40f11854fc3d60791ecf4026e006ff25a216bb44194dfd921c50920d +DIST spirv-tools-2018.5.tar.gz 1354299 BLAKE2B a2f74ac52cbcb3881009274c41cf8be48ae91d2d62d9e687d28719e65bb7cd5c0a5104a967e995fc5da066c1e6a278df4bf285fa9bf617660072bd0ee535b9bb SHA512 068a39e15111f24ad2a6b27e7ada786b3124b239aa8b13e187a4d512044db57a8e6a0fccadd0451155e1f57c96c8dec91a2338996c59fc883007cf7be07f2cad diff --git a/dev-util/spirv-tools/spirv-tools-2018.5.ebuild b/dev-util/spirv-tools/spirv-tools-2018.5.ebuild new file mode 100644 index 000000000000..a639f5cc6033 --- /dev/null +++ b/dev-util/spirv-tools/spirv-tools-2018.5.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-multilib cmake-utils + +DESCRIPTION="Provides an API and commands for processing SPIR-V modules" +HOMEPAGE="https://github.com/KhronosGroup/SPIRV-Tools" +SRC_URI="https://github.com/KhronosGroup/SPIRV-Tools/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +# Tests fail upon finding symbols that do not match a regular expression +# in the generated library. Easily hit with non-standard compiler flags +RESTRICT="test" + +RDEPEND="" +DEPEND=">=dev-util/spirv-headers-1.3.1_pre20180710" +EGIT_COMMIT="b4cb01c7c451dd90e26174f6b94ba6a37c53d917" +S="${WORKDIR}/SPIRV-Tools-${PV}" + +multilib_src_configure() { + local mycmakeargs=( + "-DSPIRV-Headers_SOURCE_DIR=/usr/" + ) + + cmake-utils_src_configure +} + +multilib_src_install() { + default + echo "${EGIT_COMMIT}" > "${PN}-commit.h" || die + insinto /usr/include/"${PN}" + doins "${PN}-commit.h" +} |