diff --git a/app-emulation/vkd3d/Manifest b/app-emulation/vkd3d/Manifest index f4fda221d58ac..1586b5b7222cd 100644 --- a/app-emulation/vkd3d/Manifest +++ b/app-emulation/vkd3d/Manifest @@ -1 +1,2 @@ DIST vkd3d-1.12.tar.xz 1095416 BLAKE2B 6e5fa5c6a743ab103c6d1564f025689351620d587008eb079517a871aaf9895f9521a4a83e30896c1d7b4a378ff54e193340d4c915dbf91ad6b350746ccdbfd8 SHA512 ac444ebcdbc7bf84cb5726affd7a4f075116b4016f06a9fff47f30182945848ee04ceda587f864fc02c11a064bf7d92e492e2cf30fe53cc7cfe23a61cf85e776 +DIST vkd3d-1.13.tar.xz 1123980 BLAKE2B 1b144ce9bd4351b59f1fc36f342d40f448ae45e8293968c1326ad74ec2a065a45ca543f7837fb0ab905caeaff2b38e54b76d81174839655465ed8a5cc3d024d5 SHA512 a2cb339aa68c01d961a67236fb3f5d247f359fce73aabe948933a02102a63029fb697ea8577e3086458c5fd59b787f74957b7a79534394960df8b6052fd0f993 diff --git a/app-emulation/vkd3d/vkd3d-1.13.ebuild b/app-emulation/vkd3d/vkd3d-1.13.ebuild new file mode 100644 index 0000000000000..92d9d092e4bf9 --- /dev/null +++ b/app-emulation/vkd3d/vkd3d-1.13.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Note: This package is only needed by old wine-7 given >=8 builds a +# bundled PE vkd3d using mingw rather than use the shared ELF library. +# +# Also unclear if bumping is safe, newer vkd3d is hardly tested with +# old Wine and its old vulkan support. Quite possibly already unusable +# but there is very few users of wine-7+d3d12 to report issues. +# +# Either way can be last-rited whenever wine-{vanilla,proton}-7 are gone, +# or alternatively USE=vkd3d could be masked/removed if broken. + +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 + # let users' flags control lto (bug #933178) + vkd3d_cv_cflags__flto_auto= + ) + + ECONF_SOURCE=${S} econf "${conf[@]}" +} + +multilib_src_install_all() { + einstalldocs + + find "${ED}" -type f -name '*.la' -delete || die +}