From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1621802-garchives=archives.gentoo.org@lists.gentoo.org>
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 11D29158043
	for <garchives@archives.gentoo.org>; Wed, 17 Apr 2024 04:56:29 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id D9543E29F2;
	Wed, 17 Apr 2024 04:56:27 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id B737DE29F2
	for <gentoo-commits@lists.gentoo.org>; Wed, 17 Apr 2024 04:56:27 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id C92B7343463
	for <gentoo-commits@lists.gentoo.org>; Wed, 17 Apr 2024 04:56:26 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 6B94A170C
	for <gentoo-commits@lists.gentoo.org>; Wed, 17 Apr 2024 04:56:23 +0000 (UTC)
From: "Matt Jolly" <kangie@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Matt Jolly" <kangie@gentoo.org>
Message-ID: <1713329717.fab59d45d39b8a0e8982d37ea202799db6d8af95.kangie@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/microsoft-edge-dev/
X-VCS-Repository: repo/gentoo
X-VCS-Files: www-client/microsoft-edge-dev/Manifest www-client/microsoft-edge-dev/microsoft-edge-dev-125.0.2518.0.ebuild
X-VCS-Directories: www-client/microsoft-edge-dev/
X-VCS-Committer: kangie
X-VCS-Committer-Name: Matt Jolly
X-VCS-Revision: fab59d45d39b8a0e8982d37ea202799db6d8af95
X-VCS-Branch: master
Date: Wed, 17 Apr 2024 04:56:23 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: ec5be72e-4a93-46bb-a580-000e337aeb71
X-Archives-Hash: a0ce7119d6e2b3040f22eec8cc05046a

commit:     fab59d45d39b8a0e8982d37ea202799db6d8af95
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 17 04:27:05 2024 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Wed Apr 17 04:55:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fab59d45

www-client/microsoft-edge-dev: automated bump (125.0.2518.0)

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

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

diff --git a/www-client/microsoft-edge-dev/Manifest b/www-client/microsoft-edge-dev/Manifest
index 58fe20f86e56..fb335bb363a8 100644
--- a/www-client/microsoft-edge-dev/Manifest
+++ b/www-client/microsoft-edge-dev/Manifest
@@ -1,3 +1,4 @@
 DIST microsoft-edge-dev_124.0.2478.10-1_amd64.deb 167388474 BLAKE2B f01b4179306306014047e34f64ca2d79b1359e86364f33810f81700bf64654026c4f30e30c82f270c906e2365c0dad67069432344f23bb3305d2fbdd86463ec6 SHA512 1a8b4484f0fb484a361b90b017385caea53c58f867a0506f6eeeac3e502f07d50aeb0a726da4e5667644ef9d737c9e3fc92f7845d20113c21932eb12960c04bd
 DIST microsoft-edge-dev_125.0.2492.1-1_amd64.deb 166493890 BLAKE2B 249caf6e4643dd961783a9159374379db29ba26ae18334d1f05015dae46b9efc0becfda0c708804a024062978e4c2274eb8b63dea4de9216df4756bb02bee5b1 SHA512 a7d32bc493e801df731ec08e21b39bae52a4912eb0660a1f1a58a35557e759975730736b273d3b70eccf950714ed23ef49551b61538418fdc0b0325051fd65ea
 DIST microsoft-edge-dev_125.0.2506.0-1_amd64.deb 166910606 BLAKE2B bd008c624ca5b2b6cb66d20b1d404622a8dffaf11be64a066f2413311fbd5664d12ded2b556df5d40d6b56aaad88560a9a49675acbd298b7af47313699cd6af7 SHA512 b938ded35dea68fed0e12ce784ffa620c9f26b74c7f3cb8c66c70f16bffea33c81fef1c51bdc426dac59a2d4e56acbe4ffbdbe835be9f43f23480ed48f075f8c
+DIST microsoft-edge-dev_125.0.2518.0-1_amd64.deb 167009998 BLAKE2B 8738b70b862d6b547c8b91336d24b3b45ef9f3085dbc5fae062211e4834d37086cfd2de507c6e4ec62f1d4294214b464ac205bb3a37a561f791ad674179105bb SHA512 52cba9509c24cf383d39efe9a05c48931a66a3e75294b12b5b5e45560441f42c885e913da4736fce9f0e58e3689c8c1c961e9fe9bdabda169c86f42a3c0a865d

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