Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/vkd3d/
Date: Fri, 23 Sep 2022 04:40:16
Message-Id: 1663907941.981402cf60be35c961cb1bc185abdd843ce78baa.ionen@gentoo
1 commit: 981402cf60be35c961cb1bc185abdd843ce78baa
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 23 04:15:34 2022 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 23 04:39:01 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=981402cf
7
8 app-emulation/vkd3d: add 1.5
9
10 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
11
12 app-emulation/vkd3d/Manifest | 1 +
13 app-emulation/vkd3d/vkd3d-1.5.ebuild | 44 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 45 insertions(+)
15
16 diff --git a/app-emulation/vkd3d/Manifest b/app-emulation/vkd3d/Manifest
17 index d2e616a195ea..5fc50d2062fe 100644
18 --- a/app-emulation/vkd3d/Manifest
19 +++ b/app-emulation/vkd3d/Manifest
20 @@ -1,2 +1,3 @@
21 DIST vkd3d-1.2.tar.xz 611240 BLAKE2B e7ea3f7120ad1092be0239bdc2e6d0dfdfecc3b1c2e7c359c4bfbd8c259f092e041a75a0e896da9a1c6370d5716590711128d31c9e552897b177b300b9a15107 SHA512 ca9d5b11e7770747b78b61f43196b45b7bda8d2dd4f1d76da915f895a04dc28c20499e1e433f5ce17416964fe0f37cdc907e7aa540ec9105afbc8a100094f3e7
22 DIST vkd3d-1.4.tar.xz 774920 BLAKE2B c46a71b495fc41658ea493f65ad15aec18202889a9c7925962301cce91f32e197c5850f374331595e4bd267fcbf9836531e733fb5880ddb4936476ddedd19bbc SHA512 58535b57b0b506542f2867e9b1229682f012216b9f8913d2692d4ed64a8113248d66ea710127ec2064baf9511b7f2be7b757dffcaf95a43168d781010d007ddb
23 +DIST vkd3d-1.5.tar.xz 776260 BLAKE2B c021dd03b120f3ad8da61147a12f9d581a85aaf458f34308f06a648167562adedd670444473cbc5ca66c1ff6242b2add21396bbc5cce308c39482451aa5b45e5 SHA512 69ec33bef28334a9a55da34621c71623843995279fb5267cc56228cd343c8cf292deb848596e6f850dfee6d07cc35206fc034fc4ce2a911652a9c42c032cdc08
24
25 diff --git a/app-emulation/vkd3d/vkd3d-1.5.ebuild b/app-emulation/vkd3d/vkd3d-1.5.ebuild
26 new file mode 100644
27 index 000000000000..f0e863b89b11
28 --- /dev/null
29 +++ b/app-emulation/vkd3d/vkd3d-1.5.ebuild
30 @@ -0,0 +1,44 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +inherit multilib-minimal
37 +
38 +DESCRIPTION="D3D12 to Vulkan translation library"
39 +HOMEPAGE="https://gitlab.winehq.org/wine/vkd3d/"
40 +SRC_URI="https://dl.winehq.org/vkd3d/source/${P}.tar.xz"
41 +
42 +LICENSE="LGPL-2.1+"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +IUSE="ncurses spirv-tools"
46 +RESTRICT="test" #838655
47 +
48 +RDEPEND="
49 + media-libs/vulkan-loader[${MULTILIB_USEDEP}]
50 + ncurses? ( sys-libs/ncurses:= )
51 + spirv-tools? ( dev-util/spirv-tools[${MULTILIB_USEDEP}] )"
52 +DEPEND="
53 + ${RDEPEND}
54 + dev-util/spirv-headers
55 + dev-util/vulkan-headers"
56 +BDEPEND="
57 + sys-devel/flex
58 + sys-devel/bison
59 + virtual/pkgconfig"
60 +
61 +multilib_src_configure() {
62 + local conf=(
63 + $(multilib_native_use_with ncurses)
64 + $(use_with spirv-tools)
65 + --disable-doxygen-pdf
66 + --without-xcb
67 + )
68 +
69 + ECONF_SOURCE=${S} econf "${conf[@]}"
70 +}
71 +
72 +multilib_src_install_all() {
73 + find "${ED}" -type f -name '*.la' -delete || die
74 +}