diff options
author | Stephan Hartmann <sultan@gentoo.org> | 2021-11-24 23:04:52 +0100 |
---|---|---|
committer | Stephan Hartmann <sultan@gentoo.org> | 2021-11-24 23:05:08 +0100 |
commit | 293ff0ad3898327412f30a123fc5b0854bdb22b8 (patch) | |
tree | d63aa50a96c992c9978fca9225c9a1ada9295b56 /www-client | |
parent | dev-util/git-delta: add 0.10.0 (diff) | |
download | gentoo-293ff0ad3898327412f30a123fc5b0854bdb22b8.tar.gz gentoo-293ff0ad3898327412f30a123fc5b0854bdb22b8.tar.bz2 gentoo-293ff0ad3898327412f30a123fc5b0854bdb22b8.zip |
www-client/microsoft-edge: bump to 96.0.1054.34
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.34.ebuild | 109 |
2 files changed, 110 insertions, 0 deletions
diff --git a/www-client/microsoft-edge/Manifest b/www-client/microsoft-edge/Manifest index f2f2db8b469b..cff7f6e7bd36 100644 --- a/www-client/microsoft-edge/Manifest +++ b/www-client/microsoft-edge/Manifest @@ -1 +1,2 @@ DIST microsoft-edge-stable_95.0.1020.53-1_amd64.deb 115576464 BLAKE2B 524a7137a290e96d4d6aa65326aacca74e6d8f29607c096eb94b20fa962c9d4bd45a8e8ed84460f218a8748157745e5053ea6d41eb43dc4a60ccf759c510a6d2 SHA512 51cad592fedbbfada8a864d877f65478cc13aa67da7ad2119ad0a4f0af5dc5e400901bcf712345d487ec67ae024d9427f38a601a2acfa7fe9e07f8147da005d6 +DIST microsoft-edge-stable_96.0.1054.34-1_amd64.deb 118393292 BLAKE2B d646bd3a57ac4b1e98e9b20f933a1fe5602d2f675eecd82a0e3b17762958257da923794e1ba24fbe6e2cfa151e8b1918eceeaccbf65154406d7dc3b77b3e8305 SHA512 2a37534c65b338a452fcc599057884b8d31146f9b97f1506d82cc0352c51791b6bbcbe8636a2e3a545d791dd365ac07888b5302db20b21d40ee682f35bb56579 diff --git a/www-client/microsoft-edge/microsoft-edge-96.0.1054.34.ebuild b/www-client/microsoft-edge/microsoft-edge-96.0.1054.34.ebuild new file mode 100644 index 000000000000..098697866ecf --- /dev/null +++ b/www-client/microsoft-edge/microsoft-edge-96.0.1054.34.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" +} |