1 |
commit: 21b77ea34e77290ef48a6e5519706a175ac5926b |
2 |
Author: Stephan Hartmann <sultan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 27 21:37:26 2022 +0000 |
4 |
Commit: Stephan Hartmann <sultan <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 27 21:37:40 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21b77ea3 |
7 |
|
8 |
www-client/microsoft-edge-beta: add USE=mip |
9 |
|
10 |
Closes: https://bugs.gentoo.org/832097 |
11 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
12 |
Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org> |
13 |
|
14 |
www-client/microsoft-edge-beta/metadata.xml | 3 +++ |
15 |
....0.1108.23.ebuild => microsoft-edge-beta-98.0.1108.23-r1.ebuild} | 6 ++++++ |
16 |
....0.1108.27.ebuild => microsoft-edge-beta-98.0.1108.27-r1.ebuild} | 6 ++++++ |
17 |
3 files changed, 15 insertions(+) |
18 |
|
19 |
diff --git a/www-client/microsoft-edge-beta/metadata.xml b/www-client/microsoft-edge-beta/metadata.xml |
20 |
index c4f491930d33..a7689ec3a837 100644 |
21 |
--- a/www-client/microsoft-edge-beta/metadata.xml |
22 |
+++ b/www-client/microsoft-edge-beta/metadata.xml |
23 |
@@ -9,4 +9,7 @@ |
24 |
Microsoft Edge is a browser that combines a minimal design with |
25 |
sophisticated technology to make the web faster, safer, and easier. |
26 |
</longdescription> |
27 |
+ <use> |
28 |
+ <flag name="mip">Install Microsoft Information Protection plugin.</flag> |
29 |
+ </use> |
30 |
</pkgmetadata> |
31 |
|
32 |
diff --git a/www-client/microsoft-edge-beta/microsoft-edge-beta-98.0.1108.23.ebuild b/www-client/microsoft-edge-beta/microsoft-edge-beta-98.0.1108.23-r1.ebuild |
33 |
similarity index 94% |
34 |
rename from www-client/microsoft-edge-beta/microsoft-edge-beta-98.0.1108.23.ebuild |
35 |
rename to www-client/microsoft-edge-beta/microsoft-edge-beta-98.0.1108.23-r1.ebuild |
36 |
index ae99bf2a06bb..3e1b323cccbf 100644 |
37 |
--- a/www-client/microsoft-edge-beta/microsoft-edge-beta-98.0.1108.23.ebuild |
38 |
+++ b/www-client/microsoft-edge-beta/microsoft-edge-beta-98.0.1108.23-r1.ebuild |
39 |
@@ -23,6 +23,7 @@ SRC_URI="https://packages.microsoft.com/repos/edge/pool/main/m/${MY_PN}/${MY_P}_ |
40 |
LICENSE="microsoft-edge" |
41 |
SLOT="0" |
42 |
RESTRICT="bindist mirror strip" |
43 |
+IUSE="+mip" |
44 |
|
45 |
RDEPEND=" |
46 |
app-accessibility/at-spi2-atk:2 |
47 |
@@ -55,6 +56,7 @@ RDEPEND=" |
48 |
x11-libs/libxshmfence |
49 |
x11-libs/pango |
50 |
x11-misc/xdg-utils |
51 |
+ mip? ( app-crypt/libsecret ) |
52 |
" |
53 |
|
54 |
QA_PREBUILT="*" |
55 |
@@ -105,5 +107,9 @@ src_install() { |
56 |
newicon -s ${size} "${EDGE_HOME}/product_logo_${size}${suffix}.png" ${PN}.png |
57 |
done |
58 |
|
59 |
+ if ! use mip; then |
60 |
+ rm "${EDGE_HOME}"/libmip_{core,protection_sdk}.so || die |
61 |
+ fi |
62 |
+ |
63 |
pax-mark m "${EDGE_HOME}/msedge" |
64 |
} |
65 |
|
66 |
diff --git a/www-client/microsoft-edge-beta/microsoft-edge-beta-98.0.1108.27.ebuild b/www-client/microsoft-edge-beta/microsoft-edge-beta-98.0.1108.27-r1.ebuild |
67 |
similarity index 94% |
68 |
rename from www-client/microsoft-edge-beta/microsoft-edge-beta-98.0.1108.27.ebuild |
69 |
rename to www-client/microsoft-edge-beta/microsoft-edge-beta-98.0.1108.27-r1.ebuild |
70 |
index ae99bf2a06bb..3e1b323cccbf 100644 |
71 |
--- a/www-client/microsoft-edge-beta/microsoft-edge-beta-98.0.1108.27.ebuild |
72 |
+++ b/www-client/microsoft-edge-beta/microsoft-edge-beta-98.0.1108.27-r1.ebuild |
73 |
@@ -23,6 +23,7 @@ SRC_URI="https://packages.microsoft.com/repos/edge/pool/main/m/${MY_PN}/${MY_P}_ |
74 |
LICENSE="microsoft-edge" |
75 |
SLOT="0" |
76 |
RESTRICT="bindist mirror strip" |
77 |
+IUSE="+mip" |
78 |
|
79 |
RDEPEND=" |
80 |
app-accessibility/at-spi2-atk:2 |
81 |
@@ -55,6 +56,7 @@ RDEPEND=" |
82 |
x11-libs/libxshmfence |
83 |
x11-libs/pango |
84 |
x11-misc/xdg-utils |
85 |
+ mip? ( app-crypt/libsecret ) |
86 |
" |
87 |
|
88 |
QA_PREBUILT="*" |
89 |
@@ -105,5 +107,9 @@ src_install() { |
90 |
newicon -s ${size} "${EDGE_HOME}/product_logo_${size}${suffix}.png" ${PN}.png |
91 |
done |
92 |
|
93 |
+ if ! use mip; then |
94 |
+ rm "${EDGE_HOME}"/libmip_{core,protection_sdk}.so || die |
95 |
+ fi |
96 |
+ |
97 |
pax-mark m "${EDGE_HOME}/msedge" |
98 |
} |