diff options
author | Stephan Hartmann <sultan@gentoo.org> | 2021-12-23 19:19:30 +0100 |
---|---|---|
committer | Stephan Hartmann <sultan@gentoo.org> | 2021-12-23 19:20:06 +0100 |
commit | 7937dd6d51deaad8a6172787395b9d8032380c74 (patch) | |
tree | fa9b4d0326bbd1ee5cdd297111b4a335d1f40a73 /www-client | |
parent | dev-python/jupyter_client: Stabilize 7.1.0 ALLARCHES, #829882 (diff) | |
download | gentoo-7937dd6d51deaad8a6172787395b9d8032380c74.tar.gz gentoo-7937dd6d51deaad8a6172787395b9d8032380c74.tar.bz2 gentoo-7937dd6d51deaad8a6172787395b9d8032380c74.zip |
www-client/microsoft-edge: bump to 96.0.1054.62
Package-Manager: Portage-3.0.28, Repoman-3.0.3
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-96.0.1054.62.ebuild | 109 |
2 files changed, 110 insertions, 0 deletions
diff --git a/www-client/microsoft-edge/Manifest b/www-client/microsoft-edge/Manifest index 0459c4766a5c..984df4f5940a 100644 --- a/www-client/microsoft-edge/Manifest +++ b/www-client/microsoft-edge/Manifest @@ -1 +1,2 @@ DIST microsoft-edge-stable_96.0.1054.57-1_amd64.deb 118995000 BLAKE2B 14885621e782b5f720b1bdd98f6ad4069f7fd99f1d308ca90089758fcb4c653af0242c9fcb7d57fe9e726b0fd9274f246831a0182de508313bd1a989e173d972 SHA512 0a7b645bc45f591eca96487bef930dc60cf665a43f46c83cf2336ee5fde4e90d29d9a74fa7ff3fef9bacd29eb6a13b2c05cc23c54a1c4839dbfa6c7af37c5055 +DIST microsoft-edge-stable_96.0.1054.62-1_amd64.deb 119225788 BLAKE2B 26afac756e5b0346a62684f1a9126816714fd16fa5a5e2be070233dd192e34694af833550d76dfa2a8b492c1195c04acb90820c774577fe402758aa67b5ec59d SHA512 c135c54846cae0d5ad109315f5bda255c5eade0695f66e381f7486a736a28cc971dc4a30f7cdbb2913380287e13eadb61cb57ffeb4b6bf559a8e59bb68c2487d diff --git a/www-client/microsoft-edge/microsoft-edge-96.0.1054.62.ebuild b/www-client/microsoft-edge/microsoft-edge-96.0.1054.62.ebuild new file mode 100644 index 000000000000..098697866ecf --- /dev/null +++ b/www-client/microsoft-edge/microsoft-edge-96.0.1054.62.ebuild @@ -0,0 +1,109 @@ +# Copyright 2011-2021 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" + +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 + 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 +" + +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 + + pax-mark m "${EDGE_HOME}/msedge" +} |