summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-client/microsoft-edge-beta/Manifest1
-rw-r--r--www-client/microsoft-edge-beta/microsoft-edge-beta-94.0.992.14.ebuild105
2 files changed, 106 insertions, 0 deletions
diff --git a/www-client/microsoft-edge-beta/Manifest b/www-client/microsoft-edge-beta/Manifest
index 77850ad3fe9d..bf6ef44c5cbe 100644
--- a/www-client/microsoft-edge-beta/Manifest
+++ b/www-client/microsoft-edge-beta/Manifest
@@ -1,3 +1,4 @@
DIST microsoft-edge-beta_93.0.961.33-1_amd64.deb 104508496 BLAKE2B 9962a7c921fcb5d821c38a1d37d1567bf03745d9b9a880332656641e465ebc81834d405775bb89a80322f76f9ab199af145952f6a7e1efe035f7b1c11f348110 SHA512 c0b20732b964155d33916fe5ea0f274aa7edb5c302051cd2c801e5ef28c0281a0c24365aa803b2562f9269324ae365177bcb1c6c59a7dd8222eb40d0fbf64932
DIST microsoft-edge-beta_93.0.961.37-1_amd64.deb 104487364 BLAKE2B a833a77f0bdf9ab078eb7b1b128358c8b79e5dbe57621d0e672e2f73984eb6ae4b6e5c134801fc4020ad6f15c59165829a097ec94df72fbf85ada229dd3b8997 SHA512 866d7848ece1588c2be196a6b0145c7734dcb4232be075889440548ebde1b98b29a4111eb7d1f291778e3b21a8fe1cb3d3db6fbc75b3cf1d7a7ca5105ad3a472
+DIST microsoft-edge-beta_94.0.992.14-1_amd64.deb 114926700 BLAKE2B e784df13e71825aba6b8c29d1818b60e16bee5e32660b52b425eb29d39b0a6b84e1dbde63ce558a65111d0db962975d0719578e1c11ea8d8c7759677edb257b5 SHA512 2aad7933a54c130102b11cf91ad1c1b07c6dcfeb624127a8e6756ff4e34823c9147c8277ed7a0ac35f85a8c003b912fa955e6c92288747110be8f54c25d37120
DIST microsoft-edge-beta_94.0.992.9-1_amd64.deb 114916392 BLAKE2B dc53cea5ce142f7a2edf158699fb244aa024c7f3b1ec27ec5d0a9252e6aa699317725e7de97e3c0e5e97bd0302372fa4bcbe1cc1a259f0d23dbea39cff5aaff6 SHA512 9faf0f53669700a6160e0481bec9bcadf06ed5bbb9bd7e3461a39b37660716d686049ac3480cd1f68546320a5052943d1b00a0cc37b7130535a39f8e339e1b44
diff --git a/www-client/microsoft-edge-beta/microsoft-edge-beta-94.0.992.14.ebuild b/www-client/microsoft-edge-beta/microsoft-edge-beta-94.0.992.14.ebuild
new file mode 100644
index 000000000000..3b1abf5f25da
--- /dev/null
+++ b/www-client/microsoft-edge-beta/microsoft-edge-beta-94.0.992.14.ebuild
@@ -0,0 +1,105 @@
+# Copyright 2011-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+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
+
+ 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"
+}