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-111.0.1661.15.ebuild123
2 files changed, 124 insertions, 0 deletions
diff --git a/www-client/microsoft-edge-beta/Manifest b/www-client/microsoft-edge-beta/Manifest
index 399a40d3b24a..401727b56565 100644
--- a/www-client/microsoft-edge-beta/Manifest
+++ b/www-client/microsoft-edge-beta/Manifest
@@ -1,3 +1,4 @@
DIST microsoft-edge-beta_110.0.1587.30-1_amd64.deb 139516314 BLAKE2B f9f58b72eca18efa869233a0cb4fdd8fbdeb377a444e7c05157ea88b845d1524fe1f585e69238c4175baee4fffb4b3b185062deb8ff44b853e043d56c6d9f7ac SHA512 4e0926ce9171a29513de776c6a8423f3a0ccb1cfd4b2f9a02034f005e9ef5f4a3085aa449c418cefddc7cf70c9bd73e50d743957e51ccafc5b8756f6adc6d49c
DIST microsoft-edge-beta_110.0.1587.35-1_amd64.deb 139683858 BLAKE2B 1b4e66c6fae7761e3b553ea58f532e78559ed0f8d8c4434988bf6f1f3dda3cdb99d6c13d11f11862db8469d9d5b106903e5b2a143d0c24b5978ba4f2691cf14b SHA512 a09268af717c1cd259d0175cedd914d2ba99ae9b54fc0bc4ea9fcd797864a9d601f4b48114a08ac344478222efc3425eed19f42afee28da22ce8335276441306
DIST microsoft-edge-beta_110.0.1587.40-1_amd64.deb 139748058 BLAKE2B a1d103031d16c14ab5964a3dc1dd4a9eb6b29120756a6e62d49f4d0d0c625dd890631065be3699be6ed11b0da20e342e8b3e116e81b71ad0ad3333dbfc9df808 SHA512 0c21dfa99244c2adb6daac860edb0cb942b0f5300c6098852809e8f10fef8a952bebc3d38d6bc7efb1b68431fda8d53ee14141f51050d354db2af4c3ddf61330
+DIST microsoft-edge-beta_111.0.1661.15-1_amd64.deb 140091974 BLAKE2B 661b2d56b5d37553051571b4f5490d6d6ebd031dd410c6c01c433eebc7eaa741c6ebfcd29240d4f9985b8abe8963c58c53a13fdd600d57f8a3e2171621b4653b SHA512 57e8d2558b2779f836b56ed6ff9fba3c4801e3923500387e9149134f0b86f89f1b98776804026a30042c7029b0ecd34a09afe2a32b3a9bdf764022753380a029
diff --git a/www-client/microsoft-edge-beta/microsoft-edge-beta-111.0.1661.15.ebuild b/www-client/microsoft-edge-beta/microsoft-edge-beta-111.0.1661.15.ebuild
new file mode 100644
index 000000000000..ebc23fabaa28
--- /dev/null
+++ b/www-client/microsoft-edge-beta/microsoft-edge-beta-111.0.1661.15.ebuild
@@ -0,0 +1,123 @@
+# Copyright 2011-2023 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"
+
+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
+ )
+"
+
+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
+
+ pax-mark m "${EDGE_HOME}/msedge"
+}