1 |
commit: 90e4b42cc3c6fcc094ffe8b413f338ea96c92517 |
2 |
Author: Alex Xu (Hello71) <alex_y_xu <AT> yahoo <DOT> ca> |
3 |
AuthorDate: Tue Jul 27 13:01:13 2021 +0000 |
4 |
Commit: Nick Sarnie <sarnex <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 31 23:59:44 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/wine.git/commit/?id=90e4b42c |
7 |
|
8 |
app-emulation/wine-gecko: add shared |
9 |
|
10 |
skip 2.47 and 2.47.1, because poor support for shared upstream in those |
11 |
versions, and they are also not used by any current gentoo wines |
12 |
|
13 |
Signed-off-by: Alex Xu (Hello71) <alex_y_xu <AT> yahoo.ca> |
14 |
Closes: https://github.com/gentoo/repo-proj-wine/pull/21 |
15 |
Signed-off-by: Nick Sarnie <sarnex <AT> gentoo.org> |
16 |
|
17 |
app-emulation/wine-gecko/Manifest | 2 ++ |
18 |
app-emulation/wine-gecko/metadata.xml | 3 +++ |
19 |
app-emulation/wine-gecko/wine-gecko-2.47.2.ebuild | 25 ++++++++++++++++------- |
20 |
3 files changed, 23 insertions(+), 7 deletions(-) |
21 |
|
22 |
diff --git a/app-emulation/wine-gecko/Manifest b/app-emulation/wine-gecko/Manifest |
23 |
index c62e382..1742a2d 100644 |
24 |
--- a/app-emulation/wine-gecko/Manifest |
25 |
+++ b/app-emulation/wine-gecko/Manifest |
26 |
@@ -1,6 +1,8 @@ |
27 |
DIST wine-gecko-2.47.1-x86.msi 50735104 BLAKE2B c082e22fdbf1681e0c38e8822bc1a8f99b47d91f7d32f22bfad716685553d3d10fd4004f90135d90f39f4ff05cba37665455679e08ce3a140ca8ded76cb7a9ea SHA512 ef13838bf7d5bdd74d06bbbdccc6b18cc75b4d0c2b3db8c978b9500cdfeb058bf5532d89b77c164eab52c1f93ae2e2540b37f6694a3e560aace3ebc7da2c7596 |
28 |
DIST wine-gecko-2.47.1-x86_64.msi 52311040 BLAKE2B 2a9aa68461d2b9f69ada1e50925de7ba9804a4992c9d0a717c9c5d1340179e7f10e550c8db170bb33c79e24dcd068e00648c572c6b4e4d836a507ada6e7bbccd SHA512 f875d9a7c68a33abf6dd25d61ff6dd3e5ff246768880e3ee4984ab63b065a7b0ef55411b710e4cb9db48bd2114cbd3fbd97f24e819d7d71c2212dd612abaaf43 |
29 |
DIST wine-gecko-2.47.2-x86.msi 59162112 BLAKE2B 75197c5145dd047d637ea950ed1df918b79446bbb5aae642a90d95af96870cd1756b8469deca105d986ae2dc166ad1b2b89dd7e16c7d13baa4b215b30c3ba909 SHA512 4e6e688fada1edd3d7e0e131246dcae8c6db1a2fde946540b6f8c8b2deee8aa19f210368132f00789d4f49bf2b5e5ac671d4d3699f557e652ece50e55fbcbd43 |
30 |
+DIST wine-gecko-2.47.2-x86.tar.xz 45556880 BLAKE2B 43334edd68f22e21347a49bcd7321d90111652fe6143fcb94fa97cee950701f1891b41e8c4ea75854d5232a74c2007534d3fdb190c6abfb96290193f6a4546d2 SHA512 de39bacf9e8b45971e3e675ccbbac0731855b81e148619a98fb126c38ab385f10f1e68e0a52a663fa1a079192b378f4d4e4cdb0a11c5e9dd46221a9604214250 |
31 |
DIST wine-gecko-2.47.2-x86_64.msi 55354880 BLAKE2B c234602e29a6597d26e7a78ec85ac66471ecd8fcea5360d6f32323e4cbee4aca2ccd5530706e8779346ff2d08f1c4900fef198763e431ce7cd232ef117933336 SHA512 9bbaf061d5d2035e6df0898a847697bbed071abaf95ccde08b5ace7a2c6fc871db16443596b23a889def82f98591973fe8ca88063021d8779f8faa48973f239c |
32 |
+DIST wine-gecko-2.47.2-x86_64.tar.xz 43025348 BLAKE2B 0c956043d7a49cdd88a3af4b25191087fd638a68b958e13a46bbf4310ecf7cdeb973eb3ea5b254f2d4f90f2a715d35c25a67b1883159a60a0ff6eea70e0f1077 SHA512 cf7af1087823188c3be6665d7662bf1029c58b4b8db271e5f4bfed15df217b905653b034b62ed0fa961f528be40f0325b378669d27c9a18ef5b9d98ef8c63aeb |
33 |
DIST wine_gecko-2.47-x86.msi 49266176 BLAKE2B 6b1d4ebf53fac422c2da9ae7f5b6ab9064d2b6cc20d57fe13707395e71305ac1607a440624d3a545fe1e0391bc92bf5b594173549e519eda967bb833b69b2f52 SHA512 e0d06102dcb8ec2d24e8c8c3f5c2ee5cb47c18e203dfb43d85de008d682ff874fb664fef1df909a5a7857de39c7e8ce5175e734a11964ec4cd35f8fbacaea3a4 |
34 |
DIST wine_gecko-2.47-x86_64.msi 50806272 BLAKE2B 6f91d4661a322eca41042cb7a246d5bff76ab72b4bda67183fc36735c923bd6d76624f21fd3e59f63fd872704edcf0116a6e7ab4fa6f074f5098c8fb5307534c SHA512 7c2496b15a06bc6906bc60afb3ac082e3f9931207fa624e60297020211d66aa9b420a61e95730a0dbdcefbe4b26c811d0c896ecd9c363b5107d08c3fa22fef41 |
35 |
|
36 |
diff --git a/app-emulation/wine-gecko/metadata.xml b/app-emulation/wine-gecko/metadata.xml |
37 |
index 41e683d..26d83e5 100644 |
38 |
--- a/app-emulation/wine-gecko/metadata.xml |
39 |
+++ b/app-emulation/wine-gecko/metadata.xml |
40 |
@@ -11,4 +11,7 @@ |
41 |
<upstream> |
42 |
<remote-id type="sourceforge">wine/wine-gecko</remote-id> |
43 |
</upstream> |
44 |
+ <use> |
45 |
+ <flag name="shared">Install pre-unpacked files which do not need to be copied into the Wine prefix</flag> |
46 |
+ </use> |
47 |
</pkgmetadata> |
48 |
|
49 |
diff --git a/app-emulation/wine-gecko/wine-gecko-2.47.2.ebuild b/app-emulation/wine-gecko/wine-gecko-2.47.2.ebuild |
50 |
index 6f99f66..ad3c90c 100644 |
51 |
--- a/app-emulation/wine-gecko/wine-gecko-2.47.2.ebuild |
52 |
+++ b/app-emulation/wine-gecko/wine-gecko-2.47.2.ebuild |
53 |
@@ -1,4 +1,4 @@ |
54 |
-# Copyright 1999-2020 Gentoo Authors |
55 |
+# Copyright 1999-2021 Gentoo Authors |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
|
58 |
EAPI=6 |
59 |
@@ -6,21 +6,32 @@ EAPI=6 |
60 |
DESCRIPTION="A Mozilla Gecko based version of Internet Explorer for Wine" |
61 |
HOMEPAGE="https://winehq.org" |
62 |
SRC_URI=" |
63 |
- abi_x86_32? ( https://dl.winehq.org/wine/${PN}/${PV}/${PN}-${PV}-x86.msi ) |
64 |
- abi_x86_64? ( https://dl.winehq.org/wine/${PN}/${PV}/${PN}-${PV}-x86_64.msi ) |
65 |
+ !shared? ( |
66 |
+ abi_x86_32? ( https://dl.winehq.org/wine/${PN}/${PV}/${PN}-${PV}-x86.msi ) |
67 |
+ abi_x86_64? ( https://dl.winehq.org/wine/${PN}/${PV}/${PN}-${PV}-x86_64.msi ) |
68 |
+ ) |
69 |
+ shared? ( |
70 |
+ abi_x86_32? ( https://dl.winehq.org/wine/${PN}/${PV}/${PN}-${PV}-x86.tar.xz ) |
71 |
+ abi_x86_64? ( https://dl.winehq.org/wine/${PN}/${PV}/${PN}-${PV}-x86_64.tar.xz ) |
72 |
+ ) |
73 |
" |
74 |
|
75 |
LICENSE="Apache-2.0 BSD BSD-2 MIT MPL-2.0" |
76 |
SLOT="${PV}" |
77 |
KEYWORDS="~amd64 ~x86" |
78 |
-IUSE="abi_x86_32 abi_x86_64" |
79 |
+IUSE="abi_x86_32 abi_x86_64 +shared" |
80 |
|
81 |
DEPEND="!!app-emulation/wine:0" |
82 |
|
83 |
S="${WORKDIR}" |
84 |
|
85 |
-src_install(){ |
86 |
+src_install() { |
87 |
insinto /usr/share/wine/gecko |
88 |
- use abi_x86_32 && doins "${DISTDIR}/${PN}-${PV}-x86.msi" |
89 |
- use abi_x86_64 && doins "${DISTDIR}/${PN}-${PV}-x86_64.msi" |
90 |
+ if use shared; then |
91 |
+ use abi_x86_32 && doins -r "${P}-x86" |
92 |
+ use abi_x86_64 && doins -r "${P}-x86_64" |
93 |
+ else |
94 |
+ use abi_x86_32 && doins "${DISTDIR}/${PN}-${PV}-x86.msi" |
95 |
+ use abi_x86_64 && doins "${DISTDIR}/${PN}-${PV}-x86_64.msi" |
96 |
+ fi |
97 |
} |