1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 PYTHON_COMPAT=( python3_{6,7,8} )
9 inherit cmake-multilib python-any-r1
11 if [[ ${PV} == *9999* ]]; then
12 EGIT_REPO_URI="https://github.com/KhronosGroup/${MY_PN}.git"
15 SNAPSHOT_COMMIT="49ca250b44c633ba7cb8897002e62781a451421c"
16 SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/${SNAPSHOT_COMMIT}.tar.gz -> ${P}.tar.gz"
17 KEYWORDS="~amd64 ~ppc64 ~x86"
18 S="${WORKDIR}"/${MY_PN}-${SNAPSHOT_COMMIT}
21 DESCRIPTION="Provides an API and commands for processing SPIR-V modules"
22 HOMEPAGE="https://github.com/KhronosGroup/SPIRV-Tools"
26 # Tests fail upon finding symbols that do not match a regular expression
27 # in the generated library. Easily hit with non-standard compiler flags
29 COMMON_DEPEND=">=dev-util/spirv-headers-1.5.3"
30 DEPEND="${COMMON_DEPEND}"
32 BDEPEND="${PYTHON_DEPS}
35 multilib_src_configure() {
37 "-DSPIRV-Headers_SOURCE_DIR=/usr/"