summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-client')
-rw-r--r--www-client/microsoft-edge-beta/Manifest1
-rw-r--r--www-client/microsoft-edge-beta/microsoft-edge-beta-94.0.992.23.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 9b62cbb2a8f..eba7fc3d5a3 100644
--- a/www-client/microsoft-edge-beta/Manifest
+++ b/www-client/microsoft-edge-beta/Manifest
@@ -1,3 +1,4 @@
DIST microsoft-edge-beta_94.0.992.14-1_amd64.deb 114926700 BLAKE2B e784df13e71825aba6b8c29d1818b60e16bee5e32660b52b425eb29d39b0a6b84e1dbde63ce558a65111d0db962975d0719578e1c11ea8d8c7759677edb257b5 SHA512 2aad7933a54c130102b11cf91ad1c1b07c6dcfeb624127a8e6756ff4e34823c9147c8277ed7a0ac35f85a8c003b912fa955e6c92288747110be8f54c25d37120
DIST microsoft-edge-beta_94.0.992.19-1_amd64.deb 114979460 BLAKE2B cf6c7762aa05c43a87503b866132728a9689fd7dfad33077af7bdb6d67bf4b0563c10b29d9e3181ea365bf64cf4fc0a87c9ada2261eb2f9b7044bb94438e4523 SHA512 456b71451d248093f3904dde53617cea5e991c8bcd4c504295563c7178cd57225e4d2726387617ad75f8c1f18f8b437e84def866ec49ac060cc90fb04e3015c7
+DIST microsoft-edge-beta_94.0.992.23-1_amd64.deb 115135864 BLAKE2B 18328b01f282cd78f4997c7ec893c3e2e1d40a808f0d17e81285be916813207b7d1a31918603f9e04ef2c3aae90eecd5be09f92e0f81d08378dd61009228918f SHA512 7971de51d214a0ff769c31490ef287be3a4865f2edb7c542a1194fdc50220d44c017b3a4215bd69e1301e9c2d217686e05ad698f9841ea6963d8f1b4dd23536b
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.23.ebuild b/www-client/microsoft-edge-beta/microsoft-edge-beta-94.0.992.23.ebuild
new file mode 100644
index 00000000000..3b1abf5f25d
--- /dev/null
+++ b/www-client/microsoft-edge-beta/microsoft-edge-beta-94.0.992.23.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"
+}