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-97.0.1069.0.ebuild | 105 |
2 files changed, 106 insertions, 0 deletions
diff --git a/www-client/microsoft-edge-dev/Manifest b/www-client/microsoft-edge-dev/Manifest index 9820ed1fdeca..cd324b9ed9fa 100644 --- a/www-client/microsoft-edge-dev/Manifest +++ b/www-client/microsoft-edge-dev/Manifest @@ -1,3 +1,4 @@ DIST microsoft-edge-dev_96.0.1054.2-1_amd64.deb 117597140 BLAKE2B 2e65283a5716fad34cff7172d6bba67f6979580010a24a15bbf750f55b13265f23d871c82821166412578cea9c765a958e75b136204f60095c05948c09c02de9 SHA512 31f969b5a1ed6d373a2da09f7f72f26861eaef1925f13a7352f0b8027522913ea16ca62e410a19d9d1298a9bb2f23b3871befcc73602d71918de920f4d29cec0 DIST microsoft-edge-dev_96.0.1054.5-1_amd64.deb 117928340 BLAKE2B d41051353e6f2592846c5599960072cb54fecf4f4de1ec3b45b0af83b9424207be331f8c90b4e7aa3d75ebcc69e2f4804b241995e571087eabf86b678b5de96b SHA512 a5a0b6ac64f743bc011b8d6ba076ff3460470ed2890e14d8904a7a0ce671ad299f6e1374b55bfee8d5baa85450362518094ac7c9c421d259a6d98394f9e92008 DIST microsoft-edge-dev_97.0.1060.2-1_amd64.deb 119889424 BLAKE2B 398506f9dca0c2acfa1626901d01df2cff8f6e38fdddaaf0ed1fedb84982f89db6418fee7f22ed7ccfcfedf8d6cfdfe2269eba89877c8690e3ea22e7e42a8f8d SHA512 81f845d49cdd978b1c7dbe210c60291330972284ccee4c0740a20356c52ff25576d1d8215d56ab648c99c91be933ef7178d6f35021e98fbbfe521f8f61715bf6 +DIST microsoft-edge-dev_97.0.1069.0-1_amd64.deb 120001944 BLAKE2B a8896fa6739ac8f3c98e59182213ed0e90ba9bd11e20a4745681cc0ecdf4dcfb12b5be5c9d9a4d3b499e1fc391a7ab4e68c4a65e0a97396cfb2de70b1fa2ca9b SHA512 f2c3a22ab8120282dfd14bcf4c45243c925f72bcd4cd3248403f7be08321474e09e819f346baf5a5da2170c65a1edfd37875b9827e652554dc8fb459909923ae diff --git a/www-client/microsoft-edge-dev/microsoft-edge-dev-97.0.1069.0.ebuild b/www-client/microsoft-edge-dev/microsoft-edge-dev-97.0.1069.0.ebuild new file mode 100644 index 000000000000..a14f69804a04 --- /dev/null +++ b/www-client/microsoft-edge-dev/microsoft-edge-dev-97.0.1069.0.ebuild @@ -0,0 +1,105 @@ +# Copyright 2011-2021 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" + +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/curl[ssl] + 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/libxshmfence + 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" +} |