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-105.0.1343.27.ebuild116
2 files changed, 117 insertions, 0 deletions
diff --git a/www-client/microsoft-edge-beta/Manifest b/www-client/microsoft-edge-beta/Manifest
index c4b6fe7d5f56..823f5cccda15 100644
--- a/www-client/microsoft-edge-beta/Manifest
+++ b/www-client/microsoft-edge-beta/Manifest
@@ -1,3 +1,4 @@
DIST microsoft-edge-beta_105.0.1343.10-1_amd64.deb 133455132 BLAKE2B 0298c5ebe1e281f3744021430be3a3a7ac9ca7abb3912c1a4e0b6c6668238f8da60798cbda66ee7be386a9fbf435a8b3f9b73d2738451c77f4a4d5cd97e726e4 SHA512 644c137a42244397542c4831fcc6e48e20775704c1ba0cb5c336b646f32036448a61407432c94dd9fcbfd981ee383f37f4b7c0537a1bf045c46a7e7691f24019
DIST microsoft-edge-beta_105.0.1343.17-1_amd64.deb 133544696 BLAKE2B eade924c0b5026c7bf8274f893d6e5cb6b8da3ba870042b633aaaf724249b42d19cd66609299e51e44001669920ed9ed198dcc99080b600e176c9468e483ac5b SHA512 d02bc2cabdef30b468ebf20817cea390b9c1eecf09bbb5157829950def6f4a49aabc57495d38ca733ad9dfe87dcc2682f33c85ae495734fe1435415364400cc2
DIST microsoft-edge-beta_105.0.1343.23-1_amd64.deb 133597848 BLAKE2B 27ec884119f9d7429d132c5300477c1745fdd8ebc43a6d113eda0881a7ea7e325e2d0004c2460a7df0b925033aba2569b7f6272d4f695aae5321bd06a58ec10e SHA512 a96c4cf11ae7bb9c0280afb2a65e843c88fdfaf916bdee536e0cc024e93c4c87154b9946587197c1a47797acf358537510dc20b99b21b66ca0fb0a4ac1f308a7
+DIST microsoft-edge-beta_105.0.1343.27-1_amd64.deb 133614856 BLAKE2B adbeea8e111f8f64c1135464fc5c0a7c28afa54dd76cdd6ebe371d465cceb8dddb14abe5e9e70b2dc4b4f31c232b775d96871b67bfe2726a8ada620aa88b230a SHA512 af834b3115f144b813fd1bf545126dd1dabb4f187f9a5ca24a0e3124faea62ead9d44f07dd1303a63897f296506b82b82fba3d5a279e2747ef430786e3d6947c
diff --git a/www-client/microsoft-edge-beta/microsoft-edge-beta-105.0.1343.27.ebuild b/www-client/microsoft-edge-beta/microsoft-edge-beta-105.0.1343.27.ebuild
new file mode 100644
index 000000000000..a8cc7e730ebf
--- /dev/null
+++ b/www-client/microsoft-edge-beta/microsoft-edge-beta-105.0.1343.27.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"
+}