summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Hartmann <sultan@gentoo.org>2022-10-07 08:32:25 +0200
committerStephan Hartmann <sultan@gentoo.org>2022-10-07 08:32:50 +0200
commitc04c0b1debd6de9869021e8ff48ac18089c335a6 (patch)
treecf74c02eeee12d2e9139285c840fb8edde9c46ab /www-client/microsoft-edge
parentdev-ruby/rouge: add 4.0.0 (diff)
downloadgentoo-c04c0b1debd6de9869021e8ff48ac18089c335a6.tar.gz
gentoo-c04c0b1debd6de9869021e8ff48ac18089c335a6.tar.bz2
gentoo-c04c0b1debd6de9869021e8ff48ac18089c335a6.zip
www-client/microsoft-edge: automated bump (106.0.1370.37)
Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'www-client/microsoft-edge')
-rw-r--r--www-client/microsoft-edge/Manifest1
-rw-r--r--www-client/microsoft-edge/microsoft-edge-106.0.1370.37.ebuild117
2 files changed, 118 insertions, 0 deletions
diff --git a/www-client/microsoft-edge/Manifest b/www-client/microsoft-edge/Manifest
index 8235b31f8d65..f084061c8fe4 100644
--- a/www-client/microsoft-edge/Manifest
+++ b/www-client/microsoft-edge/Manifest
@@ -1 +1,2 @@
DIST microsoft-edge-stable_106.0.1370.34-1_amd64.deb 136032948 BLAKE2B 3b0e6ceb7b518296c1dfca676f15aa8c8c163f41ef1d71853261fcd8ce49e7ac2f2fdae8057d98a635a55b92020aa0dc8c324beb4f47ed171519c3a6863ea813 SHA512 100dd0445e3b9c813c81bebf0f8a6e49b8e7b35393c485cf86a7392b534ceec70b4b4f5a0e049384a65574f7225fbfcf49e027a800d36298cc0d0a85ce9e4103
+DIST microsoft-edge-stable_106.0.1370.37-1_amd64.deb 136023320 BLAKE2B 10b13d2f0229772f8045b6edd3e0193a0d452889669814522d3e8466ac6e9824840fa660cf8e796e446a82b1111c7537aa5d4055bc31b9633d311946a505f695 SHA512 4d43417fbbe488aa855325017b4af6b5750f3db6902e1eeabe1264304cb46195651a6bfce064c7b3a9c3c6f1eaa1ed01857ef7ffa5c843fe4616f4e9bfe32d4c
diff --git a/www-client/microsoft-edge/microsoft-edge-106.0.1370.37.ebuild b/www-client/microsoft-edge/microsoft-edge-106.0.1370.37.ebuild
new file mode 100644
index 000000000000..873f8ce87360
--- /dev/null
+++ b/www-client/microsoft-edge/microsoft-edge-106.0.1370.37.ebuild
@@ -0,0 +1,117 @@
+# 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-core-2.46.0:2
+ ( app-accessibility/at-spi2-atk dev-libs/atk )
+ )
+ app-misc/ca-certificates
+ 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 -f _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"
+}