summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-09-23 00:15:34 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-09-23 00:39:01 -0400
commit981402cf60be35c961cb1bc185abdd843ce78baa (patch)
treeb42660d21308b72acc4a99b61c3a01890867f116 /app-emulation/vkd3d/vkd3d-1.5.ebuild
parentgnome-extra/yelp-xsl: Version bump to 42.1 (diff)
downloadgentoo-981402cf60be35c961cb1bc185abdd843ce78baa.tar.gz
gentoo-981402cf60be35c961cb1bc185abdd843ce78baa.tar.bz2
gentoo-981402cf60be35c961cb1bc185abdd843ce78baa.zip
app-emulation/vkd3d: add 1.5
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'app-emulation/vkd3d/vkd3d-1.5.ebuild')
-rw-r--r--app-emulation/vkd3d/vkd3d-1.5.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/app-emulation/vkd3d/vkd3d-1.5.ebuild b/app-emulation/vkd3d/vkd3d-1.5.ebuild
new file mode 100644
index 000000000000..f0e863b89b11
--- /dev/null
+++ b/app-emulation/vkd3d/vkd3d-1.5.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2022 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"
+
+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
+}