commit:     3d54de98ef464f91031f51bd56998264463e4af1
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 19 01:00:57 2025 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Sun Jan 19 01:35:45 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d54de98

www-client/microsoft-edge: automated bump (132.0.2957.115)

Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 www-client/microsoft-edge/Manifest                 |   1 +
 .../microsoft-edge-132.0.2957.115.ebuild           | 126 +++++++++++++++++++++
 2 files changed, 127 insertions(+)

diff --git a/www-client/microsoft-edge/Manifest 
b/www-client/microsoft-edge/Manifest
index 39b098290fd7..51b8c9e51770 100644
--- a/www-client/microsoft-edge/Manifest
+++ b/www-client/microsoft-edge/Manifest
@@ -1 +1,2 @@
 DIST microsoft-edge-stable_131.0.2903.147-1_amd64.deb 169028042 BLAKE2B 
5b9de694f42c7bdb813e2c16a92840e89b8bf2e81c2fff8029e30023e433ba9861c4c5b91dd08bb79772d1d3d2a5fb1af4330535f855ad67cae196306c325c12
 SHA512 
3fd754d0d17ef359eb4dd62b87ee8b6565c4cf3ad01c6bcd2020d27d3b90b18577879226dc35740d2b5b360a31c88d872b1a3b51e22933c36adc83241aa2aba0
+DIST microsoft-edge-stable_132.0.2957.115-1_amd64.deb 168269722 BLAKE2B 
9b20632dbc0baf6923a6c2be8f54485c2ecbe8e3bbedefa636a55f2bb857252f39b9b7b5b13853d903597991b6c52dbe684de219c12372f6920129912cfcf1e1
 SHA512 
00f959692a8fa2193ba617195a9a13abacc2ad88a58362bd8d6cf0e42ced2ebdec59c7645db576cf8bfe6f0b413b3aad8467f071b75ab7d3827abe90241be726

diff --git a/www-client/microsoft-edge/microsoft-edge-132.0.2957.115.ebuild 
b/www-client/microsoft-edge/microsoft-edge-132.0.2957.115.ebuild
new file mode 100644
index 000000000000..32c5a4f611f9
--- /dev/null
+++ b/www-client/microsoft-edge/microsoft-edge-132.0.2957.115.ebuild
@@ -0,0 +1,126 @@
+# Copyright 2011-2025 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"
+}

Reply via email to