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-89.0.774.14.ebuild | 114 |
2 files changed, 115 insertions, 0 deletions
diff --git a/www-client/microsoft-edge-dev/Manifest b/www-client/microsoft-edge-dev/Manifest index 04c78fc4ee59..e6abf7da1d05 100644 --- a/www-client/microsoft-edge-dev/Manifest +++ b/www-client/microsoft-edge-dev/Manifest @@ -2,4 +2,5 @@ DIST microsoft-edge-dev_89.0.731.0-1_amd64.deb 89937570 BLAKE2B 55d27bc12e4776b8 DIST microsoft-edge-dev_89.0.752.1-1_amd64.deb 90487364 BLAKE2B 6da2c2e76ca46046bd97bef8be9b88999cfaa61a6f50bdf81bb86ee090bb14cdbce3a579e2044754b2a2412d72759a64c52356a1f50dcedba3270177c2615646 SHA512 5293c47e794f07b09a8ff891d746ea4e44e9b4f8748a129d0a3988cfc6b7bfda4576ca0feb3efdd5ba6e43577d486e563509c0ecef25fe57b6a809e927c41030 DIST microsoft-edge-dev_89.0.760.0-1_amd64.deb 90618796 BLAKE2B 4f7e150d918adfbed42286d55889c2df315b0976c8b68d4094a7d8de474537c4d60e49dcd96a937b56290aede031397d476aa51383d9f5d5857d64ac4ab5f199 SHA512 24cbd01643d2b1a6bad4899cfa1e03e7a745f91fe75c373e37a230d9071d2a083019bf033960c6a710435cb0ae55dd84ac5b0cc5f681ef3d40c8f735262d749f DIST microsoft-edge-dev_89.0.767.0-1_amd64.deb 97527750 BLAKE2B 52a4860e368ee9e6e20ea612bdf97b0782ecae783ef30320d2b836ef439b628c3a9d32bf11910ec208e5c714502c2c89066b9d9ac5f46e9df7c09e8cf17ec814 SHA512 264d6e68055fc85e0b44d9ad090679b22fa766c0852650bbaed17fbb2f56afd4dbbb98855b12c9ab3d279e5c94bad0ed7e7c2a69b8251787ec66746111345085 +DIST microsoft-edge-dev_89.0.774.14-1_amd64.deb 91138518 BLAKE2B 4143340ab0df8f58b0f0d49e5edba9382ccc3dc848e526daf4e50c8452d9c0ef2568d0f0b1be32637d22f8842eae8efc436cae3a6c4e37f53a0e07a9e0c817a1 SHA512 3fa34a4ae44359645be603ffa7550238eb35a2f7a1678e829c05a1a9c44c10d62cb16db70ce4bfc3d3e47efc53cf9e746bff980502a4e334e38ed3b6f8bf89aa DIST microsoft-edge-dev_89.0.774.4-1_amd64.deb 91593084 BLAKE2B 91988a47310ce3fb0385f828d5731f8453bb1baed2340b05d51b39c23755c9dcf04f83f169714d02dd96e917e31c90ee6a9128a6de017047ac05067b5dbff880 SHA512 d98cb3b28e41b22e45f4b8d40e02740e40175878393b4abda871be734f2d8b24046d070e74428e3d34527c017135b3fdcd237f87d3c6d8cc340c9f6814e1e7a5 diff --git a/www-client/microsoft-edge-dev/microsoft-edge-dev-89.0.774.14.ebuild b/www-client/microsoft-edge-dev/microsoft-edge-dev-89.0.774.14.ebuild new file mode 100644 index 000000000000..8b9535ac7993 --- /dev/null +++ b/www-client/microsoft-edge-dev/microsoft-edge-dev-89.0.774.14.ebuild @@ -0,0 +1,114 @@ +# Copyright 2011-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit chromium-2 desktop pax-utils unpacker xdg-utils + +DESCRIPTION="The web browser from Microsoft" +HOMEPAGE="https://www.microsoft.com/en-us/edge" + +if [[ ${PN} == microsoft-edge ]]; then + KEYWORDS="-* amd64" + MY_PN=${PN}-stable +else + KEYWORDS="-* ~amd64" + 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" + +LICENSE="microsoft-edge" +SLOT="0" +RESTRICT="bindist mirror strip" + +RDEPEND=" + app-accessibility/at-spi2-atk:2 + app-accessibility/at-spi2-core:2 + app-misc/ca-certificates + dev-libs/atk + 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/wget + net-print/cups + sys-apps/dbus + sys-apps/util-linux + 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/pango + x11-misc/xdg-utils +" + +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 _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 + + 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 + + pax-mark m "${EDGE_HOME}/msedge" +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} |