aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/wine-mono/wine-mono-5.0.0.ebuild')
-rw-r--r--app-emulation/wine-mono/wine-mono-5.0.0.ebuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/app-emulation/wine-mono/wine-mono-5.0.0.ebuild b/app-emulation/wine-mono/wine-mono-5.0.0.ebuild
index 30b3315..5054224 100644
--- a/app-emulation/wine-mono/wine-mono-5.0.0.ebuild
+++ b/app-emulation/wine-mono/wine-mono-5.0.0.ebuild
@@ -5,11 +5,15 @@ 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"
@@ -17,5 +21,9 @@ 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
}