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-103.0.1264.2.ebuild | 116 |
2 files changed, 117 insertions, 0 deletions
diff --git a/www-client/microsoft-edge-dev/Manifest b/www-client/microsoft-edge-dev/Manifest index 516f9a75ae5a..696dabdddfc5 100644 --- a/www-client/microsoft-edge-dev/Manifest +++ b/www-client/microsoft-edge-dev/Manifest @@ -1,3 +1,4 @@ DIST microsoft-edge-dev_102.0.1245.7-1_amd64.deb 119305080 BLAKE2B fa8f73bebfddbd751e3b5c6a4cf62238073d4fa51607659c2b74ee46e28b6bd938bdfe63520d86c725422b052f2c5d64609e160f5818b8f87cf7834e777ca750 SHA512 688e170bce14a17842c5adce05f6f32ebace94549e8a8355764649a411dc031e7ea3d9e11311646a595ff8793dd616b1bb1575930ecd9dc4b12ca439ca3d4872 DIST microsoft-edge-dev_103.0.1253.0-1_amd64.deb 120487848 BLAKE2B f12198c8ad6895020c633fceeca64fc7177e742c1909a4a75babc3f1feacc8dd0c2ca185883fedafc3709b54202fc8aec64f3850ed5d41431f293946d37dcb20 SHA512 42b7a7a23798d67127c13911683aafcb5f3e54fa4e945beb07553341853e54f860dc1e750ddd74d629cc65fdb6019178af97562b8ba41e5ebb2c148ef9d45b5a DIST microsoft-edge-dev_103.0.1255.0-1_amd64.deb 120528680 BLAKE2B c0f4421418f84ac974be5a11051fa94eac2c22b73cae52fa5cb2ef18bcd02d7e9ca975eadaf64ffaa8eb8010451e3ce43e47904767d731a8746d14c17c18cb54 SHA512 1f5255b13ca8c2df5e9925d4196ee88b4ef92790bf9ef568343e199223e03dcd0794cb7b99d34f2851d810fe2a95a481f9820c63a591e5bb779670f6194854ad +DIST microsoft-edge-dev_103.0.1264.2-1_amd64.deb 120807508 BLAKE2B 3f17a52e81ebfe5cc7f4777f81423206c33fec578b74d43986b49ba1b844fdaab5290acff407890b365a159d0239efaf1405cf4860b1fff057951eaa9749b3b5 SHA512 8af7a670f7b24e9d819c877ac73b74a0a4036bf1c0aadab700eebdab9f162e458841f84aa04e723fdd069618115d3c2b9c94c14083a0a201cc9cc7d2ed0863a9 diff --git a/www-client/microsoft-edge-dev/microsoft-edge-dev-103.0.1264.2.ebuild b/www-client/microsoft-edge-dev/microsoft-edge-dev-103.0.1264.2.ebuild new file mode 100644 index 000000000000..a8cc7e730ebf --- /dev/null +++ b/www-client/microsoft-edge-dev/microsoft-edge-dev-103.0.1264.2.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" +} |