summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Hartmann <sultan@gentoo.org>2022-06-10 14:11:33 +0200
committerStephan Hartmann <sultan@gentoo.org>2022-06-10 14:11:33 +0200
commit2c8c84b3da1839f5ccdd960d1193e5fa8e022602 (patch)
tree5169e41b2974fc6216162391ead6a0e3a65e896b
parentwww-plugins/chrome-binary-plugins: automated update (102.0.5005.115) (diff)
downloadgentoo-2c8c84b3da1839f5ccdd960d1193e5fa8e022602.tar.gz
gentoo-2c8c84b3da1839f5ccdd960d1193e5fa8e022602.tar.bz2
gentoo-2c8c84b3da1839f5ccdd960d1193e5fa8e022602.zip
www-client/microsoft-edge: automated bump (102.0.1245.39)
Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
-rw-r--r--www-client/microsoft-edge/Manifest1
-rw-r--r--www-client/microsoft-edge/microsoft-edge-102.0.1245.39.ebuild116
2 files changed, 117 insertions, 0 deletions
diff --git a/www-client/microsoft-edge/Manifest b/www-client/microsoft-edge/Manifest
index e0fd499af798..b7c2f938418b 100644
--- a/www-client/microsoft-edge/Manifest
+++ b/www-client/microsoft-edge/Manifest
@@ -1 +1,2 @@
DIST microsoft-edge-stable_102.0.1245.33-1_amd64.deb 119481900 BLAKE2B e0c422adff4db09da4b28d51e541e7b6186454ab9be81e51a911b649892537324ce1c28265bbb742a662d2f1e3e1a172aad87b137ce5124d0b0fe700d27e9e74 SHA512 d1c5c8598fbf5f43674fe323d1a3b667c36ccdebe1e18b66fa6d510f718a3237003ada8685bee3b2c580397b3b1a981437cd80fb726c01cd900aee1ce27495a6
+DIST microsoft-edge-stable_102.0.1245.39-1_amd64.deb 119527670 BLAKE2B 768b0a5f1ccde5333fddac3d0ffba3095490e23eb933235bb6108cf5ca8767d419e7804d218227fe01139defb3a673c18f0bd80da868c48a093fbef18dacf9bd SHA512 01d8f893757585378e8870b4fa6c0d7548e217760418b334e3ad7f84480ed8b4eb7394c8b7f21eb847a8147d9dabf8fac97702e1e7cf37143694cd3a1116d962
diff --git a/www-client/microsoft-edge/microsoft-edge-102.0.1245.39.ebuild b/www-client/microsoft-edge/microsoft-edge-102.0.1245.39.ebuild
new file mode 100644
index 000000000000..a8cc7e730ebf
--- /dev/null
+++ b/www-client/microsoft-edge/microsoft-edge-102.0.1245.39.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"
+}