diff options
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/microsoft-edge-dev/Manifest | 1 | ||||
-rw-r--r-- | www-client/microsoft-edge-dev/microsoft-edge-dev-131.0.2875.0.ebuild | 126 |
2 files changed, 127 insertions, 0 deletions
diff --git a/www-client/microsoft-edge-dev/Manifest b/www-client/microsoft-edge-dev/Manifest index 4e0e5472c9b9..1b54c86fb880 100644 --- a/www-client/microsoft-edge-dev/Manifest +++ b/www-client/microsoft-edge-dev/Manifest @@ -1,3 +1,4 @@ DIST microsoft-edge-dev_130.0.2835.2-1_amd64.deb 166692666 BLAKE2B c3c5844a6cf00cf8970ceee379fea30c571dc14e602f252b8ccfdcebbc82b2d854641022fadd5a9dde0580d42b6cf5e987707e2eb1797faf72f484e15de5efa0 SHA512 c604a478335f00d97dd17d6f915f7bedcc60a310ecb226542698d703d6ae0d9b7661b9ecfcbcba136d8ac186c77440455da7e59afd58c8b78f2b571a41cb93cc DIST microsoft-edge-dev_130.0.2849.1-1_amd64.deb 167145750 BLAKE2B b9cf28c9c0731e388e8f271e36fdc0f0549d31463b3c623edf7ec0b1253c29996eb5d5c59d2345c2ef42062f0dc2fef7de5fbc77454c73d10e146d036a0b425a SHA512 45a64a7b0faf5da0351cf6cfc42e01c1f250f70f9114e51d14055abf1302dd704b37b4da2ea6cc1190ec746f8f0ec8e90d44c8f8d2d8a6d46c5cddc037b53169 DIST microsoft-edge-dev_131.0.2863.0-1_amd64.deb 167131966 BLAKE2B 5489b7d82175a3b1e02f2af2388c6a91d96e8d3664c93ee089911132b91b98407731054d7ae16466f52953221c967a832c853fda219dc9827a6a8b31440d6bae SHA512 7c07946b1e36e3a209e8e1fdd70c7fb3e7e197e36cf4c856274af38708d4576496d57893093f194578853fd180eee8d07a2cc23f832075151715818bed613e11 +DIST microsoft-edge-dev_131.0.2875.0-1_amd64.deb 167657114 BLAKE2B d89cd16f91fbdf2e96b29756a0d3116a0878c429bf68ef16ede7ca3353b860f1c347d069d98eb04a32ac901be0d1b083b8793cfe86389c547666711af72c25a2 SHA512 e3e786977efff0c390078e7f496eb610a88560ccf25ae36e519cf9b08e62788bfd08c2fd83582215b52497612b131a8870b8f1b10c9b0ffad312006fd1954927 diff --git a/www-client/microsoft-edge-dev/microsoft-edge-dev-131.0.2875.0.ebuild b/www-client/microsoft-edge-dev/microsoft-edge-dev-131.0.2875.0.ebuild new file mode 100644 index 000000000000..0ff710cc5ddc --- /dev/null +++ b/www-client/microsoft-edge-dev/microsoft-edge-dev-131.0.2875.0.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" +} |