summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-12-07 03:48:03 -0500
committerIonen Wolkens <ionen@gentoo.org>2023-12-07 03:57:07 -0500
commit5b6eebd87decd22609166005bae45341fc6532be (patch)
treef2838c170beb91301b4ccd339a1b361ccd10150b /app-emulation/vkd3d
parentmedia-sound/rosegarden: bump to 23.12 (diff)
downloadgentoo-5b6eebd87decd22609166005bae45341fc6532be.tar.gz
gentoo-5b6eebd87decd22609166005bae45341fc6532be.tar.bz2
gentoo-5b6eebd87decd22609166005bae45341fc6532be.zip
app-emulation/vkd3d: add 1.10
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'app-emulation/vkd3d')
-rw-r--r--app-emulation/vkd3d/Manifest1
-rw-r--r--app-emulation/vkd3d/vkd3d-1.10.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/app-emulation/vkd3d/Manifest b/app-emulation/vkd3d/Manifest
index 9ec592e20e55..34fd5c26b6d7 100644
--- a/app-emulation/vkd3d/Manifest
+++ b/app-emulation/vkd3d/Manifest
@@ -1 +1,2 @@
+DIST vkd3d-1.10.tar.xz 956600 BLAKE2B 141a8364ef4d34cef9eeef1fe78c18b8da3778627046ac543c3f18cd53a5a6517757532c3469475e1047f2ab7c621ebdd3655899d24aeec5093943a19bcb3958 SHA512 26db0322fe26a3ad361cec15b82ac461e2751cdc6e9f65f393b0aa533bba4644cdb2a454af9cf96efb09b562bd2bf9e9b765d0eee4b4cc7be34e0763d31c6f60
DIST vkd3d-1.9.tar.xz 902300 BLAKE2B 62c71b98912e66d86a2d2d934f6bd4c252cced68d3ad96c23b7404dbe346e7a11e43affb1959b389cfc90b53f32b2011ceeca6d066bcae876d24ff0822719d2b SHA512 7fe931fca4bc2e13bd59f2068d758581797aa15530fb811d71323e3cd83a0f12ec3a00e2951f38033fccf8eabfca45e06dad79d80ccc164e047e13cbfc960d0e
diff --git a/app-emulation/vkd3d/vkd3d-1.10.ebuild b/app-emulation/vkd3d/vkd3d-1.10.ebuild
new file mode 100644
index 000000000000..2056245ceba0
--- /dev/null
+++ b/app-emulation/vkd3d/vkd3d-1.10.ebuild
@@ -0,0 +1,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
+}