dev-util/spirv-tools: Version bump

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Nick Sarnie <sarnex@gentoo.org>
This commit is contained in:
Nick Sarnie
2022-02-19 16:52:04 -05:00
parent d4db023044
commit cd618fb3ae
2 changed files with 46 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST spirv-tools-1.2.198.tar.gz 2888894 BLAKE2B 036f2457863c1bff47939d6238d6f270baee67253edeb5dc4cb1270eb32b9fdb6427c959bde4c5496056784c0334922276b9a4e0ac5530a4c662abdf0190f119 SHA512 90a53d0c7c6dfeb5ef2ee3e8b92c00cd39211f18f57aaeae079ac95b94ec4c839443017eb39fbee0f737d0c070ed64e2369609e81dba149f08676724b254f714
DIST spirv-tools-1.3.204.tar.gz 2905656 BLAKE2B 9bea5d91243283a0a167913fe531f0778915c03ec4db3f152d88f0952aa0df0e92bfa57762876c61277fedf99f156bdacbbd934333afb8376555a96566edb81e SHA512 f71738d5494c1e7bc38aeb8b2c89dcf24bb14eb6fcac1b14a794d47427ffadffc8e2b7b793b234e7146847744975a5d20de18043447a50a31af305e8ce4b1214

View File

@@ -0,0 +1,45 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PN=SPIRV-Tools
CMAKE_ECLASS="cmake"
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_REQ_USE="xml(+)"
inherit cmake-multilib python-any-r1
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/KhronosGroup/${MY_PN}.git"
inherit git-r3
else
EGIT_COMMIT="sdk-${PV}.0"
SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
S="${WORKDIR}"/${MY_PN}-${EGIT_COMMIT}
fi
DESCRIPTION="Provides an API and commands for processing SPIR-V modules"
HOMEPAGE="https://github.com/KhronosGroup/SPIRV-Tools"
LICENSE="Apache-2.0"
SLOT="0"
# 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"
COMMON_DEPEND="~dev-util/spirv-headers-${PV}"
DEPEND="${COMMON_DEPEND}"
RDEPEND=""
BDEPEND="${PYTHON_DEPS}
${COMMON_DEPEND}"
multilib_src_configure() {
local mycmakeargs=(
"-DSPIRV-Headers_SOURCE_DIR=${ESYSROOT}/usr/"
"-DSPIRV_WERROR=OFF"
"-DSPIRV_TOOLS_BUILD_STATIC=OFF"
"-DBUILD_SHARED_LIBS=ON"
)
cmake_src_configure
}