summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-client')
-rw-r--r--www-client/microsoft-edge-dev/Manifest1
-rw-r--r--www-client/microsoft-edge-dev/microsoft-edge-dev-120.0.2165.1.ebuild127
2 files changed, 128 insertions, 0 deletions
diff --git a/www-client/microsoft-edge-dev/Manifest b/www-client/microsoft-edge-dev/Manifest
index 2cc609f8bb03..dc5a7b6cad7b 100644
--- a/www-client/microsoft-edge-dev/Manifest
+++ b/www-client/microsoft-edge-dev/Manifest
@@ -1,3 +1,4 @@
DIST microsoft-edge-dev_119.0.2116.0-1_amd64.deb 156792002 BLAKE2B ce6ccc4cc9c77be50a1d6d57fd0ef044189f60cfdf492cf1ff0130e458fd2b2a046536e0345bc70d2f29f41ddc4426d9212fd5675ea4d67b9b7ca8074198958b SHA512 35375be061117f4f4174777248d1de0dca422281102193e6e826380169cd84aa15a06a73fca2af3f4291f05e319c8929fa9639b027522dc399000e35ce4fa528
DIST microsoft-edge-dev_119.0.2132.0-1_amd64.deb 156550394 BLAKE2B 968bd934f5de2b843bb5b862c03427a23662c73e0bbbcfc82a2ee2aee23a761bcb90396d15e18ef4ffac42cc6036294d7dcc22f494a9fe62a7c5bbeff17dacfd SHA512 82d3895e8f947973484f5d872e0e9081d37f7855ab0bb4614e647df17abccb627f3f8c4c8e6a2e539f8d79adceefc46614d5279c351d64037d71250bdac57929
DIST microsoft-edge-dev_119.0.2151.2-1_amd64.deb 158898010 BLAKE2B 1187a463aad28a2dda61a48128da3868f0953c156774d19cb78e5c54beba1cf3495183b162e2ad1058a466d01c4b310255cb8de1bb50340685d5e076936dd6ae SHA512 94599b65ad331b2ff14adb59e75554a6fb24afac9789a0496d9e371c1463e5c1fbee3b777f10346e9f57092d5acdf4367f8a1faaf66b80e4d9a44bc606b5c285
+DIST microsoft-edge-dev_120.0.2165.1-1_amd64.deb 165634914 BLAKE2B 83cf0056efd2271a377cea2df938a5141e6641b64f91d440634459891e2fc55729265fcd9d830f55d6beeb3507c5d9335b4442a467886c50c1893083b1daa695 SHA512 19b795e28bb85f680cef2a1f408d163f51f5e31390c599120d900bd10a22971037a87dd666a95362c24e70d3e2f3698b0568127fee78fb6d451b59483c608d0f
diff --git a/www-client/microsoft-edge-dev/microsoft-edge-dev-120.0.2165.1.ebuild b/www-client/microsoft-edge-dev/microsoft-edge-dev-120.0.2165.1.ebuild
new file mode 100644
index 000000000000..ef74386492f2
--- /dev/null
+++ b/www-client/microsoft-edge-dev/microsoft-edge-dev-120.0.2165.1.ebuild
@@ -0,0 +1,127 @@
+# 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 qt6"
+
+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"
+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
+ if ! use qt6; then
+ rm "${EDGE_HOME}/libqt6_shim.so" || die
+ fi
+
+ pax-mark m "${EDGE_HOME}/msedge"
+}