Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/wine-mono/
Date: Sat, 10 Sep 2022 09:48:33
Message-Id: 1662803233.38b805eeb569f0acb15a935a9801cfb98d766210.ionen@gentoo
1 commit: 38b805eeb569f0acb15a935a9801cfb98d766210
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 9 11:23:33 2022 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 10 09:47:13 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38b805ee
7
8 app-emulation/wine-mono: add 7.3.1, EAPI7->8, use github URIs
9
10 While current wine-proton-7.0.4 is using common 7.3.0, it has
11 a history of using more bleeding edge mono that is not always
12 available on winehq's mirrors, and 7.0.9999 switched to 7.3.1.
13
14 Also cleanup the nearly 5 years old wine:0 blocker.
15
16 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
17
18 app-emulation/wine-mono/Manifest | 2 ++
19 app-emulation/wine-mono/wine-mono-7.3.1.ebuild | 26 ++++++++++++++++++++++++++
20 2 files changed, 28 insertions(+)
21
22 diff --git a/app-emulation/wine-mono/Manifest b/app-emulation/wine-mono/Manifest
23 index 9da8080645d6..c55ba7ae8ae1 100644
24 --- a/app-emulation/wine-mono/Manifest
25 +++ b/app-emulation/wine-mono/Manifest
26 @@ -2,3 +2,5 @@ DIST wine-mono-7.0.0-x86.msi 86433280 BLAKE2B 9d164bf10f9c790a1f518624321a779658
27 DIST wine-mono-7.0.0-x86.tar.xz 45085800 BLAKE2B 504c57acce486c19a54bf33cdb4b9444c07a58a7f56ced0c93178886a91fa5d94a61f6e26aa885f3e3a2cceb2ff792f01006a4b16fa5bb88c3d25ddff02fefd7 SHA512 a3977563c5eb6418eaeda25e5b39bd2ef1faf305d514979211e049280c4577718ca48c8566e527b97a58fc465b310dd600093a616102573e12e8985794d828a6
28 DIST wine-mono-7.3.0-x86.msi 86919680 BLAKE2B 917aa260ba7a012ed1e1565f8ed23225c82060c82dbb74a1e0d105a7b38a1d840c20689e0a8e7cc1a5c5de938807c78f36c98cbef07270accaf789b6b031f22d SHA512 d92ab4a9d0ac1c48dfec583b1681317e9ec9556efcb18766a865bee06a3a53ea08159099ca3ec92149f677d67583648991d59adb9b8a612ef41de06da8c77fd2
29 DIST wine-mono-7.3.0-x86.tar.xz 43557004 BLAKE2B 919912faf97cf38b2fcc9813de4e035d907b0a00db78d2a251c1c43dab65ba44847ecbf494a15dba761d9ba8203855c1a6e5f5bbd07f20484c9948c3cfe4d3bc SHA512 c26dc21d0d462b3c79e778497815e33d26b5ab545eba0552b436f30d9b7aa340ccdef69fe0dcbf32c04330e6d0f813314646ded7d2d24e6f4746e4893adbbf7f
30 +DIST wine-mono-7.3.1-x86.msi 86930432 BLAKE2B f43b605ab7b07a7b4d8d4675297af6e827e81b2b232c6991fb1f559a247c6b546490017dd4e1aab04aad664570cb90152ff872be61bb8e12a154ae2366dbb21c SHA512 dd9f3860c4b52edce44f51b27de2a3b4acc97271d661e41310b889fa378f502458739caaa548fff5e16ddba418d40d647528c151c0413519df54c38f9e237946
31 +DIST wine-mono-7.3.1-x86.tar.xz 43216532 BLAKE2B bc00f41d2e9e88c0a687fad6bdd48e9a836f3d7369747602665691ca3e430c895655e9c5e9ef955a5cf45a96818b6858bc3cc93d90c3d7a49f8d8f4ff824d45a SHA512 a2c8d10d9b34fd7775eeddb6494b84f2f04e6a2f21d93940dc902434b189d43bdfdcd198baf8133cda8b17c2bc25ee84538e12a32027cdd66da9ab029eed6777
32
33 diff --git a/app-emulation/wine-mono/wine-mono-7.3.1.ebuild b/app-emulation/wine-mono/wine-mono-7.3.1.ebuild
34 new file mode 100644
35 index 000000000000..f32c9e9a3a3f
36 --- /dev/null
37 +++ b/app-emulation/wine-mono/wine-mono-7.3.1.ebuild
38 @@ -0,0 +1,26 @@
39 +# Copyright 1999-2022 Gentoo Authors
40 +# Distributed under the terms of the GNU General Public License v2
41 +
42 +EAPI=8
43 +
44 +DESCRIPTION="Replacement for the .NET runtime and class libraries in Wine"
45 +HOMEPAGE="https://www.winehq.org/"
46 +SRC_URI="
47 + shared? ( https://github.com/madewokherd/wine-mono/releases/download/${P}/${P}-x86.tar.xz )
48 + !shared? ( https://github.com/madewokherd/wine-mono/releases/download/${P}/${P}-x86.msi )"
49 +S="${WORKDIR}"
50 +
51 +LICENSE="BSD-2 GPL-2 LGPL-2.1 MIT MPL-1.1"
52 +SLOT="${PV}"
53 +KEYWORDS="~amd64 ~x86"
54 +IUSE="+shared"
55 +
56 +src_install() {
57 + insinto /usr/share/wine/mono
58 +
59 + if use shared; then
60 + doins -r ${P}
61 + else
62 + doins "${DISTDIR}"/${P}-x86.msi
63 + fi
64 +}