commit:     912c68fd591814311e3539bab5cfabe4fda3b51e
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 28 03:29:24 2024 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Wed Feb 28 03:58:15 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=912c68fd

www-client/microsoft-edge-beta: automated bump (122.0.2365.59)

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

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

diff --git a/www-client/microsoft-edge-beta/Manifest 
b/www-client/microsoft-edge-beta/Manifest
index 225897bbd4a6..3bc4d011ccf8 100644
--- a/www-client/microsoft-edge-beta/Manifest
+++ b/www-client/microsoft-edge-beta/Manifest
@@ -1,3 +1,4 @@
 DIST microsoft-edge-beta_122.0.2365.16-1_amd64.deb 165950910 BLAKE2B 
e658ea1311eb09e83feaf9fceb793f2a4e0fa7795806da1edb8aed4743036206c9ce220109043cc2bfbc675b33b7201be84418d52c7f1731acf160094247bbdd
 SHA512 
3bc444a94d45057ae0d3570a0fd7ea18c4ee5f8facdebc12d99b0a1909566085ac6038dd55194fd92d5f7a435ee018e35463b383d69ee9f972c9f31ab2ca14be
 DIST microsoft-edge-beta_122.0.2365.30-1_amd64.deb 165932382 BLAKE2B 
04b1739e696ae93c515f25cc4ffc5ec344b192f6f9ae66e51d8b8cef160f852c899c3bd642b50a712767dc2cf301ce3d82ce2b6b7c0d9dbe7499b59641e06110
 SHA512 
560c008cd8e787190a1024f95c957f33b68493c4792e5212956e1df74ef54bbf6eb02a15e0eca679eb1b3b8c9d410a954f6d11d96af73184b2a7d82abeab4fb6
 DIST microsoft-edge-beta_122.0.2365.38-1_amd64.deb 165991118 BLAKE2B 
78381a76ac0f8f45fe8996b15f6325c64bdff77da893284f72fa3017daa37f753b30effe15f4133820d49bfa8998ddd986e4faf66e53e6cc484579639796c765
 SHA512 
42169f8b7fd9b37d04d9c396c2c9f6d1c612be3f364f12af4131568f4317b11a4fc3d83d0b750552191eab47f48078e8774afac1d65ced9aec77e9eb166b2c15
+DIST microsoft-edge-beta_122.0.2365.59-1_amd64.deb 165989346 BLAKE2B 
f4e577681fe3a8a5f67963132878bf5c5f05046f5249ce5ef3717a8392f0c56377299c485e7478415873e78c0715dce6e42a7fbeeabda191a1269056eeab16bc
 SHA512 
27cdcbd7801781e3e50ead3fe74c2ba4a68f1dc918894240c6377ee19798d1631b43b4299a09476710f382e36b944476f0976539c7d7828bef19861be32cf397

diff --git 
a/www-client/microsoft-edge-beta/microsoft-edge-beta-122.0.2365.59.ebuild 
b/www-client/microsoft-edge-beta/microsoft-edge-beta-122.0.2365.59.ebuild
new file mode 100644
index 000000000000..f67dc1739fa5
--- /dev/null
+++ b/www-client/microsoft-edge-beta/microsoft-edge-beta-122.0.2365.59.ebuild
@@ -0,0 +1,127 @@
+# 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/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 qt5 qt6"
+
+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"
+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 -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