blob: f1f66daf8b8d481c8a8e3050c5b1117fbb2584ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit multilib-minimal
DESCRIPTION="D3D12 to Vulkan translation library"
HOMEPAGE="https://gitlab.winehq.org/wine/vkd3d/"
SRC_URI="https://dl.winehq.org/vkd3d/source/${P}.tar.xz"
LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="~amd64 x86"
IUSE="ncurses spirv-tools"
RESTRICT="test" #838655
RDEPEND="
media-libs/vulkan-loader[${MULTILIB_USEDEP}]
ncurses? ( sys-libs/ncurses:= )
spirv-tools? ( dev-util/spirv-tools[${MULTILIB_USEDEP}] )
"
DEPEND="
${RDEPEND}
dev-util/spirv-headers
dev-util/vulkan-headers
"
BDEPEND="
sys-devel/flex
sys-devel/bison
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}"/${PN}-1.9-implicit-gettid.patch
)
multilib_src_configure() {
local conf=(
$(multilib_native_use_with ncurses)
$(use_with spirv-tools)
--disable-doxygen-pdf
--without-xcb
)
ECONF_SOURCE=${S} econf "${conf[@]}"
}
multilib_src_install_all() {
find "${ED}" -type f -name '*.la' -delete || die
}
|