summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Hartmann <sultan@gentoo.org>2021-12-02 20:35:52 +0100
committerStephan Hartmann <sultan@gentoo.org>2021-12-02 20:35:52 +0100
commit9bee3189375293efa6d751636cbbcbbae35f78bf (patch)
treeb0436e682141be49a77b120d793dde487873f8da /www-client/microsoft-edge
parentwww-client/microsoft-edge-beta: remove old (diff)
downloadgentoo-9bee3189375293efa6d751636cbbcbbae35f78bf.tar.gz
gentoo-9bee3189375293efa6d751636cbbcbbae35f78bf.tar.bz2
gentoo-9bee3189375293efa6d751636cbbcbbae35f78bf.zip
www-client/microsoft-edge: bump to 96.0.1054.41
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'www-client/microsoft-edge')
-rw-r--r--www-client/microsoft-edge/Manifest1
-rw-r--r--www-client/microsoft-edge/microsoft-edge-96.0.1054.41.ebuild109
2 files changed, 110 insertions, 0 deletions
diff --git a/www-client/microsoft-edge/Manifest b/www-client/microsoft-edge/Manifest
index 7a32401209b1..b2cf3ed436bc 100644
--- a/www-client/microsoft-edge/Manifest
+++ b/www-client/microsoft-edge/Manifest
@@ -1 +1,2 @@
DIST microsoft-edge-stable_96.0.1054.34-1_amd64.deb 118393292 BLAKE2B d646bd3a57ac4b1e98e9b20f933a1fe5602d2f675eecd82a0e3b17762958257da923794e1ba24fbe6e2cfa151e8b1918eceeaccbf65154406d7dc3b77b3e8305 SHA512 2a37534c65b338a452fcc599057884b8d31146f9b97f1506d82cc0352c51791b6bbcbe8636a2e3a545d791dd365ac07888b5302db20b21d40ee682f35bb56579
+DIST microsoft-edge-stable_96.0.1054.41-1_amd64.deb 118508952 BLAKE2B 3b661b03676427b83d3bce59114a70f1bdd993bee617b31f667fedaaf668ac56fd3270c0c8e90af85b379bbe02028bcbd7c72f5297de122da43a15cb0b25ca65 SHA512 5ea58dc98561f6aa4cf1b0dfd45f35adfe4c4b3b9eea644b908e4889a18b0978177bf2ef054869435ed3f01b560dee7282c074d38209d1dca11d6a9985e52f4c
diff --git a/www-client/microsoft-edge/microsoft-edge-96.0.1054.41.ebuild b/www-client/microsoft-edge/microsoft-edge-96.0.1054.41.ebuild
new file mode 100644
index 000000000000..098697866ecf
--- /dev/null
+++ b/www-client/microsoft-edge/microsoft-edge-96.0.1054.41.ebuild
@@ -0,0 +1,109 @@
+# 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
+ 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
+
+ pax-mark m "${EDGE_HOME}/msedge"
+}