1 # Copyright 1999-2018 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit multilib-minimal
8 if [[ "${PV}" == "9999" ]]; then
9 EGIT_REPO_URI="https://source.winehq.org/git/vkd3d.git"
13 SRC_URI="https://dl.winehq.org/vkd3d/source/${P}.tar.xz"
17 RDEPEND="spirv-tools? ( dev-util/spirv-tools:=[${MULTILIB_USEDEP}] )
18 media-libs/vulkan-loader[${MULTILIB_USEDEP},X]
19 x11-libs/xcb-util:=[${MULTILIB_USEDEP}]
20 x11-libs/xcb-util-keysyms:=[${MULTILIB_USEDEP}]
21 x11-libs/xcb-util-wm:=[${MULTILIB_USEDEP}]"
24 dev-util/spirv-headers
25 dev-util/vulkan-headers"
27 DESCRIPTION="D3D12 to Vulkan translation library"
28 HOMEPAGE="https://source.winehq.org/git/vkd3d.git/"
33 multilib_src_configure() {
35 $(use_with spirv-tools)
38 ECONF_SOURCE=${S} econf "${myconf[@]}"