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-130.0.2849.13.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 ac7162c13fcd..b48f1f805509 100644
--- a/www-client/microsoft-edge-beta/Manifest
+++ b/www-client/microsoft-edge-beta/Manifest
@@ -1,3 +1,4 @@
DIST microsoft-edge-beta_129.0.2792.41-1_amd64.deb 167024278 BLAKE2B fb4b55da84d2c6ad15725b46e9cb661cacfe78f05f6e154c21986a35858f4b5a281c5e58553f95b3b1ff50d2866e39fe61de5ad5318ac3448cf67bea5bb3e50c SHA512 9726312337b393edf5c182ae271268f5cc6cea437ffb709474364f387aeb7979da5b9e41aa9835e49bad164398afb7bb57dcbd5df8ba8fdf0ac071059d3a0094
DIST microsoft-edge-beta_129.0.2792.50-1_amd64.deb 167101062 BLAKE2B a7025229b12d20c3056934dd89aa3bc6a1be6013b9ac251eb830f792967cb93b45bcc3db0116aafa49ea2b5b83f7f78c65b4df1ba93cde1727a2b272d3933530 SHA512 d419b228174715c31df9199e74e2ff336d1af33a9f09e504b02c07fff324c2bd6f8466b5124453f5dba3b0c4fd618d1ca4a3db01e88369f02a8dc217d6943967
DIST microsoft-edge-beta_129.0.2792.52-1_amd64.deb 167146710 BLAKE2B 5186f273d78cdbfb5517e5872f14cf5d9a58d975861c91f1e25950b5c30be033dee88b289dc70eeb923da0c0a28bdba00b127089a541790b72c70bd585213a8c SHA512 27bd913b7494b8b587e554b6f341f3e8376495ac5eb79587fcd9c7cf6a56dd468c4ac9884376af357f29ce1cffc00efc8d0f7427766174e09871acb8e2232694
+DIST microsoft-edge-beta_130.0.2849.13-1_amd64.deb 167054974 BLAKE2B f2e514fecd869c8ae20f1ea2943891a8e71a8d72600f35f19a9bba982e28c756f26f40a11c76c8852a5f9ccd1e9902e12c15e5445467567860742d101f598179 SHA512 32686f840ee48e593d79d69e226097f1f933ec7af47300d54c1f64bf8a00fe3e21236ef8979751335e01a64306ae92dcf4f3a582d1a665e16b90651c957b3bea
diff --git a/www-client/microsoft-edge-beta/microsoft-edge-beta-130.0.2849.13.ebuild b/www-client/microsoft-edge-beta/microsoft-edge-beta-130.0.2849.13.ebuild
new file mode 100644
index 000000000000..0ff710cc5ddc
--- /dev/null
+++ b/www-client/microsoft-edge-beta/microsoft-edge-beta-130.0.2849.13.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"
+}