commit: 21b77ea34e77290ef48a6e5519706a175ac5926b Author: Stephan Hartmann <sultan <AT> gentoo <DOT> org> AuthorDate: Thu Jan 27 21:37:26 2022 +0000 Commit: Stephan Hartmann <sultan <AT> gentoo <DOT> org> CommitDate: Thu Jan 27 21:37:40 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21b77ea3
www-client/microsoft-edge-beta: add USE=mip Closes: https://bugs.gentoo.org/832097 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org> www-client/microsoft-edge-beta/metadata.xml | 3 +++ ....0.1108.23.ebuild => microsoft-edge-beta-98.0.1108.23-r1.ebuild} | 6 ++++++ ....0.1108.27.ebuild => microsoft-edge-beta-98.0.1108.27-r1.ebuild} | 6 ++++++ 3 files changed, 15 insertions(+) diff --git a/www-client/microsoft-edge-beta/metadata.xml b/www-client/microsoft-edge-beta/metadata.xml index c4f491930d33..a7689ec3a837 100644 --- a/www-client/microsoft-edge-beta/metadata.xml +++ b/www-client/microsoft-edge-beta/metadata.xml @@ -9,4 +9,7 @@ Microsoft Edge is a browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier. </longdescription> + <use> + <flag name="mip">Install Microsoft Information Protection plugin.</flag> + </use> </pkgmetadata> 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 similarity index 94% rename from www-client/microsoft-edge-beta/microsoft-edge-beta-98.0.1108.23.ebuild rename to www-client/microsoft-edge-beta/microsoft-edge-beta-98.0.1108.23-r1.ebuild index ae99bf2a06bb..3e1b323cccbf 100644 --- 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 @@ -23,6 +23,7 @@ SRC_URI="https://packages.microsoft.com/repos/edge/pool/main/m/${MY_PN}/${MY_P}_ LICENSE="microsoft-edge" SLOT="0" RESTRICT="bindist mirror strip" +IUSE="+mip" RDEPEND=" app-accessibility/at-spi2-atk:2 @@ -55,6 +56,7 @@ RDEPEND=" x11-libs/libxshmfence x11-libs/pango x11-misc/xdg-utils + mip? ( app-crypt/libsecret ) " QA_PREBUILT="*" @@ -105,5 +107,9 @@ src_install() { newicon -s ${size} "${EDGE_HOME}/product_logo_${size}${suffix}.png" ${PN}.png done + if ! use mip; then + rm "${EDGE_HOME}"/libmip_{core,protection_sdk}.so || die + fi + pax-mark m "${EDGE_HOME}/msedge" } 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 similarity index 94% rename from www-client/microsoft-edge-beta/microsoft-edge-beta-98.0.1108.27.ebuild rename to www-client/microsoft-edge-beta/microsoft-edge-beta-98.0.1108.27-r1.ebuild index ae99bf2a06bb..3e1b323cccbf 100644 --- 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 @@ -23,6 +23,7 @@ SRC_URI="https://packages.microsoft.com/repos/edge/pool/main/m/${MY_PN}/${MY_P}_ LICENSE="microsoft-edge" SLOT="0" RESTRICT="bindist mirror strip" +IUSE="+mip" RDEPEND=" app-accessibility/at-spi2-atk:2 @@ -55,6 +56,7 @@ RDEPEND=" x11-libs/libxshmfence x11-libs/pango x11-misc/xdg-utils + mip? ( app-crypt/libsecret ) " QA_PREBUILT="*" @@ -105,5 +107,9 @@ src_install() { newicon -s ${size} "${EDGE_HOME}/product_logo_${size}${suffix}.png" ${PN}.png done + if ! use mip; then + rm "${EDGE_HOME}"/libmip_{core,protection_sdk}.so || die + fi + pax-mark m "${EDGE_HOME}/msedge" }
