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