From fcc5224904648a8e6eb528d7603154160a20022f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 2 Feb 2022 01:39:05 +0000 Subject: gentoo resync : 02.02.2022 --- www-client/microsoft-edge-dev/Manifest | 14 +-- www-client/microsoft-edge-dev/metadata.xml | 3 + .../microsoft-edge-dev-98.0.1100.3.ebuild | 105 ------------------- .../microsoft-edge-dev-98.0.1108.13.ebuild | 105 ------------------- .../microsoft-edge-dev-98.0.1108.15.ebuild | 105 ------------------- .../microsoft-edge-dev-99.0.1131.3-r1.ebuild | 115 +++++++++++++++++++++ .../microsoft-edge-dev-99.0.1135.6-r1.ebuild | 115 +++++++++++++++++++++ .../microsoft-edge-dev-99.0.1141.0-r1.ebuild | 115 +++++++++++++++++++++ 8 files changed, 355 insertions(+), 322 deletions(-) delete mode 100644 www-client/microsoft-edge-dev/microsoft-edge-dev-98.0.1100.3.ebuild delete mode 100644 www-client/microsoft-edge-dev/microsoft-edge-dev-98.0.1108.13.ebuild delete mode 100644 www-client/microsoft-edge-dev/microsoft-edge-dev-98.0.1108.15.ebuild create mode 100644 www-client/microsoft-edge-dev/microsoft-edge-dev-99.0.1131.3-r1.ebuild create mode 100644 www-client/microsoft-edge-dev/microsoft-edge-dev-99.0.1135.6-r1.ebuild create mode 100644 www-client/microsoft-edge-dev/microsoft-edge-dev-99.0.1141.0-r1.ebuild (limited to 'www-client/microsoft-edge-dev') diff --git a/www-client/microsoft-edge-dev/Manifest b/www-client/microsoft-edge-dev/Manifest index 2f0376d491e4..375c8f444f0a 100644 --- a/www-client/microsoft-edge-dev/Manifest +++ b/www-client/microsoft-edge-dev/Manifest @@ -1,7 +1,7 @@ -DIST microsoft-edge-dev_98.0.1100.3-1_amd64.deb 121673052 BLAKE2B 2bd1a2bbad7f9c48789f3244faf9619ced02a21320e2ef826303be4e3c362f46c469ba776b4a87dc38f6c3dcb5083e155ad8fda2c5b8ead95caab0aac677bf90 SHA512 6a63649e01f969bf612eb6eafaa5e4fc54315fc1c000c7605f17ee9439a4f1753bbb2a1aa082e9da526d62374a6498b40f1d8b2a6a506a686f91d84823ef4626 -DIST microsoft-edge-dev_98.0.1108.13-1_amd64.deb 122189528 BLAKE2B 35f364b35b94dbe97ef8aad95532e358578072f393c85e6ba51ece9a3e7cc57a64508d438bc1ef18005d962d551c9712f4d94b1fc5af4e19967a825ce6a273fa SHA512 ec2b5679063122502ea28a633afd9ab41cc63a8c4287675ffdc4983e1baf28d3bf92e6d260acb768428ffc24682fa5f36d6ec65b1a2def36af621053f012dbc1 -DIST microsoft-edge-dev_98.0.1108.15-1_amd64.deb 122088280 BLAKE2B 3fcc36b8ccd1a1188bca26212ce5fe07542098cea44c72270bcab40b240687ba595b376cf93e838f34100827904a53dafe8be27f67d93ee384c06c63f12b0623 SHA512 72c66ae251bc583ce812a0c6fbc0c64c5c465475d7f7718afe901c5a4fd49c496dbb24762860c4e3b65970846aa12e84ec5921daa99d4b7120d85fd485b7ad88 -EBUILD microsoft-edge-dev-98.0.1100.3.ebuild 2221 BLAKE2B 780d2c7d2b4bbe2a30e7e8e88d9ef53a199c0fd0a1d5abdb5aab6ff308c1ca7e87265c2a58d6c5e82d25127ac653bed2f541cf6e113c0d1950016141114bfcc8 SHA512 1e2493595fb489116eea5d8d5d4043d52bb3e469059dd9072d79454611f72b478320b26ebf6d413559f536ddd3edacf049742f4c4c2e610caa55b4c59ae70d55 -EBUILD microsoft-edge-dev-98.0.1108.13.ebuild 2221 BLAKE2B 99c6ce4e9c9c3f56c416c5de27d694b284b7c458687182563bee126f6ef4ad9c2e9f8ab0982c24dfc4ac7bde7b248f20bc6e8d2769d07cc3b1874b87173b9528 SHA512 12ae7bfb0d47b2f66bdb80c0a67ca29d46b5b5f6e7cead5accc9ebb1acb4aea126b55610cc45a02ce845d68f775bf6022b557c8e26316c930d1755bab31e4b58 -EBUILD microsoft-edge-dev-98.0.1108.15.ebuild 2221 BLAKE2B 99c6ce4e9c9c3f56c416c5de27d694b284b7c458687182563bee126f6ef4ad9c2e9f8ab0982c24dfc4ac7bde7b248f20bc6e8d2769d07cc3b1874b87173b9528 SHA512 12ae7bfb0d47b2f66bdb80c0a67ca29d46b5b5f6e7cead5accc9ebb1acb4aea126b55610cc45a02ce845d68f775bf6022b557c8e26316c930d1755bab31e4b58 -MISC metadata.xml 438 BLAKE2B c33dc51ce04401c4fe43abbbfd73d89116311e7e9da4552fc2024185b49c6f279bdbb6b8dd84575afa5ea353b23d10f5400f877e0cad8691948183606632c675 SHA512 02485902fef7f459af8a203f75632d3524fc777beddafc5ace980f7e3e658e9b164797c233c0b99d404f37d4532dbd34bbf3a9984afab2454078891405f73c5c +DIST microsoft-edge-dev_99.0.1131.3-1_amd64.deb 115344952 BLAKE2B b18b12648e56b49d846774a83686fb23a6c6a18e4656d19f45dd12e165bc040aace42250d8fb5e372150684f0faaba8cde3e2728eaea59e9317a10a3e8468061 SHA512 5b79837c771bab01e0e1366d2b1b04ed3416a3b1a2154838a220f3a25d680acfb410009b2a0a4a237762dc4ed3e103e87b9c945b09affc47a78af59cdfcc275a +DIST microsoft-edge-dev_99.0.1135.6-1_amd64.deb 117972356 BLAKE2B b43de133cc19a69923e89dcaeeadd475cf99c471e105aea03e4a7c2b8acdfacb3ca6d2f795eee2ce877906287af28f2e8fea3346917164b8bb4d4ea58cc96865 SHA512 c92a410dd03cf7b7f6a245411d589e8df2fc43f8dc372f76ce548fdab407b42d45a40c5ea12397fc013c8c7b80e800ca4b4fc0bdd410295553c03c82fd8582b5 +DIST microsoft-edge-dev_99.0.1141.0-1_amd64.deb 117570388 BLAKE2B 5eafdef539ff76d8b58eff1ef21897412611c7224288dcb9840cb5bed749ee7b4cfb665fd534f2e58717f272e6adca09745614e43ec5f17d1f3d9bbdad226b3b SHA512 3899bbd9ae9579120d1745e164411ee8ea32cd72bef5d99689765cbeb0888fbbdd9229736ebf498fbd95fae0e8d02db76789488c686a005e4eca79d2d2bdf5bb +EBUILD microsoft-edge-dev-99.0.1131.3-r1.ebuild 2488 BLAKE2B 66accb5509c9639426747a0432877c5324112fb8eb563fbb589eb31c9cf019f015b4cc12f61f5b02327fa63258c0b271baec1205877d360af489680dc988b6d5 SHA512 8cbbe9ddf20a066e73518834b526bb6cb751e2158a3a7ce4c650f531bfcdab147c19ac48b81215f06443c46ac2da31cbde412a0d9b16d06c533b3ab423c105fd +EBUILD microsoft-edge-dev-99.0.1135.6-r1.ebuild 2488 BLAKE2B 66accb5509c9639426747a0432877c5324112fb8eb563fbb589eb31c9cf019f015b4cc12f61f5b02327fa63258c0b271baec1205877d360af489680dc988b6d5 SHA512 8cbbe9ddf20a066e73518834b526bb6cb751e2158a3a7ce4c650f531bfcdab147c19ac48b81215f06443c46ac2da31cbde412a0d9b16d06c533b3ab423c105fd +EBUILD microsoft-edge-dev-99.0.1141.0-r1.ebuild 2488 BLAKE2B 66accb5509c9639426747a0432877c5324112fb8eb563fbb589eb31c9cf019f015b4cc12f61f5b02327fa63258c0b271baec1205877d360af489680dc988b6d5 SHA512 8cbbe9ddf20a066e73518834b526bb6cb751e2158a3a7ce4c650f531bfcdab147c19ac48b81215f06443c46ac2da31cbde412a0d9b16d06c533b3ab423c105fd +MISC metadata.xml 528 BLAKE2B ef09f12e6f9b503cd78a39ece67ab0b21c4760114b052bf105b7c5e426a1df43a5b37ff547338fc7122ac8a029b2ebb85a8793dbd4d192ae990ae71829dcdec6 SHA512 b6ab632cfce365f249a178a261eba3d469cd645cdcb99dd1bc4f1e865fbd6668cfd0f7171843e2b234ff852f8191a8b08b48cf89991cdfc7ca36337a71e5a38d diff --git a/www-client/microsoft-edge-dev/metadata.xml b/www-client/microsoft-edge-dev/metadata.xml index c4f491930d33..a7689ec3a837 100644 --- a/www-client/microsoft-edge-dev/metadata.xml +++ b/www-client/microsoft-edge-dev/metadata.xml @@ -9,4 +9,7 @@ Microsoft Edge is a browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier. + + Install Microsoft Information Protection plugin. + diff --git a/www-client/microsoft-edge-dev/microsoft-edge-dev-98.0.1100.3.ebuild b/www-client/microsoft-edge-dev/microsoft-edge-dev-98.0.1100.3.ebuild deleted file mode 100644 index a14f69804a04..000000000000 --- a/www-client/microsoft-edge-dev/microsoft-edge-dev-98.0.1100.3.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# 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" -} diff --git a/www-client/microsoft-edge-dev/microsoft-edge-dev-98.0.1108.13.ebuild b/www-client/microsoft-edge-dev/microsoft-edge-dev-98.0.1108.13.ebuild deleted file mode 100644 index 77f09f692939..000000000000 --- a/www-client/microsoft-edge-dev/microsoft-edge-dev-98.0.1108.13.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# 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" - -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" -} diff --git a/www-client/microsoft-edge-dev/microsoft-edge-dev-98.0.1108.15.ebuild b/www-client/microsoft-edge-dev/microsoft-edge-dev-98.0.1108.15.ebuild deleted file mode 100644 index 77f09f692939..000000000000 --- a/www-client/microsoft-edge-dev/microsoft-edge-dev-98.0.1108.15.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# 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" - -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" -} diff --git a/www-client/microsoft-edge-dev/microsoft-edge-dev-99.0.1131.3-r1.ebuild b/www-client/microsoft-edge-dev/microsoft-edge-dev-99.0.1131.3-r1.ebuild new file mode 100644 index 000000000000..3e1b323cccbf --- /dev/null +++ b/www-client/microsoft-edge-dev/microsoft-edge-dev-99.0.1131.3-r1.ebuild @@ -0,0 +1,115 @@ +# 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 + 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" +} diff --git a/www-client/microsoft-edge-dev/microsoft-edge-dev-99.0.1135.6-r1.ebuild b/www-client/microsoft-edge-dev/microsoft-edge-dev-99.0.1135.6-r1.ebuild new file mode 100644 index 000000000000..3e1b323cccbf --- /dev/null +++ b/www-client/microsoft-edge-dev/microsoft-edge-dev-99.0.1135.6-r1.ebuild @@ -0,0 +1,115 @@ +# 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 + 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" +} diff --git a/www-client/microsoft-edge-dev/microsoft-edge-dev-99.0.1141.0-r1.ebuild b/www-client/microsoft-edge-dev/microsoft-edge-dev-99.0.1141.0-r1.ebuild new file mode 100644 index 000000000000..3e1b323cccbf --- /dev/null +++ b/www-client/microsoft-edge-dev/microsoft-edge-dev-99.0.1141.0-r1.ebuild @@ -0,0 +1,115 @@ +# 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 + 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" +} -- cgit v1.2.3