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-124.0.2478.27.ebuild126
2 files changed, 127 insertions, 0 deletions
diff --git a/www-client/microsoft-edge-beta/Manifest b/www-client/microsoft-edge-beta/Manifest
index 85f51c13b95b..612ac32c7dcd 100644
--- a/www-client/microsoft-edge-beta/Manifest
+++ b/www-client/microsoft-edge-beta/Manifest
@@ -1,3 +1,4 @@
DIST microsoft-edge-beta_123.0.2420.65-1_amd64.deb 166572850 BLAKE2B 5f8aa4ec43639acce151b0faaf2db397e44512caed7bb93de6a91e665b30435e9a3cb7f3b09542e563e6a7fe2e65265f4fdffa00cca449c659eec5efc3f5bb55 SHA512 29ed6dd9bc679496f9efaedc2bbbe35f0d0c9ebd4fb9a433234c1ad1815c9aacbfbcc0ec08416342e0af4f49a8592b48ace1d894fc04b3a2181661b59755d632
DIST microsoft-edge-beta_124.0.2478.10-1_amd64.deb 167387126 BLAKE2B 8a78d1166620bf04fa0415cc3302587e77ccfc766b154dfaa383ff9953b08b6e192fa06628050242fae3b551177c7c4990154626d22f8cc40a448425084bfd7f SHA512 13eaf2b131caeb7200d3be2463f9b0c8efdb1db73ea894a10811555ef455eca7326b7fd1e6c67d74e100999d549d560ff35eecf37f1ab2b8426e0a018a25bea0
DIST microsoft-edge-beta_124.0.2478.19-1_amd64.deb 167374274 BLAKE2B 725270a8c44e7785d61a546479b2451fa5f0a2f0de872bf1fc20952ac22f0c314bf9cea2c6023ff7798f60cb7d7591a605960699db21ebee03ea752afd7a2744 SHA512 bc390b819110acc417f9c8cb1f3d13abe2b9ffb4a9d50a22eb0883d92bd2cc4cdd055d7370a0510d67903e67dfc68aa4be36b51598f83e07d70b09059c3d6ad6
+DIST microsoft-edge-beta_124.0.2478.27-1_amd64.deb 167389658 BLAKE2B edc430e99bda531d7cb5c3f6fc31ea48e903bf01db08f584533dc06bf4efcc20ae58c7538f44f85bcdc09cde0cdb1d7cf1ab08564f214226a975be3b7c30d196 SHA512 84a6ec505948e9fcd3c754d3b0934e4e05b1e5b0eeb2cbd671cceca0d99cca6cedd96c573816e1a1db9e6fd56d335cd67964a448c78891d58191ce5aff9e45f1
diff --git a/www-client/microsoft-edge-beta/microsoft-edge-beta-124.0.2478.27.ebuild b/www-client/microsoft-edge-beta/microsoft-edge-beta-124.0.2478.27.ebuild
new file mode 100644
index 000000000000..0ff710cc5ddc
--- /dev/null
+++ b/www-client/microsoft-edge-beta/microsoft-edge-beta-124.0.2478.27.ebuild
@@ -0,0 +1,126 @@
+# 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/edge"
+
+if [[ ${PN} == microsoft-edge ]]; then
+ MY_PN=${PN}-stable
+else
+ MY_PN=${PN}
+fi
+
+MY_P="${MY_PN}_${PV}-1"
+SRC_URI="https://packages.microsoft.com/repos/edge/pool/main/m/${MY_PN}/${MY_P}_amd64.deb"
+S=${WORKDIR}
+
+LICENSE="microsoft-edge"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+
+IUSE="+mip qt5 qt6"
+RESTRICT="bindist mirror strip"
+
+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"
+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"
+}