commit:     38b805eeb569f0acb15a935a9801cfb98d766210
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  9 11:23:33 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Sep 10 09:47:13 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38b805ee

app-emulation/wine-mono: add 7.3.1, EAPI7->8, use github URIs

While current wine-proton-7.0.4 is using common 7.3.0, it has
a history of using more bleeding edge mono that is not always
available on winehq's mirrors, and 7.0.9999 switched to 7.3.1.

Also cleanup the nearly 5 years old wine:0 blocker.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 app-emulation/wine-mono/Manifest               |  2 ++
 app-emulation/wine-mono/wine-mono-7.3.1.ebuild | 26 ++++++++++++++++++++++++++
 2 files changed, 28 insertions(+)

diff --git a/app-emulation/wine-mono/Manifest b/app-emulation/wine-mono/Manifest
index 9da8080645d6..c55ba7ae8ae1 100644
--- a/app-emulation/wine-mono/Manifest
+++ b/app-emulation/wine-mono/Manifest
@@ -2,3 +2,5 @@ DIST wine-mono-7.0.0-x86.msi 86433280 BLAKE2B 
9d164bf10f9c790a1f518624321a779658
 DIST wine-mono-7.0.0-x86.tar.xz 45085800 BLAKE2B 
504c57acce486c19a54bf33cdb4b9444c07a58a7f56ced0c93178886a91fa5d94a61f6e26aa885f3e3a2cceb2ff792f01006a4b16fa5bb88c3d25ddff02fefd7
 SHA512 
a3977563c5eb6418eaeda25e5b39bd2ef1faf305d514979211e049280c4577718ca48c8566e527b97a58fc465b310dd600093a616102573e12e8985794d828a6
 DIST wine-mono-7.3.0-x86.msi 86919680 BLAKE2B 
917aa260ba7a012ed1e1565f8ed23225c82060c82dbb74a1e0d105a7b38a1d840c20689e0a8e7cc1a5c5de938807c78f36c98cbef07270accaf789b6b031f22d
 SHA512 
d92ab4a9d0ac1c48dfec583b1681317e9ec9556efcb18766a865bee06a3a53ea08159099ca3ec92149f677d67583648991d59adb9b8a612ef41de06da8c77fd2
 DIST wine-mono-7.3.0-x86.tar.xz 43557004 BLAKE2B 
919912faf97cf38b2fcc9813de4e035d907b0a00db78d2a251c1c43dab65ba44847ecbf494a15dba761d9ba8203855c1a6e5f5bbd07f20484c9948c3cfe4d3bc
 SHA512 
c26dc21d0d462b3c79e778497815e33d26b5ab545eba0552b436f30d9b7aa340ccdef69fe0dcbf32c04330e6d0f813314646ded7d2d24e6f4746e4893adbbf7f
+DIST wine-mono-7.3.1-x86.msi 86930432 BLAKE2B 
f43b605ab7b07a7b4d8d4675297af6e827e81b2b232c6991fb1f559a247c6b546490017dd4e1aab04aad664570cb90152ff872be61bb8e12a154ae2366dbb21c
 SHA512 
dd9f3860c4b52edce44f51b27de2a3b4acc97271d661e41310b889fa378f502458739caaa548fff5e16ddba418d40d647528c151c0413519df54c38f9e237946
+DIST wine-mono-7.3.1-x86.tar.xz 43216532 BLAKE2B 
bc00f41d2e9e88c0a687fad6bdd48e9a836f3d7369747602665691ca3e430c895655e9c5e9ef955a5cf45a96818b6858bc3cc93d90c3d7a49f8d8f4ff824d45a
 SHA512 
a2c8d10d9b34fd7775eeddb6494b84f2f04e6a2f21d93940dc902434b189d43bdfdcd198baf8133cda8b17c2bc25ee84538e12a32027cdd66da9ab029eed6777

diff --git a/app-emulation/wine-mono/wine-mono-7.3.1.ebuild 
b/app-emulation/wine-mono/wine-mono-7.3.1.ebuild
new file mode 100644
index 000000000000..f32c9e9a3a3f
--- /dev/null
+++ b/app-emulation/wine-mono/wine-mono-7.3.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Replacement for the .NET runtime and class libraries in Wine"
+HOMEPAGE="https://www.winehq.org/";
+SRC_URI="
+       shared? ( 
https://github.com/madewokherd/wine-mono/releases/download/${P}/${P}-x86.tar.xz 
)
+       !shared? ( 
https://github.com/madewokherd/wine-mono/releases/download/${P}/${P}-x86.msi )"
+S="${WORKDIR}"
+
+LICENSE="BSD-2 GPL-2 LGPL-2.1 MIT MPL-1.1"
+SLOT="${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+shared"
+
+src_install() {
+       insinto /usr/share/wine/mono
+
+       if use shared; then
+               doins -r ${P}
+       else
+               doins "${DISTDIR}"/${P}-x86.msi
+       fi
+}

Reply via email to