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-126.0.2592.36.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 f280e7098d02..d4ef9c74d844 100644
--- a/www-client/microsoft-edge-beta/Manifest
+++ b/www-client/microsoft-edge-beta/Manifest
@@ -1,3 +1,4 @@
DIST microsoft-edge-beta_125.0.2535.47-1_amd64.deb 167740238 BLAKE2B c7ac605859dc39615ff3b1b3bf96ecb36489450ddd1ac4a2868b83c4bd1f88fa26262f00749b9cd399573ddf993c2771fc11c73645ce5135111f484eaddb6379 SHA512 648ab90bfb0e791447d3d6f0b9c87920823af8c7f42020b77cba2cd0808fc812612202c1fb7cbac6126f924b01c49dd4eb4e14081c460ff38e2b81b9ea74a385
DIST microsoft-edge-beta_125.0.2535.51-1_amd64.deb 167760878 BLAKE2B aeb063f3b263f797a897340d870e2946f96c4f8c2f31519b6c7ac1d6be73f96fa374ee7e820be6a99d1e750f32f8fe5b022356dda78fa33bd3452ba461c74d1e SHA512 2d2962c00f35ba16b217b4cf13bd5179f3a1b025924f9bf10be89f70e1a665054e570f2b5f257ace86348c31c1a5fe86c91c425aecb6071fe6e7828cb350074b
DIST microsoft-edge-beta_126.0.2592.13-1_amd64.deb 168303834 BLAKE2B 54bde099458c70b43c593f70809bfe1df1996fa90c6b8a5e8b78a116ef8b430e05e7154bca312149647306fb9925b23437e1c852a2462e0eca5343448faa4976 SHA512 88b943a773c6b16f8499866ea6a041937b63ab72a0b100bc7507b73722fb2920cf2a61205e32a4e9986482671c9879e8b17d463d2bc9dc22e87997f2ebcf2118
+DIST microsoft-edge-beta_126.0.2592.36-1_amd64.deb 168372254 BLAKE2B 9172da6327ea8cc6207ffef1810f3332abb1e38e1257704406ff1b0612a8412d10c26ad8825918605ce64ac27e8996bc1678ecc3dc405872f897bbf898dff9d2 SHA512 c5054e8abf331ba1c03d768b76907bf4a50341943ec5166660d2e532b30ec7e0db13f95a374fddb016e3686a635a25ea330386c46782a96ca96017574bf2e3c3
diff --git a/www-client/microsoft-edge-beta/microsoft-edge-beta-126.0.2592.36.ebuild b/www-client/microsoft-edge-beta/microsoft-edge-beta-126.0.2592.36.ebuild
new file mode 100644
index 000000000000..0ff710cc5ddc
--- /dev/null
+++ b/www-client/microsoft-edge-beta/microsoft-edge-beta-126.0.2592.36.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"
+}