diff options
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/microsoft-edge-beta/Manifest | 1 | ||||
-rw-r--r-- | www-client/microsoft-edge-beta/microsoft-edge-beta-101.0.1210.10.ebuild | 116 |
2 files changed, 117 insertions, 0 deletions
diff --git a/www-client/microsoft-edge-beta/Manifest b/www-client/microsoft-edge-beta/Manifest index b9918639f949..e3b88a3edadb 100644 --- a/www-client/microsoft-edge-beta/Manifest +++ b/www-client/microsoft-edge-beta/Manifest @@ -1,3 +1,4 @@ DIST microsoft-edge-beta_100.0.1185.17-1_amd64.deb 119100064 BLAKE2B 148f3d2d9d0c526dec62049adf5c2c096480fd3a664bfd69939297dee229b8c9af83d25343fd34a018cf9e9ef92f8b2dac42e4762b57e7b0bbc4a31681c24826 SHA512 a504b6d69737b6e6cdf6f227ba18d86f972b3249bd842ed09ce8a2c669637ed7f8f0c424a1260836101dcc5c6905946a5d8d52e11cab366445f0037ce5fda987 DIST microsoft-edge-beta_100.0.1185.23-1_amd64.deb 119112804 BLAKE2B 57c9b61e20c8aa57432b74431063fbaef9ed3f41ec14ddad3fb6db63575f94279609ea70f54ee1f4e06b7dd698e4689f8fe1e314ca7a6afabb5fae30f463e03a SHA512 6f3a11472326aeecbf84e69916c03a0838fe3f9f60b924af68158680dc43bc72c6c568de4ca1146789f03573dd2be766c62e87a414632fef19adcc6d4438600f DIST microsoft-edge-beta_100.0.1185.27-1_amd64.deb 119078708 BLAKE2B 974ba67490e432987b2e3e14815a77ecb5ab0a3de38d74e7b9a950356c3857e7496e33e615eeb653c251f07d60e2f2c96078e5f7dc63a0dd63d5111e57c4a12e SHA512 0ffb4e07e7091489b7c34fe4ec7ceaf74f972898080211e682b919658d0c9178e014f7d42b60c3667b841863b0a4308b27f6da841d39a9d417429e3bb10cdc9d +DIST microsoft-edge-beta_101.0.1210.10-1_amd64.deb 119360904 BLAKE2B 67c6b9de11b71a35e5080b567fae1f5af2a26b321b12abde65fce47d51bd101edde3cf253bae4714d19466096e8ce05b9b41821a5f37d1f7aef7a110ebee759a SHA512 4484ac3cc79ff4a2e742295caef2eaa0bc300643317837500d2efc7432fdfa83beb35c1f563d6da0b3443ef0951c1365b0717d566101738a40f0d9e141313550 diff --git a/www-client/microsoft-edge-beta/microsoft-edge-beta-101.0.1210.10.ebuild b/www-client/microsoft-edge-beta/microsoft-edge-beta-101.0.1210.10.ebuild new file mode 100644 index 000000000000..a8cc7e730ebf --- /dev/null +++ b/www-client/microsoft-edge-beta/microsoft-edge-beta-101.0.1210.10.ebuild @@ -0,0 +1,116 @@ +# Copyright 2011-2022 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" + +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 + 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 ) +" + +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 + 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 + + pax-mark m "${EDGE_HOME}/msedge" +} |