aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2021-07-27 08:53:25 -0400
committerNick Sarnie <sarnex@gentoo.org>2021-07-31 19:58:35 -0400
commit1505c9fb257fb43a42ff717c0706b1c78ed8cd68 (patch)
tree8880835d80a0c9aac31e61fb39d16dc7cc9ebc64
parentapp-emulation/wine-vanilla: drop deprecated ltprune eclass (diff)
downloadwine-1505c9fb257fb43a42ff717c0706b1c78ed8cd68.tar.gz
wine-1505c9fb257fb43a42ff717c0706b1c78ed8cd68.tar.bz2
wine-1505c9fb257fb43a42ff717c0706b1c78ed8cd68.zip
app-emulation/wine-mono: add shared support
Signed-off-by: Alex Xu (Hello71) <alex_y_xu@yahoo.ca> Closes: https://github.com/gentoo/repo-proj-wine/pull/20 Signed-off-by: Nick Sarnie <sarnex@gentoo.org>
-rw-r--r--app-emulation/wine-mono/Manifest12
-rw-r--r--app-emulation/wine-mono/metadata.xml3
-rw-r--r--app-emulation/wine-mono/wine-mono-4.8.1.ebuild12
-rw-r--r--app-emulation/wine-mono/wine-mono-4.8.3.ebuild12
-rw-r--r--app-emulation/wine-mono/wine-mono-4.9.0.ebuild12
-rw-r--r--app-emulation/wine-mono/wine-mono-4.9.2.ebuild12
-rw-r--r--app-emulation/wine-mono/wine-mono-4.9.3.ebuild12
-rw-r--r--app-emulation/wine-mono/wine-mono-4.9.4.ebuild12
-rw-r--r--app-emulation/wine-mono/wine-mono-5.0.0.ebuild12
-rw-r--r--app-emulation/wine-mono/wine-mono-5.1.0.ebuild12
-rw-r--r--app-emulation/wine-mono/wine-mono-5.1.1.ebuild12
-rw-r--r--app-emulation/wine-mono/wine-mono-6.0.0.ebuild12
-rw-r--r--app-emulation/wine-mono/wine-mono-6.1.1.ebuild12
-rw-r--r--app-emulation/wine-mono/wine-mono-6.2.0.ebuild12
14 files changed, 135 insertions, 24 deletions
diff --git a/app-emulation/wine-mono/Manifest b/app-emulation/wine-mono/Manifest
index 56c9b7f..231abd8 100644
--- a/app-emulation/wine-mono/Manifest
+++ b/app-emulation/wine-mono/Manifest
@@ -11,8 +11,20 @@ DIST wine-mono-4.9.2.msi 94981632 BLAKE2B b70a5177fad3c6ee2b04ef40105c7700a08339
DIST wine-mono-4.9.3.msi 95017472 BLAKE2B bf054bcff51e986ddb95788fdd1925ee13efe6e881089a23192d4ccb2527ccb2a2969917b9c3bb16a2161a2bd1d60c24605fd07e6c432f8f77c7c506222045f9 SHA512 4631d4e3b5118eb726f614e2f58f9e95f44bb97a1285fa726d3542d44e2a77ce818997ecb4de42e0d318d364d7c929f10d7c5176b59732e8b468e7695633706c
DIST wine-mono-4.9.4.msi 95266304 BLAKE2B fb9c81f8ac8fca104f766d62b02c8751b5b7b91740cb43942477c7bdcac382eafeb5fc9c3fe78191b19d81bc5f06dd5c33db7ecfbdaba5e6be69ed39a6827706 SHA512 d52a2cc1137eac87acdaecbb7a81b3d618cad9ad3d7bca5b29940b7432923bfc1497ec21501a05797ef52c6588bb9c5e312df5c02ede8448d1fe1f2880557fc9
DIST wine-mono-5.0.0-x86.msi 79537664 BLAKE2B f5a4185a7a63a1c1966d871d4c8d5bae07d3bbbc3153f20847c3919ac87be5644e15b45764286483641d9ce19176f79c7c7544e543fad62032ef5302a66ea8ea SHA512 8f83122d4b552b3a3d8b000abbd19b7a72edf45e52fa63a9220228240d8e4c014531bb265d062a38f6924fae07dd45420a5c7566f99e0c471e116fb80906c08c
+DIST wine-mono-5.0.0-x86.tar.xz 39005692 BLAKE2B d3a1e10d523da423ce34946cb39cad8ec99e6e57b1a979cf355027b5081b3f03c69019ebf26a786fef1a53dc2043fe915be94ad07c6264b2b6667cce445dd8b7 SHA512 4cd8ec4369c762394995efc594d0b6eb57de79b5c683a2af9c80ab795f700b4e355b5c732ef914b0551e77e0e6a1fecebaa64067d0e655fc736a0b828d324693
DIST wine-mono-5.1.0-x86.msi 84094976 BLAKE2B 25b044696f46810a843c17117f61532de3d4922f202e5acc2106b67f99eda6d359a799dd53ac4801380e81fdb5929c29e09a4923df99bf104b462ac77c682f29 SHA512 c4013307ba43121346f11881a30ff83d4921e0563a1ad3ff1adc34373f7bda5d5f6ad8c46bafe11c13ca372075333562864e073fe944428225b01fb885f9532f
+DIST wine-mono-5.1.0-x86.tar.xz 41627164 BLAKE2B c00ae53764d7269323c6b41bca5c8093612c970d0db03a09c743822496e1e587fa633d02f57c8d29efa36721966fad217c311fbbd6f3c8f9d8389aa92af1536e SHA512 64380288fc3a4fc324e15d8b864d995afe2bcb0c96ff02779b4f39c819a43d8e5e84162156ae011db7153a68f2a752c044149bec5804955822826622eb2cca5e
DIST wine-mono-5.1.1-x86.msi 84130304 BLAKE2B 05a5344b59249a758443cf91670eaef71d9ad3a3024b11442a8d3512ba54356439d503629fa799e2454975f47c0eaf6ff9e25ed61b020f29efceacc78347d578 SHA512 c518b93a470cc897abaf1dba18cc773dca0df62a28d35f32f2ddbe39b4de616c0307545bea5dc3ca87a01fd96b47feb3e1d8c3778106304b9cc08ebb3d1d665f
+DIST wine-mono-5.1.1-x86.tar.xz 44710604 BLAKE2B 162e5c8b12a0384d218ae049c8a948d48fe50ca51212e1c00f11a207f26a759c749d1b8cd416990856358af3d9899670a363d568eda83b66f5e94efc72eea1ff SHA512 9d2e1c42669164bb3c0096ade0dfd465f633436f18246b1a4d169ae0ae2e3b51d8f94d79409cb71a65b878705d5d38e6f4aa155787e340a9294ff22dbe39cf95
DIST wine-mono-6.0.0-x86.msi 87507456 BLAKE2B b3cd3c767ecab3f679f82ad5efe393c10bd87261b48d25804ac4fa200eeadae74f73ca59b6b31f2d64695f1ea28e43ea333fadc78bb4f0c3d97d22087667548d SHA512 04a499429572a88308c3b906d4f729648b0a5bdf53f24e3630b14f644aaaf6d9be603f08cc76e25a35010f9e347b4b93c308bab417e5e64a801050f932ea176b
+DIST wine-mono-6.0.0-x86.tar.xz 45485748 BLAKE2B d601de68562dc188eb24f775dd1613986f265780a9b700390601e3a126d4adc96477ae7405499a86aa6ecf70dccb9bb7cedfc60621f78ac6231fb51d90194d4d SHA512 746e9da61534f5453fce76a45204b8ffd6b5be296525173b057a5cf487e70919280141fccdf01cc61591d6de89da17449e20f14225859b95dc0240e6d7e46ef8
DIST wine-mono-6.1.1-x86.msi 87879168 BLAKE2B 3bd7ce6da017edd7d462e91afff17f17bf22179d7ff21f479de92d768c8414e329e497ad3a5860499db7c2075629020aa190cdba80285e28fac8996d3e4337ad SHA512 3d2c7b14e605023f45eedf487e14a106f751b1c8da1063efddf5875a7ab9d9d064489940e499b509a573b0daf8274f2375f80fc8e9c10419cff249048fba8a87
+DIST wine-mono-6.1.1-x86.tar.xz 45702072 BLAKE2B d4b52b11a89715a0d4d10add074c5b720bc30c5f41fa6f468784b45017e0e13ac91fea476c5276afa998dc634ff433f0063ad9d0f7de3df3a85d91f8aa212c88 SHA512 ecc2ab6875fffebc5e94c23fd04c84ce5550be65a7f5f1832d4c74a944680405c4cba28a59b7c362abb08d689e83f153543eb0ef375ec9b894295aba1eff99b1
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
+DIST wine-mono-bin-4.8.1.tar.gz 91047479 BLAKE2B ec970be25b6fcb6c4b93fecf7aa279397654be9614a12a31752b1b4c6f74fb8a52171112deaa64e8c55c8d8f88626f059a1876bcde001b0a032535f447babc77 SHA512 c3b8de735cb31805c1ac671fa7a5af53a2262e033f8eb1bba8bd82df77ea26305330500d661e25a2482e50ce17d4f14bca3973a4e48887c5ddfaab56c3ff59f8
+DIST wine-mono-bin-4.8.3.tar.gz 91309002 BLAKE2B d3a24fad76afce5a812d17cfcd585803393db95143d4c438164273eb50961120cd5081380738f43be0a574b6ffb676cb46fa70b933560e0164bd3f73b68d2fa9 SHA512 00564613d23cb724d04eb2515bb34dd561955a02800d17ec9cbc899697a5681aa47316bf5919ef27a61fe6f7d1d7ddf02e3d762e994d01cb4956301f2367f3c4
+DIST wine-mono-bin-4.9.0.tar.gz 90974210 BLAKE2B 008bcbe83da76247eb242bad8f03d7591a0831e24e71195929c7589d570226a8215a02aab59b1a1d2d2dda9e5e8020de3aad8a9fd2d6d0467f5f775b50b5276e SHA512 12bc6e3ca6d5ec7592ce7613b6c3ee1f6e415954f9866757d8c2fa7fa1b5b4488f1a58c368d482c47a4baad5c07431802a85e7d9df63029ef54d034669ccb01a
+DIST wine-mono-bin-4.9.2.tar.gz 90994821 BLAKE2B b90871525de1b800fdf420591d004ec9f776faa75092b47d32140ce1d4f8fe6f5c85b80680f570c4ddb3015758bf0739b8a555cde1dec7a5cd634e0320aeac8a SHA512 0dfd626ebe644535d03658885d6b45c5db7a62da0cf8f54df167785eef8eef05c11fb1a0279d616ec88078364ef9e78aaf45dc9a2fe4903d3444583e66a56454
+DIST wine-mono-bin-4.9.3.tar.gz 91014123 BLAKE2B cdd949a6aabb6e27fd01efb6bd9e54b9ee8deb3e0ba16f7a502d0c830bb1db9df2c7f05e2bc38df12d9cd27c25bf630eefedb6dd4bd37bc56267b62c3e316f87 SHA512 d5f40cc9864e378b181201eba6dcba8169137caa8184b2ad2837e58da0c4a85f201a6bef37ca99cd35676637d758eb129a64021aff5584e1cfd139401f0f8efd
+DIST wine-mono-bin-4.9.4.tar.gz 91218178 BLAKE2B 4147aa08b152775de1b1da018414631845d0e43fa84903c4268da67558ea17b76bb499a49b6ef3f90fc361e8d9cbc0875704a4251c559cb9115eda60bceacc50 SHA512 52dfacacb65bbf1fa977e56ff62145d2919405c6d9bcf86091dd0a4e98cb30269ba625d01483abd3770d4daf9d0b27a58e7d27c64f04dd0d95a509c04b1a18d1
diff --git a/app-emulation/wine-mono/metadata.xml b/app-emulation/wine-mono/metadata.xml
index a64284b..279a922 100644
--- a/app-emulation/wine-mono/metadata.xml
+++ b/app-emulation/wine-mono/metadata.xml
@@ -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>
diff --git a/app-emulation/wine-mono/wine-mono-4.8.1.ebuild b/app-emulation/wine-mono/wine-mono-4.8.1.ebuild
index 15aab24..1e5bc97 100644
--- a/app-emulation/wine-mono/wine-mono-4.8.1.ebuild
+++ b/app-emulation/wine-mono/wine-mono-4.8.1.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}.msi"
+SRC_URI="
+ !shared? ( https://dl.winehq.org/wine/${PN}/${PV}/${P}.msi )
+ shared? ( https://dl.winehq.org/wine/${PN}/${PV}/${PN}-bin-${PV}.tar.gz )
+"
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}.msi"
+ if use shared; then
+ doins -r "${P}"
+ else
+ doins "${DISTDIR}/${P}.msi"
+ fi
}
diff --git a/app-emulation/wine-mono/wine-mono-4.8.3.ebuild b/app-emulation/wine-mono/wine-mono-4.8.3.ebuild
index 15aab24..1e5bc97 100644
--- a/app-emulation/wine-mono/wine-mono-4.8.3.ebuild
+++ b/app-emulation/wine-mono/wine-mono-4.8.3.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}.msi"
+SRC_URI="
+ !shared? ( https://dl.winehq.org/wine/${PN}/${PV}/${P}.msi )
+ shared? ( https://dl.winehq.org/wine/${PN}/${PV}/${PN}-bin-${PV}.tar.gz )
+"
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}.msi"
+ if use shared; then
+ doins -r "${P}"
+ else
+ doins "${DISTDIR}/${P}.msi"
+ fi
}
diff --git a/app-emulation/wine-mono/wine-mono-4.9.0.ebuild b/app-emulation/wine-mono/wine-mono-4.9.0.ebuild
index 15aab24..1e5bc97 100644
--- a/app-emulation/wine-mono/wine-mono-4.9.0.ebuild
+++ b/app-emulation/wine-mono/wine-mono-4.9.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}.msi"
+SRC_URI="
+ !shared? ( https://dl.winehq.org/wine/${PN}/${PV}/${P}.msi )
+ shared? ( https://dl.winehq.org/wine/${PN}/${PV}/${PN}-bin-${PV}.tar.gz )
+"
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}.msi"
+ if use shared; then
+ doins -r "${P}"
+ else
+ doins "${DISTDIR}/${P}.msi"
+ fi
}
diff --git a/app-emulation/wine-mono/wine-mono-4.9.2.ebuild b/app-emulation/wine-mono/wine-mono-4.9.2.ebuild
index 15aab24..1e5bc97 100644
--- a/app-emulation/wine-mono/wine-mono-4.9.2.ebuild
+++ b/app-emulation/wine-mono/wine-mono-4.9.2.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}.msi"
+SRC_URI="
+ !shared? ( https://dl.winehq.org/wine/${PN}/${PV}/${P}.msi )
+ shared? ( https://dl.winehq.org/wine/${PN}/${PV}/${PN}-bin-${PV}.tar.gz )
+"
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}.msi"
+ if use shared; then
+ doins -r "${P}"
+ else
+ doins "${DISTDIR}/${P}.msi"
+ fi
}
diff --git a/app-emulation/wine-mono/wine-mono-4.9.3.ebuild b/app-emulation/wine-mono/wine-mono-4.9.3.ebuild
index 15aab24..1e5bc97 100644
--- a/app-emulation/wine-mono/wine-mono-4.9.3.ebuild
+++ b/app-emulation/wine-mono/wine-mono-4.9.3.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}.msi"
+SRC_URI="
+ !shared? ( https://dl.winehq.org/wine/${PN}/${PV}/${P}.msi )
+ shared? ( https://dl.winehq.org/wine/${PN}/${PV}/${PN}-bin-${PV}.tar.gz )
+"
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}.msi"
+ if use shared; then
+ doins -r "${P}"
+ else
+ doins "${DISTDIR}/${P}.msi"
+ fi
}
diff --git a/app-emulation/wine-mono/wine-mono-4.9.4.ebuild b/app-emulation/wine-mono/wine-mono-4.9.4.ebuild
index 15aab24..1e5bc97 100644
--- a/app-emulation/wine-mono/wine-mono-4.9.4.ebuild
+++ b/app-emulation/wine-mono/wine-mono-4.9.4.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}.msi"
+SRC_URI="
+ !shared? ( https://dl.winehq.org/wine/${PN}/${PV}/${P}.msi )
+ shared? ( https://dl.winehq.org/wine/${PN}/${PV}/${PN}-bin-${PV}.tar.gz )
+"
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}.msi"
+ if use shared; then
+ doins -r "${P}"
+ else
+ doins "${DISTDIR}/${P}.msi"
+ fi
}
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
}
diff --git a/app-emulation/wine-mono/wine-mono-5.1.0.ebuild b/app-emulation/wine-mono/wine-mono-5.1.0.ebuild
index 30b3315..5054224 100644
--- a/app-emulation/wine-mono/wine-mono-5.1.0.ebuild
+++ b/app-emulation/wine-mono/wine-mono-5.1.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
}
diff --git a/app-emulation/wine-mono/wine-mono-5.1.1.ebuild b/app-emulation/wine-mono/wine-mono-5.1.1.ebuild
index 30b3315..5054224 100644
--- a/app-emulation/wine-mono/wine-mono-5.1.1.ebuild
+++ b/app-emulation/wine-mono/wine-mono-5.1.1.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
}
diff --git a/app-emulation/wine-mono/wine-mono-6.0.0.ebuild b/app-emulation/wine-mono/wine-mono-6.0.0.ebuild
index 0860b6b..b396802 100644
--- a/app-emulation/wine-mono/wine-mono-6.0.0.ebuild
+++ b/app-emulation/wine-mono/wine-mono-6.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
}
diff --git a/app-emulation/wine-mono/wine-mono-6.1.1.ebuild b/app-emulation/wine-mono/wine-mono-6.1.1.ebuild
index 0860b6b..b396802 100644
--- a/app-emulation/wine-mono/wine-mono-6.1.1.ebuild
+++ b/app-emulation/wine-mono/wine-mono-6.1.1.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
}
diff --git a/app-emulation/wine-mono/wine-mono-6.2.0.ebuild b/app-emulation/wine-mono/wine-mono-6.2.0.ebuild
index 0860b6b..b396802 100644
--- a/app-emulation/wine-mono/wine-mono-6.2.0.ebuild
+++ b/app-emulation/wine-mono/wine-mono-6.2.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
}