diff options
author | Matt Jolly <kangie@gentoo.org> | 2024-11-29 13:56:44 +1000 |
---|---|---|
committer | Matt Jolly <kangie@gentoo.org> | 2024-11-29 14:38:25 +1000 |
commit | 2160e981a6fc4fb50b6e3d24f41a63858ff1ea64 (patch) | |
tree | 19c4859ee0aadddd8e3d6c49bc5f6ca6291e17e1 /www-client/microsoft-edge | |
parent | www-plugins/chrome-binary-plugins: automated update (133.0.6847.2_alpha) (diff) | |
download | gentoo-2160e981a6fc4fb50b6e3d24f41a63858ff1ea64.tar.gz gentoo-2160e981a6fc4fb50b6e3d24f41a63858ff1ea64.tar.bz2 gentoo-2160e981a6fc4fb50b6e3d24f41a63858ff1ea64.zip |
www-client/microsoft-edge: automated bump (131.0.2903.70)
Signed-off-by: Matt Jolly <kangie@gentoo.org>
Diffstat (limited to 'www-client/microsoft-edge')
-rw-r--r-- | www-client/microsoft-edge/Manifest | 1 | ||||
-rw-r--r-- | www-client/microsoft-edge/microsoft-edge-131.0.2903.70.ebuild | 126 |
2 files changed, 127 insertions, 0 deletions
diff --git a/www-client/microsoft-edge/Manifest b/www-client/microsoft-edge/Manifest index 3e4d74aed354..02f5d5ee0a52 100644 --- a/www-client/microsoft-edge/Manifest +++ b/www-client/microsoft-edge/Manifest @@ -1 +1,2 @@ DIST microsoft-edge-stable_131.0.2903.51-1_amd64.deb 168571482 BLAKE2B ae98073c061e169ab8946037f5fc90feed52796a75c25f7e7c736756a8ecb56ff8809a459319fa66e0b20b8fa78775966702a21820b4bdcf84f8c66469620fce SHA512 72530b5029c907c8e992bff58904a358471b7980c94f86893dfbf87f68f2698d298f663a8387c7f53b63b5a2d858665f14fafd2dcfdfc761c42e3906aed5c3bf +DIST microsoft-edge-stable_131.0.2903.70-1_amd64.deb 168920122 BLAKE2B 87d0c295176d2a28c5a87c9c769bdcd8a21f09b79cc364171893d42154a5ef33e1602126df94d50d88691b74105674c45e8ff6df355d095d8345ddb776a62fc0 SHA512 0c737da6e9643f3cf2ff6c3f7fd7cde05ec1630acdd7c5dd31e46654c8daa325f2155b1cfd7b4864172425a712f474703bb414ebb3d627e9898477d4819ffc7e diff --git a/www-client/microsoft-edge/microsoft-edge-131.0.2903.70.ebuild b/www-client/microsoft-edge/microsoft-edge-131.0.2903.70.ebuild new file mode 100644 index 000000000000..0ff710cc5ddc --- /dev/null +++ b/www-client/microsoft-edge/microsoft-edge-131.0.2903.70.ebuild @@ -0,0 +1,126 @@ +# Copyright 2011-2024 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/edge" + +if [[ ${PN} == microsoft-edge ]]; then + MY_PN=${PN}-stable +else + 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" +S=${WORKDIR} + +LICENSE="microsoft-edge" +SLOT="0" +KEYWORDS="-* ~amd64" + +IUSE="+mip qt5 qt6" +RESTRICT="bindist mirror strip" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + app-misc/ca-certificates + 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 ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5[X] + dev-qt/qtwidgets:5 + ) + qt6? ( dev-qt/qtbase:6[gui,widgets] ) +" + +QA_PREBUILT="*" +QA_DESKTOP_FILE="usr/share/applications/microsoft-edge.*\\.desktop" +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 -f _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 + + if ! use qt5; then + rm "${EDGE_HOME}/libqt5_shim.so" || die + fi + if ! use qt6; then + rm "${EDGE_HOME}/libqt6_shim.so" || die + fi + + pax-mark m "${EDGE_HOME}/msedge" +} |