1 |
commit: 47c706f3f2bdf23a4d4de728ea804613dcef0fe2 |
2 |
Author: Nick Sarnie <sarnex <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 28 15:57:06 2018 +0000 |
4 |
Commit: Nick Sarnie <sarnex <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 28 15:57:06 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47c706f3 |
7 |
|
8 |
app-emulation/vkd3d: Sync with ::wine |
9 |
|
10 |
Initial version of vkd3d |
11 |
|
12 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
13 |
|
14 |
app-emulation/vkd3d/Manifest | 1 + |
15 |
app-emulation/vkd3d/metadata.xml | 15 +++++++++++++ |
16 |
app-emulation/vkd3d/vkd3d-1.0.ebuild | 40 +++++++++++++++++++++++++++++++++++ |
17 |
app-emulation/vkd3d/vkd3d-9999.ebuild | 40 +++++++++++++++++++++++++++++++++++ |
18 |
4 files changed, 96 insertions(+) |
19 |
|
20 |
diff --git a/app-emulation/vkd3d/Manifest b/app-emulation/vkd3d/Manifest |
21 |
new file mode 100644 |
22 |
index 00000000000..a91ba6a42e0 |
23 |
--- /dev/null |
24 |
+++ b/app-emulation/vkd3d/Manifest |
25 |
@@ -0,0 +1 @@ |
26 |
+DIST vkd3d-1.0.tar.xz 219856 BLAKE2B ebf4f7d95a4ed97e4a8f652850d1af563b1c8a6d2b78f157f3e729387da5e70f1b099d1fcedb075cdb1d521d3e3e5669401c9080fb4079be22c9f73a6de34c2e SHA512 766eed31d4cb307d4575cc8f31495808c930cfd0be866ebecd5205112b0491a98dfe8b3818493774908ff551039baeac46c7b69c2b58e3df3963c22ad032ef6e |
27 |
|
28 |
diff --git a/app-emulation/vkd3d/metadata.xml b/app-emulation/vkd3d/metadata.xml |
29 |
new file mode 100644 |
30 |
index 00000000000..f83e30bbd19 |
31 |
--- /dev/null |
32 |
+++ b/app-emulation/vkd3d/metadata.xml |
33 |
@@ -0,0 +1,15 @@ |
34 |
+<?xml version="1.0" encoding="UTF-8"?> |
35 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
36 |
+<pkgmetadata> |
37 |
+ <maintainer type="project"> |
38 |
+ <email>wine@g.o</email> |
39 |
+ <name>Wine</name> |
40 |
+ <description> |
41 |
+ This package must be kept in sync with repo/proj/wine repository. |
42 |
+ Any changes need to be run past the maintainer to ensure the two repositories are kept in sync. |
43 |
+ </description> |
44 |
+ </maintainer> |
45 |
+ <use> |
46 |
+ <flag name="spirv-tools">Enable better SPIRV support using <pkg>dev-util/spirv-tools</pkg></flag> |
47 |
+ </use> |
48 |
+</pkgmetadata> |
49 |
|
50 |
diff --git a/app-emulation/vkd3d/vkd3d-1.0.ebuild b/app-emulation/vkd3d/vkd3d-1.0.ebuild |
51 |
new file mode 100644 |
52 |
index 00000000000..88db9b6937f |
53 |
--- /dev/null |
54 |
+++ b/app-emulation/vkd3d/vkd3d-1.0.ebuild |
55 |
@@ -0,0 +1,40 @@ |
56 |
+# Copyright 1999-2018 Gentoo Foundation |
57 |
+# Distributed under the terms of the GNU General Public License v2 |
58 |
+ |
59 |
+EAPI=6 |
60 |
+ |
61 |
+inherit autotools multilib-minimal |
62 |
+ |
63 |
+if [[ "${PV}" == "9999" ]]; then |
64 |
+ EGIT_REPO_URI="https://source.winehq.org/git/vkd3d.git" |
65 |
+ inherit git-r3 |
66 |
+else |
67 |
+ KEYWORDS="~amd64" |
68 |
+ SRC_URI="https://dev.gentoo.org/~sarnex/distfiles/vkd3d-${PV}.tar.xz" |
69 |
+ S="${WORKDIR}/${PN}" |
70 |
+fi |
71 |
+ |
72 |
+IUSE="spirv-tools" |
73 |
+RDEPEND="spirv-tools? ( dev-util/spirv-tools:=[${MULTILIB_USEDEP}] ) |
74 |
+ x11-libs/xcb-util-keysyms:=[${MULTILIB_USEDEP}]" |
75 |
+ |
76 |
+DEPEND="${RDEPEND}" |
77 |
+ |
78 |
+DESCRIPTION="D3D12 to Vulkan translation library" |
79 |
+HOMEPAGE="https://source.winehq.org/git/vkd3d.git/" |
80 |
+ |
81 |
+LICENSE="LGPL-2.1" |
82 |
+SLOT="0" |
83 |
+ |
84 |
+src_prepare() { |
85 |
+ default |
86 |
+ eautoreconf |
87 |
+} |
88 |
+ |
89 |
+multilib_src_configure() { |
90 |
+ local myconf=( |
91 |
+ $(use_with spirv-tools) |
92 |
+ ) |
93 |
+ |
94 |
+ ECONF_SOURCE=${S} econf "${myconf[@]}" |
95 |
+} |
96 |
|
97 |
diff --git a/app-emulation/vkd3d/vkd3d-9999.ebuild b/app-emulation/vkd3d/vkd3d-9999.ebuild |
98 |
new file mode 100644 |
99 |
index 00000000000..88db9b6937f |
100 |
--- /dev/null |
101 |
+++ b/app-emulation/vkd3d/vkd3d-9999.ebuild |
102 |
@@ -0,0 +1,40 @@ |
103 |
+# Copyright 1999-2018 Gentoo Foundation |
104 |
+# Distributed under the terms of the GNU General Public License v2 |
105 |
+ |
106 |
+EAPI=6 |
107 |
+ |
108 |
+inherit autotools multilib-minimal |
109 |
+ |
110 |
+if [[ "${PV}" == "9999" ]]; then |
111 |
+ EGIT_REPO_URI="https://source.winehq.org/git/vkd3d.git" |
112 |
+ inherit git-r3 |
113 |
+else |
114 |
+ KEYWORDS="~amd64" |
115 |
+ SRC_URI="https://dev.gentoo.org/~sarnex/distfiles/vkd3d-${PV}.tar.xz" |
116 |
+ S="${WORKDIR}/${PN}" |
117 |
+fi |
118 |
+ |
119 |
+IUSE="spirv-tools" |
120 |
+RDEPEND="spirv-tools? ( dev-util/spirv-tools:=[${MULTILIB_USEDEP}] ) |
121 |
+ x11-libs/xcb-util-keysyms:=[${MULTILIB_USEDEP}]" |
122 |
+ |
123 |
+DEPEND="${RDEPEND}" |
124 |
+ |
125 |
+DESCRIPTION="D3D12 to Vulkan translation library" |
126 |
+HOMEPAGE="https://source.winehq.org/git/vkd3d.git/" |
127 |
+ |
128 |
+LICENSE="LGPL-2.1" |
129 |
+SLOT="0" |
130 |
+ |
131 |
+src_prepare() { |
132 |
+ default |
133 |
+ eautoreconf |
134 |
+} |
135 |
+ |
136 |
+multilib_src_configure() { |
137 |
+ local myconf=( |
138 |
+ $(use_with spirv-tools) |
139 |
+ ) |
140 |
+ |
141 |
+ ECONF_SOURCE=${S} econf "${myconf[@]}" |
142 |
+} |