summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Hartmann <sultan@gentoo.org>2021-10-30 10:19:42 +0200
committerStephan Hartmann <sultan@gentoo.org>2021-10-30 10:19:42 +0200
commite63a01e2ce124d0f33e6f9e6552bacc4b543187e (patch)
treeba4de35b5222ed4dccb270107c3a4c73d7590782 /www-client/microsoft-edge
parentwww-client/microsoft-edge-beta: remove old (diff)
downloadgentoo-e63a01e2ce124d0f33e6f9e6552bacc4b543187e.tar.gz
gentoo-e63a01e2ce124d0f33e6f9e6552bacc4b543187e.tar.bz2
gentoo-e63a01e2ce124d0f33e6f9e6552bacc4b543187e.zip
www-client/microsoft-edge: bump to 95.0.1020.40
Package-Manager: Portage-3.0.20, Repoman-3.0.3 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-95.0.1020.40.ebuild109
2 files changed, 110 insertions, 0 deletions
diff --git a/www-client/microsoft-edge/Manifest b/www-client/microsoft-edge/Manifest
index 2a99c6ebd4a5..cdc14eb999b0 100644
--- a/www-client/microsoft-edge/Manifest
+++ b/www-client/microsoft-edge/Manifest
@@ -1 +1,2 @@
DIST microsoft-edge-stable_95.0.1020.38-1_amd64.deb 115540916 BLAKE2B a009ba2ac3fe5ddd570456d978420cb2307baaa6e925488721f038d196516e228e3a25d3e93c62e729365cf833fa634587c4bc09be3dda7d528068446747cbd7 SHA512 896d9fc55331763f0db87065d63b67a02b861d429f18288dd3bbe01e51b7cb5315b59400489f1522ffa57d202db21f6df99f56666fec42fd6be1db054ce951be
+DIST microsoft-edge-stable_95.0.1020.40-1_amd64.deb 115596848 BLAKE2B 1c9cb1cf87e0881a625468b5295e5738571a52ccef06dcc771f26e67f0b27c812b5d86fb5119be971c821786b409f501e67b98e8426a16253262980b1cd162bb SHA512 687a3e8e547dc8f66f252f0afc9edf1dcc1aa01f4b3bf43a36c5971f3f2853dea8c5ed78a1a5f97e082f5342bf7bdd111d5c3ef69052c2c3d3689d05cc43b514
diff --git a/www-client/microsoft-edge/microsoft-edge-95.0.1020.40.ebuild b/www-client/microsoft-edge/microsoft-edge-95.0.1020.40.ebuild
new file mode 100644
index 000000000000..098697866ecf
--- /dev/null
+++ b/www-client/microsoft-edge/microsoft-edge-95.0.1020.40.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"
+}