diff options
author | Stephan Hartmann <sultan@gentoo.org> | 2022-03-17 21:17:52 +0100 |
---|---|---|
committer | Stephan Hartmann <sultan@gentoo.org> | 2022-03-17 21:22:52 +0100 |
commit | 2b67fc5aad6fb22da7d0a89a06aa1d717d8f3d6c (patch) | |
tree | 8cb424a889ce412c8f18fc2ec098860fda498679 /www-client | |
parent | www-servers/tomcat: bump to 8.5.77 (diff) | |
download | gentoo-2b67fc5aad6fb22da7d0a89a06aa1d717d8f3d6c.tar.gz gentoo-2b67fc5aad6fb22da7d0a89a06aa1d717d8f3d6c.tar.bz2 gentoo-2b67fc5aad6fb22da7d0a89a06aa1d717d8f3d6c.zip |
www-client/microsoft-edge: automated bump (99.0.1150.46)
Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/microsoft-edge/Manifest | 1 | ||||
-rw-r--r-- | www-client/microsoft-edge/microsoft-edge-99.0.1150.46.ebuild | 116 |
2 files changed, 117 insertions, 0 deletions
diff --git a/www-client/microsoft-edge/Manifest b/www-client/microsoft-edge/Manifest index 205d24fc01a8..5c534157b43c 100644 --- a/www-client/microsoft-edge/Manifest +++ b/www-client/microsoft-edge/Manifest @@ -1 +1,2 @@ DIST microsoft-edge-stable_99.0.1150.38-1_amd64.deb 117586720 BLAKE2B 7810ab1e2653043b0d916fb6372d0842a8592cb123cef52558730c157230ae9604f78314b1ecf78ee0bd445879d306e93c35ba093c1efe724d3492328ff483a0 SHA512 1930a9c735e2d309fae8d0890bb5b4733546c09d86f0f9290ff1d88a63895eab2d6eb27e0ad39a62e3657915f2e10966bc36f0523a1ac7831f45e6833cc45cda +DIST microsoft-edge-stable_99.0.1150.46-1_amd64.deb 117789352 BLAKE2B bc48bb1e7bcb716be3fae9367f4b81fc2f7c8e5e6a3413fe9585c079fa04ea5cce9870b6e3bb1aa8980508eb1774f3654b8913927e69adcbfb8c4f4031c32b36 SHA512 dcbde923e038e04ace82fd739446b4cf2384a262bbf47508e9fe8eb115d1aa1eba80cede1cd121afd8690d485531153821e901ea9650918ba1380f3566e10df3 diff --git a/www-client/microsoft-edge/microsoft-edge-99.0.1150.46.ebuild b/www-client/microsoft-edge/microsoft-edge-99.0.1150.46.ebuild new file mode 100644 index 000000000000..a8cc7e730ebf --- /dev/null +++ b/www-client/microsoft-edge/microsoft-edge-99.0.1150.46.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" +} |