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-129.0.2792.41.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 7fa3a59bd8ef..e4f100598e56 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.12-1_amd64.deb 166721510 BLAKE2B 8a05caeaac967228ee7f871f637ed4369b1b7c90a058297027d82b08d1eafb60ffbcb50c39cb65aa93c1f2831bbc3850e26e856b849f01c8221257d5f4495e9c SHA512 5a979b069b1f616dd18c1be38602beb6c65d603c93cf65081a7daebf0387834f2c59ce4a5925afdadd14bb343e6399466040ff0162141e4e974409c7e4363ffe
DIST microsoft-edge-beta_129.0.2792.21-1_amd64.deb 166634742 BLAKE2B e3b075b67a26d3975d521419934ac6fe7b3e63a88820a08a7f0ee57fd03c5cab21d3bfdbe80376d4538dd255ae2a37d9bf3a388622670f69172b6575351238d2 SHA512 181dfacb96d68ca2ecf6d5d2fd1275b1710531154bcfc64bda31d8167869b0777686f3c9af18d573e2e54e7f86abb7ec374386e8db0439117c76233561f5ca5c
DIST microsoft-edge-beta_129.0.2792.31-1_amd64.deb 166681842 BLAKE2B 0069c61fe70d4f0c3faa970acd317aced034ad0fed6719bc4c969d14121b04878eb82708a8995107add2f4047aff9ddf0641e104b04f93c452918adc0a9f14d4 SHA512 085f99e59cf717ec4cfa02458e28f2adc22142e52ed49cb2c0686fb57ed6fa385fe443812873531766f24f3f205ca732a321105060b69351afa9b0f0cedf5ec4
+DIST microsoft-edge-beta_129.0.2792.41-1_amd64.deb 167024278 BLAKE2B fb4b55da84d2c6ad15725b46e9cb661cacfe78f05f6e154c21986a35858f4b5a281c5e58553f95b3b1ff50d2866e39fe61de5ad5318ac3448cf67bea5bb3e50c SHA512 9726312337b393edf5c182ae271268f5cc6cea437ffb709474364f387aeb7979da5b9e41aa9835e49bad164398afb7bb57dcbd5df8ba8fdf0ac071059d3a0094
diff --git a/www-client/microsoft-edge-beta/microsoft-edge-beta-129.0.2792.41.ebuild b/www-client/microsoft-edge-beta/microsoft-edge-beta-129.0.2792.41.ebuild
new file mode 100644
index 000000000000..0ff710cc5ddc
--- /dev/null
+++ b/www-client/microsoft-edge-beta/microsoft-edge-beta-129.0.2792.41.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"
+}