diff --git a/app-emulation/vkd3d/Manifest b/app-emulation/vkd3d/Manifest index 28793588a1927..8467f886d3ee3 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.11.tar.xz 1016132 BLAKE2B 634f5f99f7605814d36a90270ddb82a6a11e2b6bfc2cdc6a6d4d31b730b9d5739479770fe00704f27a726c39aa115272c0a79dbcff8baf251188a4b3ead8faeb SHA512 2b14f7f8d4d58c2bfc6c30aa0d24b6789c0887b2869cfb6be98d03b7b001a74a1fbe24439229fa4d3a618a69fe8eeb77d7a520a16276ae494fe6ee2357dd31d0 diff --git a/app-emulation/vkd3d/vkd3d-1.11.ebuild b/app-emulation/vkd3d/vkd3d-1.11.ebuild new file mode 100644 index 0000000000000..23f3a949fb238 --- /dev/null +++ b/app-emulation/vkd3d/vkd3d-1.11.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 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() { + einstalldocs + + find "${ED}" -type f -name '*.la' -delete || die +}