diff options
Diffstat (limited to 'www-client/microsoft-edge-dev')
-rw-r--r-- | www-client/microsoft-edge-dev/Manifest | 2 | ||||
-rw-r--r-- | www-client/microsoft-edge-dev/microsoft-edge-dev-89.0.731.0.ebuild | 114 |
2 files changed, 116 insertions, 0 deletions
diff --git a/www-client/microsoft-edge-dev/Manifest b/www-client/microsoft-edge-dev/Manifest index 43035eecc5ac..05756eeda7f7 100644 --- a/www-client/microsoft-edge-dev/Manifest +++ b/www-client/microsoft-edge-dev/Manifest @@ -1,5 +1,7 @@ DIST microsoft-edge-dev_88.0.705.15-1_amd64.deb 87945596 BLAKE2B a770aa4edc4f11d350b7ff77dcc7d953115c815caebac5d9858f8ed5e24ec14d4f407ae3ad7f97d32f78849f024c91b75278c21eecdd8197f0c375253fcca653 SHA512 ad388d4b784e71db4f7e30f2f5ee36d3e8abcd7e2c3cac351e68d1a81476017d1c3e784fda2aaf59ec98b537d6ab3ee90aeb8e77597c3204122c6770149b427e DIST microsoft-edge-dev_89.0.723.0-1_amd64.deb 89214260 BLAKE2B 9cf78e3e6e77e7efbe78e830e84fcb767508e3f6d2872846b48525d50445d468b53351b1837387a803226f94785eec06360df305bb27e8bee378ee813d085516 SHA512 699e9a2005dcc5363921b05b077d34094550e543cf960f1ee531c9c3f16c77971945c380a4e200451ab95c41ddd484d525b8e50934f5c25df8d3e5e499f440f6 +DIST microsoft-edge-dev_89.0.731.0-1_amd64.deb 89937570 BLAKE2B 55d27bc12e4776b8d8c0b05ffe0923ab78e3fccb37baa745159a0143d2c60fe6433eae6125348ad21ae220d2371571ec61266d7295362ec660de3da5bbe01acb SHA512 3f02636c5041ca2e0a40f48c4e139321420f8c40591097fa2bc18a5fa6b97adf35d2500e929e8dfbef8839b0ea816e1498a754fb6a5339ce8b52250ac79cc70d EBUILD microsoft-edge-dev-88.0.705.15.ebuild 2359 BLAKE2B a86c2ba483cd1281f04bb7550e4e011b7040108bebadb9dd5585500f8cfa158a9ab168679b027340d1b3fcc1c664c04d1b7babd2fb88ed2842c8a7a00e8a57f0 SHA512 c1ba5fc6f667b28dcf8c0041dbb622e030f1f00b665bf229e2ae5ee2dcb448f458be1df697d41041f527097a946229b6d1eb1e14215e0408de841fc8744a4ab1 EBUILD microsoft-edge-dev-89.0.723.0.ebuild 2359 BLAKE2B a86c2ba483cd1281f04bb7550e4e011b7040108bebadb9dd5585500f8cfa158a9ab168679b027340d1b3fcc1c664c04d1b7babd2fb88ed2842c8a7a00e8a57f0 SHA512 c1ba5fc6f667b28dcf8c0041dbb622e030f1f00b665bf229e2ae5ee2dcb448f458be1df697d41041f527097a946229b6d1eb1e14215e0408de841fc8744a4ab1 +EBUILD microsoft-edge-dev-89.0.731.0.ebuild 2359 BLAKE2B a86c2ba483cd1281f04bb7550e4e011b7040108bebadb9dd5585500f8cfa158a9ab168679b027340d1b3fcc1c664c04d1b7babd2fb88ed2842c8a7a00e8a57f0 SHA512 c1ba5fc6f667b28dcf8c0041dbb622e030f1f00b665bf229e2ae5ee2dcb448f458be1df697d41041f527097a946229b6d1eb1e14215e0408de841fc8744a4ab1 MISC metadata.xml 437 BLAKE2B 2598bcc8023b9cb612219216e6873e77072ce2b452aef80a08ee43be81d25f8c8e84cb063952d1a15681fe7fe7970ef2941e949f07c57cc7728be6e25f980a73 SHA512 9ee343225c6105150638346cdeedaa70c24ff1be6263b9134572737c8a06e7f63dac39e733aad87e2b2cf5cbaf647ba1f8577bb14d160e68db36cc328878efcc diff --git a/www-client/microsoft-edge-dev/microsoft-edge-dev-89.0.731.0.ebuild b/www-client/microsoft-edge-dev/microsoft-edge-dev-89.0.731.0.ebuild new file mode 100644 index 000000000000..41108ab2bece --- /dev/null +++ b/www-client/microsoft-edge-dev/microsoft-edge-dev-89.0.731.0.ebuild @@ -0,0 +1,114 @@ +# Copyright 2011-2020 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 +} |