diff options
author | 2022-08-11 21:17:30 +0300 | |
---|---|---|
committer | 2022-08-11 15:33:47 -0400 | |
commit | 75dbae129a64824af80be78bf0649f82064873e3 (patch) | |
tree | 9c5384f06ccce41e5053beeed7d9e0cb6a5ba192 /app-emulation/vkd3d/vkd3d-1.4.ebuild | |
parent | games-arcade/criticalmass: EAPI6->8, misc changes (diff) | |
download | gentoo-75dbae129a64824af80be78bf0649f82064873e3.tar.gz gentoo-75dbae129a64824af80be78bf0649f82064873e3.tar.bz2 gentoo-75dbae129a64824af80be78bf0649f82064873e3.zip |
app-emulation/vkd3d: add 1.4
Signed-off-by: Nikita Romanyuk <kelvium@yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/26826
Signed-off-by: Nick Sarnie <sarnex@gentoo.org>
Diffstat (limited to 'app-emulation/vkd3d/vkd3d-1.4.ebuild')
-rw-r--r-- | app-emulation/vkd3d/vkd3d-1.4.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/app-emulation/vkd3d/vkd3d-1.4.ebuild b/app-emulation/vkd3d/vkd3d-1.4.ebuild new file mode 100644 index 000000000000..e64cc1a24558 --- /dev/null +++ b/app-emulation/vkd3d/vkd3d-1.4.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit multilib-minimal + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://source.winehq.org/git/vkd3d.git" + inherit git-r3 +else + KEYWORDS="~amd64 ~x86" + SRC_URI="https://dl.winehq.org/vkd3d/source/${P}.tar.xz" +fi + +#Tests fail: https://bugs.gentoo.org/838655 +RESTRICT="test" + +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" + +DESCRIPTION="D3D12 to Vulkan translation library" +HOMEPAGE="https://source.winehq.org/git/vkd3d.git/" + +LICENSE="LGPL-2.1" +SLOT="0" + +multilib_src_configure() { + local myconf=( + $(use_with spirv-tools) + --disable-doxygen-pdf + ) + + ECONF_SOURCE=${S} econf "${myconf[@]}" +} |