1 |
commit: 7b5333121b0b41b08f94c88d8da3e9eba41cfd2e |
2 |
Author: NP-Hardass <NP-Hardass <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 10 17:20:27 2017 +0000 |
4 |
Commit: NP Hardass <np-hardass <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 10 17:22:03 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b533312 |
7 |
|
8 |
virtual/wine: Virtual for multislot/split wine. |
9 |
|
10 |
Thanks to eroen for his help with laying the groundwork. |
11 |
|
12 |
Thanks to bobwya, chiitoo, eroen, sarnex, slackner, and wizardedit |
13 |
for their feedback and testing. |
14 |
|
15 |
Imported from wine-a-holics overlay |
16 |
|
17 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
18 |
|
19 |
virtual/wine/metadata.xml | 16 ++++++++++++++++ |
20 |
virtual/wine/wine-0-r4.ebuild | 31 +++++++++++++++++++++++++++++++ |
21 |
2 files changed, 47 insertions(+) |
22 |
|
23 |
diff --git a/virtual/wine/metadata.xml b/virtual/wine/metadata.xml |
24 |
new file mode 100644 |
25 |
index 00000000000..640696b8ae1 |
26 |
--- /dev/null |
27 |
+++ b/virtual/wine/metadata.xml |
28 |
@@ -0,0 +1,16 @@ |
29 |
+<?xml version="1.0" encoding="UTF-8"?> |
30 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
31 |
+<pkgmetadata> |
32 |
+ <maintainer type="project"> |
33 |
+ <email>wine@g.o</email> |
34 |
+ <name>Wine</name> |
35 |
+ </maintainer> |
36 |
+ <use> |
37 |
+ <flag name="d3d9">Enable Ixit's Gallium Nine Patchset</flag> |
38 |
+ <flag name="staging">Enable Wine-Staging's Patchset</flag> |
39 |
+ </use> |
40 |
+ <longdescription lang="en"> |
41 |
+ Allows for any variant of WINE, regardless of slotting to fulfill the dependencies |
42 |
+ traditionally fulfilled by the non-slotted, pre-variant, app-emulation/wine. |
43 |
+ </longdescription> |
44 |
+</pkgmetadata> |
45 |
|
46 |
diff --git a/virtual/wine/wine-0-r4.ebuild b/virtual/wine/wine-0-r4.ebuild |
47 |
new file mode 100644 |
48 |
index 00000000000..37b7a7f5477 |
49 |
--- /dev/null |
50 |
+++ b/virtual/wine/wine-0-r4.ebuild |
51 |
@@ -0,0 +1,31 @@ |
52 |
+# Copyright 1999-2017 Gentoo Foundation |
53 |
+# Distributed under the terms of the GNU General Public License v2 |
54 |
+ |
55 |
+EAPI=6 |
56 |
+ |
57 |
+DESCRIPTION="Virtual for WINE that supports multiple variants and slotting" |
58 |
+ |
59 |
+SLOT="0" |
60 |
+KEYWORDS="~amd64 ~x86" |
61 |
+IUSE="staging d3d9" |
62 |
+ |
63 |
+# Note, the ordering here is intentional, to take advantage of the short-circuit |
64 |
+# logic of portage, to enforce wine-vanilla as default for new users. The idea |
65 |
+# behind this is that some USE flags may pull in 3rd-party patchsets, so default |
66 |
+# of vanilla prevents that. |
67 |
+RDEPEND=" |
68 |
+ staging? ( || ( |
69 |
+ app-emulation/wine-staging[staging] |
70 |
+ app-emulation/wine-any[staging] |
71 |
+ ) ) |
72 |
+ d3d9? ( || ( |
73 |
+ app-emulation/wine-d3d9[d3d9] |
74 |
+ app-emulation/wine-any[d3d9] |
75 |
+ ) ) |
76 |
+ || ( |
77 |
+ app-emulation/wine-vanilla |
78 |
+ app-emulation/wine-staging |
79 |
+ app-emulation/wine-d3d9 |
80 |
+ app-emulation/wine-any |
81 |
+ ) |
82 |
+ !app-emulation/wine:0" |