You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# Copyright 1999-2020 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=6
|
|
|
|
|
|
|
|
inherit multilib-minimal autotools
|
|
|
|
|
|
|
|
AUTOTOOLS_AUTORECONF="1"
|
|
|
|
|
|
|
|
if [[ "${PV}" == "9999" ]]; then
|
|
|
|
EGIT_REPO_URI="https://source.winehq.org/git/vkd3d.git"
|
|
|
|
inherit git-r3
|
|
|
|
else
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
SRC_URI="https://dl.winehq.org/vkd3d/source/${P}.tar.xz"
|
|
|
|
fi
|
|
|
|
|
|
|
|
IUSE="spirv-tools"
|
|
|
|
RDEPEND="spirv-tools? ( dev-util/spirv-tools:=[${MULTILIB_USEDEP}] )
|
|
|
|
media-libs/vulkan-loader[${MULTILIB_USEDEP},X]
|
|
|
|
x11-libs/xcb-util:=[${MULTILIB_USEDEP}]
|
|
|
|
x11-libs/xcb-util-keysyms:=[${MULTILIB_USEDEP}]
|
|
|
|
x11-libs/xcb-util-wm:=[${MULTILIB_USEDEP}]"
|
|
|
|
|
|
|
|
DEPEND="${RDEPEND}
|
|
|
|
dev-util/spirv-headers
|
|
|
|
>=dev-util/vulkan-headers-1.1.114"
|
|
|
|
|
|
|
|
DESCRIPTION="D3D12 to Vulkan translation library"
|
|
|
|
HOMEPAGE="https://source.winehq.org/git/vkd3d.git/"
|
|
|
|
|
|
|
|
LICENSE="LGPL-2.1"
|
|
|
|
SLOT="0"
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
default
|
|
|
|
eautoreconf
|
|
|
|
}
|
|
|
|
|
|
|
|
multilib_src_configure() {
|
|
|
|
local myconf=(
|
|
|
|
$(use_with spirv-tools)
|
|
|
|
--disable-doxygen-pdf
|
|
|
|
)
|
|
|
|
|
|
|
|
ECONF_SOURCE=${S} econf "${myconf[@]}"
|
|
|
|
}
|