diff options
author | Mike Gilbert <floppym@gentoo.org> | 2022-05-03 12:56:33 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2022-05-03 13:09:23 -0400 |
commit | 7c1429633f7c45b474d8da4fcdcf2c3f735cb789 (patch) | |
tree | 9b5ee288035bc94831d39e54dee537e1adcac2b3 /www-client | |
parent | sys-apps/xdg-desktop-portal-gnome: More cleanups (diff) | |
download | gentoo-7c1429633f7c45b474d8da4fcdcf2c3f735cb789.tar.gz gentoo-7c1429633f7c45b474d8da4fcdcf2c3f735cb789.tar.bz2 gentoo-7c1429633f7c45b474d8da4fcdcf2c3f735cb789.zip |
www-client/microsoft-edge: automated bump (101.0.1210.32)
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/microsoft-edge/Manifest | 2 | ||||
-rw-r--r-- | www-client/microsoft-edge/microsoft-edge-101.0.1210.32.ebuild | 116 |
2 files changed, 117 insertions, 1 deletions
diff --git a/www-client/microsoft-edge/Manifest b/www-client/microsoft-edge/Manifest index 6d44a9956986..9040f3b90fdd 100644 --- a/www-client/microsoft-edge/Manifest +++ b/www-client/microsoft-edge/Manifest @@ -1 +1 @@ -DIST microsoft-edge-stable_100.0.1185.44-1_amd64.deb 119252344 BLAKE2B a106e5cece8f03be7442d39d6d66ae050e3905a66cb7bb193352d70da894314a820cf11d81011bdae8836215ecbae4d3a4edc892fbf81d11b2b4bed60f979e06 SHA512 3e558e6fd38eaa8cd4f40a10a1c04955cefc751b74e4c6b429aad8df2ae257102903a1a1429f24d58a1bcded3e72e752dc4f741ea69da51faba62954989815fc +DIST microsoft-edge-stable_101.0.1210.32-1_amd64.deb 119486916 BLAKE2B 79da63b26b7609bc04841053728765e6f5e1579b736b806af8f5df5b4c9102e42db903d003bd2ac21551cba34f5eadde9d884b03b8c66cc0691a443e83eba15d SHA512 d334d93ec2fe1d906840ee6382f70264d3dbf544dcad870ac75224e11909720c5daa916a7fee5986649c5fc68d1ffd38fbc4f463218357579bb1b69dfec9f5b8 diff --git a/www-client/microsoft-edge/microsoft-edge-101.0.1210.32.ebuild b/www-client/microsoft-edge/microsoft-edge-101.0.1210.32.ebuild new file mode 100644 index 000000000000..a8cc7e730ebf --- /dev/null +++ b/www-client/microsoft-edge/microsoft-edge-101.0.1210.32.ebuild @@ -0,0 +1,116 @@ +# Copyright 2011-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit chromium-2 desktop pax-utils unpacker xdg + +DESCRIPTION="The web browser from Microsoft" +HOMEPAGE="https://www.microsoft.com/en-us/edge" + +if [[ ${PN} == microsoft-edge ]]; then + MY_PN=${PN}-stable +else + MY_PN=${PN} +fi + +KEYWORDS="-* ~amd64" + +MY_P="${MY_PN}_${PV}-1" + +SRC_URI="https://packages.microsoft.com/repos/edge/pool/main/m/${MY_PN}/${MY_P}_amd64.deb" + +LICENSE="microsoft-edge" +SLOT="0" +RESTRICT="bindist mirror strip" +IUSE="+mip" + +RDEPEND=" + app-accessibility/at-spi2-atk:2 + app-accessibility/at-spi2-core:2 + app-misc/ca-certificates + dev-libs/atk + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-fonts/liberation-fonts + media-libs/alsa-lib + media-libs/mesa[gbm(+)] + net-misc/curl[ssl] + net-print/cups + sys-apps/dbus + sys-apps/util-linux + sys-libs/glibc + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3[X] + x11-libs/libdrm + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libxcb + x11-libs/libxkbcommon + x11-libs/libxshmfence + x11-libs/pango + x11-misc/xdg-utils + mip? ( app-crypt/libsecret ) +" + +QA_PREBUILT="*" +QA_DESKTOP_FILE="usr/share/applications/microsoft-edge.*\\.desktop" +S=${WORKDIR} +EDGE_HOME="opt/microsoft/msedge${PN#microsoft-edge}" + +pkg_nofetch() { + eerror "Please wait 24 hours and sync your tree before reporting a bug for microsoft-edge fetch failures." +} + +pkg_pretend() { + # Protect against people using autounmask overzealously + use amd64 || die "microsoft-edge only works on amd64" +} + +pkg_setup() { + chromium_suid_sandbox_check_kernel_config +} + +src_unpack() { + : +} + +src_install() { + dodir / + cd "${ED}" || die + unpacker + + rm _gpgorigin || die + + rm -r etc usr/share/menu || die + mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die + + gzip -d usr/share/doc/${PF}/changelog.gz || die + gzip -d usr/share/man/man1/${MY_PN}.1.gz || die + if [[ -L usr/share/man/man1/${PN}.1.gz ]]; then + rm usr/share/man/man1/${PN}.1.gz || die + dosym ${MY_PN}.1 usr/share/man/man1/${PN}.1 + fi + + local suffix= + [[ ${PN} == microsoft-edge-beta ]] && suffix=_beta + [[ ${PN} == microsoft-edge-dev ]] && suffix=_dev + + local size + for size in 16 24 32 48 64 128 256 ; do + 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" +} |