Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/gallium-nine-standalone/files/, ...
Date: Tue, 26 Feb 2019 23:40:19
Message-Id: 1551224284.22303f80085bab3b22af0b535097e237b302a033.chewi@gentoo
1 commit: 22303f80085bab3b22af0b535097e237b302a033
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 26 23:38:04 2019 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 26 23:38:04 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22303f80
7
8 app-emulation/gallium-nine-standalone: Version bump to 0.3
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
12
13 app-emulation/gallium-nine-standalone/Manifest | 1 +
14 .../files/0.3-nine-dll-path.patch | 13 +++++++++++++
15 ...ne-9999.ebuild => gallium-nine-standalone-0.3.ebuild} | 16 +++++++++-------
16 .../gallium-nine-standalone-9999.ebuild | 16 +++++++++-------
17 app-emulation/gallium-nine-standalone/metadata.xml | 2 +-
18 5 files changed, 33 insertions(+), 15 deletions(-)
19
20 diff --git a/app-emulation/gallium-nine-standalone/Manifest b/app-emulation/gallium-nine-standalone/Manifest
21 index 725f6ef859f..963e790f0b2 100644
22 --- a/app-emulation/gallium-nine-standalone/Manifest
23 +++ b/app-emulation/gallium-nine-standalone/Manifest
24 @@ -1 +1,2 @@
25 +DIST gallium-nine-standalone-0.3.tar.gz 63887 BLAKE2B bd198617a5d3d3830bd5127b63eed2c82bff037141ae72ff9237ad5062fdbe9b6797e233eaf86e06d92153487c53389eb094b0be3b0cbdbf3fe565292a15cbb0 SHA512 80fedca58523fbf318109d2d3d5420e97d26ebf5b89b9f1965165c7a33c9dab9c62a65f14b75569b5126c549f5df91beef372d54e94dc90c608932eeb6a59829
26 DIST gallium-nine-standalone-0_p20190113.tar.gz 58954 BLAKE2B 29be3f5501cc4463aa05216b7360e2a5a949c498dd1c3a0170d5a2f7f508c1fe3171f90f8e35bbe95530be5d6b98b70c5a99362e69d4a64615e40fbb9c8eb96a SHA512 2b2ab79b3d9f2c19967a16200cf69e7eba589d4d3d8918890b9504a5cb4895cd76000b6f3852baa738845e8508c6d67843f45d368225878d446ec6e907f75de4
27
28 diff --git a/app-emulation/gallium-nine-standalone/files/0.3-nine-dll-path.patch b/app-emulation/gallium-nine-standalone/files/0.3-nine-dll-path.patch
29 new file mode 100644
30 index 00000000000..830bdc4b32e
31 --- /dev/null
32 +++ b/app-emulation/gallium-nine-standalone/files/0.3-nine-dll-path.patch
33 @@ -0,0 +1,13 @@
34 +diff --git a/ninewinecfg/main.c b/ninewinecfg/main.c
35 +index 3d58d67..e69668d 100644
36 +--- a/ninewinecfg/main.c
37 ++++ b/ninewinecfg/main.c
38 +@@ -32,7 +32,7 @@
39 +
40 + WINE_DEFAULT_DEBUG_CHANNEL(ninecfg);
41 +
42 +-static const char * const fn_nine_dll = "d3d9-nine.dll";
43 ++static const char * const fn_nine_dll = G9DLL;
44 + static const char * const fn_d3d9_dll = "d3d9.dll";
45 + static const char * const fn_nine_exe = "ninewinecfg.exe";
46 +
47
48 diff --git a/app-emulation/gallium-nine-standalone/gallium-nine-standalone-9999.ebuild b/app-emulation/gallium-nine-standalone/gallium-nine-standalone-0.3.ebuild
49 similarity index 87%
50 copy from app-emulation/gallium-nine-standalone/gallium-nine-standalone-9999.ebuild
51 copy to app-emulation/gallium-nine-standalone/gallium-nine-standalone-0.3.ebuild
52 index 0e73ee93be3..852055dc803 100644
53 --- a/app-emulation/gallium-nine-standalone/gallium-nine-standalone-9999.ebuild
54 +++ b/app-emulation/gallium-nine-standalone/gallium-nine-standalone-0.3.ebuild
55 @@ -5,16 +5,16 @@ EAPI=7
56
57 inherit meson multilib-minimal toolchain-funcs
58
59 +MY_PN="wine-nine-standalone"
60 DESCRIPTION="A standalone version of the WINE parts of Gallium Nine"
61 -HOMEPAGE="https://github.com/dhewg/nine"
62 +HOMEPAGE="https://github.com/iXit/wine-nine-standalone"
63
64 if [[ $PV = 9999* ]]; then
65 inherit git-r3
66 - EGIT_REPO_URI="https://github.com/dhewg/nine.git"
67 + EGIT_REPO_URI="https://github.com/iXit/${MY_PN}.git"
68 else
69 - COMMIT=""
70 - SRC_URI="https://github.com/dhewg/nine/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
71 - S="${WORKDIR}/nine-${COMMIT}"
72 + SRC_URI="https://github.com/iXit/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
73 + S="${WORKDIR}/${MY_PN}-${PV}"
74 KEYWORDS="-* ~amd64 ~x86"
75 fi
76
77 @@ -25,7 +25,7 @@ SLOT="0"
78 # Steam's Proton.
79
80 RDEPEND="
81 - media-libs/mesa[d3d9,egl,${MULTILIB_USEDEP}]
82 + media-libs/mesa[d3d9,dri3,${MULTILIB_USEDEP}]
83 x11-libs/libX11[${MULTILIB_USEDEP}]
84 x11-libs/libXext[${MULTILIB_USEDEP}]
85 x11-libs/libxcb[${MULTILIB_USEDEP}]
86 @@ -39,7 +39,7 @@ DEPEND="
87
88 PATCHES=(
89 "${FILESDIR}"/flags.patch
90 - "${FILESDIR}"/nine-dll-path.patch
91 + "${FILESDIR}"/0.3-nine-dll-path.patch
92 )
93
94 bits() {
95 @@ -82,6 +82,8 @@ multilib_src_configure() {
96 local emesonargs=(
97 --cross-file "${S}/tools/cross-wine$(bits)"
98 --bindir "$(get_libdir)"
99 + -Ddistro-independent=false
100 + -Ddri2=false
101 )
102 meson_src_configure
103 }
104
105 diff --git a/app-emulation/gallium-nine-standalone/gallium-nine-standalone-9999.ebuild b/app-emulation/gallium-nine-standalone/gallium-nine-standalone-9999.ebuild
106 index 0e73ee93be3..852055dc803 100644
107 --- a/app-emulation/gallium-nine-standalone/gallium-nine-standalone-9999.ebuild
108 +++ b/app-emulation/gallium-nine-standalone/gallium-nine-standalone-9999.ebuild
109 @@ -5,16 +5,16 @@ EAPI=7
110
111 inherit meson multilib-minimal toolchain-funcs
112
113 +MY_PN="wine-nine-standalone"
114 DESCRIPTION="A standalone version of the WINE parts of Gallium Nine"
115 -HOMEPAGE="https://github.com/dhewg/nine"
116 +HOMEPAGE="https://github.com/iXit/wine-nine-standalone"
117
118 if [[ $PV = 9999* ]]; then
119 inherit git-r3
120 - EGIT_REPO_URI="https://github.com/dhewg/nine.git"
121 + EGIT_REPO_URI="https://github.com/iXit/${MY_PN}.git"
122 else
123 - COMMIT=""
124 - SRC_URI="https://github.com/dhewg/nine/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
125 - S="${WORKDIR}/nine-${COMMIT}"
126 + SRC_URI="https://github.com/iXit/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
127 + S="${WORKDIR}/${MY_PN}-${PV}"
128 KEYWORDS="-* ~amd64 ~x86"
129 fi
130
131 @@ -25,7 +25,7 @@ SLOT="0"
132 # Steam's Proton.
133
134 RDEPEND="
135 - media-libs/mesa[d3d9,egl,${MULTILIB_USEDEP}]
136 + media-libs/mesa[d3d9,dri3,${MULTILIB_USEDEP}]
137 x11-libs/libX11[${MULTILIB_USEDEP}]
138 x11-libs/libXext[${MULTILIB_USEDEP}]
139 x11-libs/libxcb[${MULTILIB_USEDEP}]
140 @@ -39,7 +39,7 @@ DEPEND="
141
142 PATCHES=(
143 "${FILESDIR}"/flags.patch
144 - "${FILESDIR}"/nine-dll-path.patch
145 + "${FILESDIR}"/0.3-nine-dll-path.patch
146 )
147
148 bits() {
149 @@ -82,6 +82,8 @@ multilib_src_configure() {
150 local emesonargs=(
151 --cross-file "${S}/tools/cross-wine$(bits)"
152 --bindir "$(get_libdir)"
153 + -Ddistro-independent=false
154 + -Ddri2=false
155 )
156 meson_src_configure
157 }
158
159 diff --git a/app-emulation/gallium-nine-standalone/metadata.xml b/app-emulation/gallium-nine-standalone/metadata.xml
160 index c661f33f58d..99949f5b76d 100644
161 --- a/app-emulation/gallium-nine-standalone/metadata.xml
162 +++ b/app-emulation/gallium-nine-standalone/metadata.xml
163 @@ -15,6 +15,6 @@ Gallium Nine Standalone, as the name implies, is a standalone version of the WIN
164 This decouples Gallium Nine from the WINE tree, so that it can be used with any WINE version. There is no need for any WINE patches. A stable, development, or staging WINE release is sufficient.
165 </longdescription>
166 <upstream>
167 - <remote-id type="github">dhewg/nine</remote-id>
168 + <remote-id type="github">iXit/wine-nine-standalone</remote-id>
169 </upstream>
170 </pkgmetadata>