Skip to content

Commit

Permalink
app-emulation/wine-mono: Sync with ::wine
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Nick Sarnie <[email protected]>
  • Loading branch information
sarnex committed Aug 1, 2021
1 parent b0ee689 commit a4cb528
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions app-emulation/wine-mono/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST wine-mono-6.2.0-x86.msi 87498240 BLAKE2B f7e20876732cbdfc472d5f850b167feceb4e09dd1d14db2d5e81580fb28cb1ec2fc7d1a48a187a0b0d0ad3884c3880a9f3512efdc5ace02795c3158b404a6770 SHA512 99007d7bf3bbdb97babdcc9411a3c9583c261918889e72f785e41cc0638fe4774d81040eebb7d3547ac2609a4684263feefa9e70b662f277ea1717dbd604d3d2
DIST wine-mono-6.2.0-x86.tar.xz 43071332 BLAKE2B f334600697375757c734ff22274665b3bc1cb7495d465e1d209b240b9b2aafdd93f9f246f5415e9f36526bceee6066a13fe01a81d93779dac35687fe0d44f7df SHA512 7e5ed7e4abf88d915d59715b107722135af08bb43e6356f9ae95fdafc539332150a82f85b67d15710ae4ece6c883733bab142f59894f70acd893cac85f6ca905
3 changes: 3 additions & 0 deletions app-emulation/wine-mono/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@
<upstream>
<remote-id type="github">madewokherd/wine-mono</remote-id>
</upstream>
<use>
<flag name="shared">Install pre-unpacked files which do not need to be copied into the Wine prefix</flag>
</use>
</pkgmetadata>
12 changes: 10 additions & 2 deletions app-emulation/wine-mono/wine-mono-6.2.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,25 @@ EAPI=7

DESCRIPTION="Wine Mono is a replacement for the .NET runtime and class libraries in Wine"
HOMEPAGE="https://www.winehq.org/"
SRC_URI="https://dl.winehq.org/wine/${PN}/${PV}/${P}-x86.msi"
SRC_URI="
!shared? ( https://dl.winehq.org/wine/${PN}/${PV}/${P}-x86.msi )
shared? ( https://dl.winehq.org/wine/${PN}/${PV}/${P}-x86.tar.xz )
"

LICENSE="BSD-2 GPL-2 LGPL-2.1 MIT MPL-1.1"
SLOT="${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="+shared"

DEPEND="!!app-emulation/wine:0"

S="${WORKDIR}"

src_install() {
insinto /usr/share/wine/mono
doins "${DISTDIR}/${P}-x86.msi"
if use shared; then
doins -r "${P}"
else
doins "${DISTDIR}/${P}-x86.msi"
fi
}

0 comments on commit a4cb528

Please sign in to comment.