commit: 92cc11a05971f20654404e556debc1f8ad725786 Author: Stephan Hartmann <sultan <AT> gentoo <DOT> org> AuthorDate: Sat May 14 11:10:40 2022 +0000 Commit: Stephan Hartmann <sultan <AT> gentoo <DOT> org> CommitDate: Sat May 14 11:11:59 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92cc11a0
www-client/microsoft-edge: automated bump (101.0.1210.47) Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org> www-client/microsoft-edge/Manifest | 1 + .../microsoft-edge-101.0.1210.47.ebuild | 116 +++++++++++++++++++++ 2 files changed, 117 insertions(+) diff --git a/www-client/microsoft-edge/Manifest b/www-client/microsoft-edge/Manifest index ef23c39e5563..81dc2ae4497b 100644 --- a/www-client/microsoft-edge/Manifest +++ b/www-client/microsoft-edge/Manifest @@ -1 +1,2 @@ DIST microsoft-edge-stable_101.0.1210.39-1_amd64.deb 119390660 BLAKE2B c45385f86db5cf20f055165e3bff145fd7ad0fdb3e1784af6982e7460b9d182c77774b97422982c646427232385f23980a8ee554d2b8ad566cc013cad0af06ee SHA512 f522318fa4853a7f84e7f2abbd4b91ce2586411d4244afd19d0ae19667b74fae46c9b4f4e7090c5ec9f365eb603b76f9d501b107e040d1e1a144cca2f15d5eee +DIST microsoft-edge-stable_101.0.1210.47-1_amd64.deb 119464064 BLAKE2B a7d673ea1a1ef49d3fc0c16866b335e8f9f92f8b1626803a5f93a312e9520506c6e38a9952ca27987a718c42442f7657fd7cf547e8779a409f9e86334e85c915 SHA512 57dc5da52807f88244309da24fb3c4d1366432836a5eeed13f8bf68e41b49206250dfe62e58cd963f7d38c071d8a33d4d5d56002a2b3189113d327ca05ec3389 diff --git a/www-client/microsoft-edge/microsoft-edge-101.0.1210.47.ebuild b/www-client/microsoft-edge/microsoft-edge-101.0.1210.47.ebuild new file mode 100644 index 000000000000..a8cc7e730ebf --- /dev/null +++ b/www-client/microsoft-edge/microsoft-edge-101.0.1210.47.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" +}
