commit:     f735ae3b4552292c9e411456ca9205d279e0cb49
Author:     Stephan Hartmann <sultan <AT> gentoo <DOT> org>
AuthorDate: Tue May 31 20:10:53 2022 +0000
Commit:     Stephan Hartmann <sultan <AT> gentoo <DOT> org>
CommitDate: Tue May 31 20:11:56 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f735ae3b

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

Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org>

 www-client/microsoft-edge/Manifest                 |   1 +
 .../microsoft-edge-102.0.1245.30.ebuild            | 116 +++++++++++++++++++++
 2 files changed, 117 insertions(+)

diff --git a/www-client/microsoft-edge/Manifest 
b/www-client/microsoft-edge/Manifest
index 4ab7b0d45e69..8abe3ab0e892 100644
--- a/www-client/microsoft-edge/Manifest
+++ b/www-client/microsoft-edge/Manifest
@@ -1 +1,2 @@
 DIST microsoft-edge-stable_101.0.1210.53-1_amd64.deb 119493496 BLAKE2B 
f21e86e48a4e03717e7d349e34ee9e966ad62ff155c9dee2a8417e3425aa2bf3b409a644a33e7e8798cc806e0b6d0787015a1c1e4f568313e86baa9efc77fabd
 SHA512 
acfcf4690d4f8606c93b5a06623bac85ec5ca6b3dfd1587328a6f363b1120c06755f849d86577a56105b07c3411622c5af414e3f6a659f38bcf9193895164946
+DIST microsoft-edge-stable_102.0.1245.30-1_amd64.deb 119467444 BLAKE2B 
8b98a7228b37278390c65bb70d24355e9abb8fe8b703f7df534565812810faead955d823fb950481992876f07a4dde179fc0ba39457367f107ca2f26f3b46b7d
 SHA512 
c7444e9a77280e82f9439d2874a0377ae2c04284177f4d04f2281ce71805cb05fc7b4b8e3dd4e3cdb13a39ca692342128734541f600880cd66a78069d07febf7

diff --git a/www-client/microsoft-edge/microsoft-edge-102.0.1245.30.ebuild 
b/www-client/microsoft-edge/microsoft-edge-102.0.1245.30.ebuild
new file mode 100644
index 000000000000..a8cc7e730ebf
--- /dev/null
+++ b/www-client/microsoft-edge/microsoft-edge-102.0.1245.30.ebuild
@@ -0,0 +1,116 @@
+# 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
+       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 )
+"
+
+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"
+}

Reply via email to