From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7E5B6158086 for ; Thu, 28 Oct 2021 21:15:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CC8E1E08C3; Thu, 28 Oct 2021 21:15:31 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A3DC4E08C3 for ; Thu, 28 Oct 2021 21:15:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 91CEE343574 for ; Thu, 28 Oct 2021 21:15:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C9D9E83 for ; Thu, 28 Oct 2021 21:15:28 +0000 (UTC) From: "Stephan Hartmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Stephan Hartmann" Message-ID: <1635455706.a563d3d0b48e0c4ff14952bcfff0c9e4c71d784a.sultan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/microsoft-edge/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/microsoft-edge/Manifest www-client/microsoft-edge/metadata.xml www-client/microsoft-edge/microsoft-edge-95.0.1020.38.ebuild X-VCS-Directories: www-client/microsoft-edge/ X-VCS-Committer: sultan X-VCS-Committer-Name: Stephan Hartmann X-VCS-Revision: a563d3d0b48e0c4ff14952bcfff0c9e4c71d784a X-VCS-Branch: master Date: Thu, 28 Oct 2021 21:15:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2d874c73-bf80-4a34-911d-dc13c44daf15 X-Archives-Hash: 6f21eae08bb40b8cbb8e352c5a493612 commit: a563d3d0b48e0c4ff14952bcfff0c9e4c71d784a Author: Stephan Hartmann gentoo org> AuthorDate: Thu Oct 28 21:15:06 2021 +0000 Commit: Stephan Hartmann gentoo org> CommitDate: Thu Oct 28 21:15:06 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a563d3d0 www-client/microsoft-edge: new package Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Stephan Hartmann gentoo.org> www-client/microsoft-edge/Manifest | 1 + www-client/microsoft-edge/metadata.xml | 12 +++ .../microsoft-edge-95.0.1020.38.ebuild | 109 +++++++++++++++++++++ 3 files changed, 122 insertions(+) diff --git a/www-client/microsoft-edge/Manifest b/www-client/microsoft-edge/Manifest new file mode 100644 index 00000000000..2a99c6ebd4a --- /dev/null +++ b/www-client/microsoft-edge/Manifest @@ -0,0 +1 @@ +DIST microsoft-edge-stable_95.0.1020.38-1_amd64.deb 115540916 BLAKE2B a009ba2ac3fe5ddd570456d978420cb2307baaa6e925488721f038d196516e228e3a25d3e93c62e729365cf833fa634587c4bc09be3dda7d528068446747cbd7 SHA512 896d9fc55331763f0db87065d63b67a02b861d429f18288dd3bbe01e51b7cb5315b59400489f1522ffa57d202db21f6df99f56666fec42fd6be1db054ce951be diff --git a/www-client/microsoft-edge/metadata.xml b/www-client/microsoft-edge/metadata.xml new file mode 100644 index 00000000000..c4f491930d3 --- /dev/null +++ b/www-client/microsoft-edge/metadata.xml @@ -0,0 +1,12 @@ + + + + + chromium@gentoo.org + Chromium in Gentoo Project + + + Microsoft Edge is a browser that combines a minimal design with + sophisticated technology to make the web faster, safer, and easier. + + diff --git a/www-client/microsoft-edge/microsoft-edge-95.0.1020.38.ebuild b/www-client/microsoft-edge/microsoft-edge-95.0.1020.38.ebuild new file mode 100644 index 00000000000..098697866ec --- /dev/null +++ b/www-client/microsoft-edge/microsoft-edge-95.0.1020.38.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" +}