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-123.0.2420.10.ebuild127
2 files changed, 128 insertions, 0 deletions
diff --git a/www-client/microsoft-edge-beta/Manifest b/www-client/microsoft-edge-beta/Manifest
index fb07d47a75e6..24e9f7ae8c08 100644
--- a/www-client/microsoft-edge-beta/Manifest
+++ b/www-client/microsoft-edge-beta/Manifest
@@ -1,3 +1,4 @@
DIST microsoft-edge-beta_122.0.2365.38-1_amd64.deb 165991118 BLAKE2B 78381a76ac0f8f45fe8996b15f6325c64bdff77da893284f72fa3017daa37f753b30effe15f4133820d49bfa8998ddd986e4faf66e53e6cc484579639796c765 SHA512 42169f8b7fd9b37d04d9c396c2c9f6d1c612be3f364f12af4131568f4317b11a4fc3d83d0b750552191eab47f48078e8774afac1d65ced9aec77e9eb166b2c15
DIST microsoft-edge-beta_122.0.2365.52-1_amd64.deb 165995146 BLAKE2B 0b26dfa66ca5fb0440c8f297f9754da31c5ca50286d07723e1e11b5906e36dac68aab4bc2307ae4079f423e225b6696fd6533be0601ed42c88d7e5b167f0b8f7 SHA512 4f285870b7096ff95b5a55fc195f05347eae837707bd31cc8ae05c8c4502851b3c8a777a140660c128ae0343cdb88fa92e98a72be7b32085de1d8b30d5ed564b
DIST microsoft-edge-beta_122.0.2365.59-1_amd64.deb 165989346 BLAKE2B f4e577681fe3a8a5f67963132878bf5c5f05046f5249ce5ef3717a8392f0c56377299c485e7478415873e78c0715dce6e42a7fbeeabda191a1269056eeab16bc SHA512 27cdcbd7801781e3e50ead3fe74c2ba4a68f1dc918894240c6377ee19798d1631b43b4299a09476710f382e36b944476f0976539c7d7828bef19861be32cf397
+DIST microsoft-edge-beta_123.0.2420.10-1_amd64.deb 166066486 BLAKE2B 703a1db1df6b6aff07b532e5707543278b72b232dcd64f8547c0ad32a9927d17af852395e55b39cd88b5118838a68e00182436ae887a43c272a1631d12cca009 SHA512 12e92c177c72ff3b2ef60d037f341bec4b836f5e89dbb1f1fdb6042ec0859b483f0bbd5bd546f4730e598700a644a0fc33c10a9e981b7a9a94c8c02c106b5c40
diff --git a/www-client/microsoft-edge-beta/microsoft-edge-beta-123.0.2420.10.ebuild b/www-client/microsoft-edge-beta/microsoft-edge-beta-123.0.2420.10.ebuild
new file mode 100644
index 000000000000..f67dc1739fa5
--- /dev/null
+++ b/www-client/microsoft-edge-beta/microsoft-edge-beta-123.0.2420.10.ebuild
@@ -0,0 +1,127 @@
+# Copyright 2011-2024 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 qt5 qt6"
+
+RDEPEND="
+ >=app-accessibility/at-spi2-core-2.46.0:2
+ app-misc/ca-certificates
+ 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 )
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5[X]
+ dev-qt/qtwidgets:5
+ )
+ qt6? ( dev-qt/qtbase:6[gui,widgets] )
+"
+
+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 -f _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
+
+ if ! use qt5; then
+ rm "${EDGE_HOME}/libqt5_shim.so" || die
+ fi
+ if ! use qt6; then
+ rm "${EDGE_HOME}/libqt6_shim.so" || die
+ fi
+
+ pax-mark m "${EDGE_HOME}/msedge"
+}