Diff vulkan-loader-1.1.114 with a vulkan-loader-1.1.125

/usr/portage/media-libs/vulkan-loader/vulkan-loader-1.1.125.ebuild 2020-01-05 14:15:00.000000000 +0300
1 1
# Copyright 1999-2020 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=6
5
PYTHON_COMPAT=( python3_6 )
4
EAPI=7
5
PYTHON_COMPAT=( python3_{6,7} )
6 6

  
7 7
if [[ "${PV}" == "9999" ]]; then
8 8
	EGIT_REPO_URI="https://github.com/KhronosGroup/Vulkan-Loader.git"
9 9
	EGIT_SUBMODULES=()
10 10
	inherit git-r3
11 11
else
12
	if [[ -z ${SNAPSHOT_COMMIT} ]]; then
13
		MY_PV=v${PV}
14
		MY_P=Vulkan-Loader-${PV}
15
	else
16
		MY_PV=${SNAPSHOT_COMMIT}
17
		MY_P=Vulkan-Loader-${SNAPSHOT_COMMIT}
18
	fi
12 19
	KEYWORDS="amd64 x86"
13
	EGIT_COMMIT="1bb7f68564fe565de2927071c79008bd6ede5af5"
14
	SRC_URI="https://github.com/KhronosGroup/Vulkan-Loader/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
15
	S="${WORKDIR}/Vulkan-Loader-${EGIT_COMMIT}"
20
	SRC_URI="https://github.com/KhronosGroup/Vulkan-Loader/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
21
	S="${WORKDIR}"/${MY_P}
16 22
fi
17 23

  
18
inherit python-any-r1 cmake-multilib
24
inherit toolchain-funcs python-any-r1 cmake-multilib
19 25

  
20 26
DESCRIPTION="Vulkan Installable Client Driver (ICD) Loader"
21 27
HOMEPAGE="https://github.com/KhronosGroup/Vulkan-Loader"
......
26 32

  
27 33
PDEPEND="layers? ( media-libs/vulkan-layers:=[${MULTILIB_USEDEP}] )"
28 34
DEPEND="${PYTHON_DEPS}
29
	>=dev-util/vulkan-headers-1.1.114
35
	>=dev-util/vulkan-headers-${PV}
30 36
	wayland? ( dev-libs/wayland:=[${MULTILIB_USEDEP}] )
31 37
	X? (
32 38
		x11-libs/libX11:=[${MULTILIB_USEDEP}]
......
34 40
	)"
35 41

  
36 42
multilib_src_configure() {
43
	# Integrated clang assembler doesn't work with x86 - Bug #698164
44
	if tc-is-clang && [[ ${ABI} == x86 ]]; then
45
		append-cflags -fno-integrated-as
46
	fi
47

  
37 48
	local mycmakeargs=(
38 49
		-DCMAKE_SKIP_RPATH=True
39 50
		-DBUILD_TESTS=False
Thank you!