Gentoo Archives: gentoo-commits

From: Nick Sarnie <sarnex@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/wine-mono/
Date: Sun, 01 Aug 2021 00:09:22
Message-Id: 1627776536.a4cb52850e63b7f83b7351eff34ae9c3b2233fd6.sarnex@gentoo
1 commit: a4cb52850e63b7f83b7351eff34ae9c3b2233fd6
2 Author: Nick Sarnie <sarnex <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 1 00:06:44 2021 +0000
4 Commit: Nick Sarnie <sarnex <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 1 00:08:56 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4cb5285
7
8 app-emulation/wine-mono: Sync with ::wine
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Nick Sarnie <sarnex <AT> gentoo.org>
12
13 app-emulation/wine-mono/Manifest | 1 +
14 app-emulation/wine-mono/metadata.xml | 3 +++
15 app-emulation/wine-mono/wine-mono-6.2.0.ebuild | 12 ++++++++++--
16 3 files changed, 14 insertions(+), 2 deletions(-)
17
18 diff --git a/app-emulation/wine-mono/Manifest b/app-emulation/wine-mono/Manifest
19 index 7443097e75c..4bbaddae8bf 100644
20 --- a/app-emulation/wine-mono/Manifest
21 +++ b/app-emulation/wine-mono/Manifest
22 @@ -1 +1,2 @@
23 DIST wine-mono-6.2.0-x86.msi 87498240 BLAKE2B f7e20876732cbdfc472d5f850b167feceb4e09dd1d14db2d5e81580fb28cb1ec2fc7d1a48a187a0b0d0ad3884c3880a9f3512efdc5ace02795c3158b404a6770 SHA512 99007d7bf3bbdb97babdcc9411a3c9583c261918889e72f785e41cc0638fe4774d81040eebb7d3547ac2609a4684263feefa9e70b662f277ea1717dbd604d3d2
24 +DIST wine-mono-6.2.0-x86.tar.xz 43071332 BLAKE2B f334600697375757c734ff22274665b3bc1cb7495d465e1d209b240b9b2aafdd93f9f246f5415e9f36526bceee6066a13fe01a81d93779dac35687fe0d44f7df SHA512 7e5ed7e4abf88d915d59715b107722135af08bb43e6356f9ae95fdafc539332150a82f85b67d15710ae4ece6c883733bab142f59894f70acd893cac85f6ca905
25
26 diff --git a/app-emulation/wine-mono/metadata.xml b/app-emulation/wine-mono/metadata.xml
27 index a64284bc1ee..279a9220271 100644
28 --- a/app-emulation/wine-mono/metadata.xml
29 +++ b/app-emulation/wine-mono/metadata.xml
30 @@ -11,4 +11,7 @@
31 <upstream>
32 <remote-id type="github">madewokherd/wine-mono</remote-id>
33 </upstream>
34 + <use>
35 + <flag name="shared">Install pre-unpacked files which do not need to be copied into the Wine prefix</flag>
36 + </use>
37 </pkgmetadata>
38
39 diff --git a/app-emulation/wine-mono/wine-mono-6.2.0.ebuild b/app-emulation/wine-mono/wine-mono-6.2.0.ebuild
40 index 0860b6bcb4b..b396802d99c 100644
41 --- a/app-emulation/wine-mono/wine-mono-6.2.0.ebuild
42 +++ b/app-emulation/wine-mono/wine-mono-6.2.0.ebuild
43 @@ -5,11 +5,15 @@ EAPI=7
44
45 DESCRIPTION="Wine Mono is a replacement for the .NET runtime and class libraries in Wine"
46 HOMEPAGE="https://www.winehq.org/"
47 -SRC_URI="https://dl.winehq.org/wine/${PN}/${PV}/${P}-x86.msi"
48 +SRC_URI="
49 + !shared? ( https://dl.winehq.org/wine/${PN}/${PV}/${P}-x86.msi )
50 + shared? ( https://dl.winehq.org/wine/${PN}/${PV}/${P}-x86.tar.xz )
51 +"
52
53 LICENSE="BSD-2 GPL-2 LGPL-2.1 MIT MPL-1.1"
54 SLOT="${PV}"
55 KEYWORDS="~amd64 ~x86"
56 +IUSE="+shared"
57
58 DEPEND="!!app-emulation/wine:0"
59
60 @@ -17,5 +21,9 @@ S="${WORKDIR}"
61
62 src_install() {
63 insinto /usr/share/wine/mono
64 - doins "${DISTDIR}/${P}-x86.msi"
65 + if use shared; then
66 + doins -r "${P}"
67 + else
68 + doins "${DISTDIR}/${P}-x86.msi"
69 + fi
70 }