summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-client')
-rw-r--r--www-client/microsoft-edge-dev/Manifest1
-rw-r--r--www-client/microsoft-edge-dev/microsoft-edge-dev-109.0.1518.12.ebuild117
2 files changed, 118 insertions, 0 deletions
diff --git a/www-client/microsoft-edge-dev/Manifest b/www-client/microsoft-edge-dev/Manifest
index 09b20a1bd98a..a9f469176b30 100644
--- a/www-client/microsoft-edge-dev/Manifest
+++ b/www-client/microsoft-edge-dev/Manifest
@@ -1,4 +1,5 @@
DIST microsoft-edge-dev_109.0.1495.2-1_amd64.deb 138097350 BLAKE2B cbff56ba8e6b670c7d8277164d508df1d1a80bf66e0b807432d7431132d342312bbf50e48b8383ff11a8d054cfcdd70534c86baaf94cde3a75fd40c91861cc50 SHA512 c804b6104505f328649d7acaf6fecdc2b55f1e9a7be929a7efeaf1db62f2823c7d47e35e8afa88ef541fed976aaee50572bde6ef6d7a16c4a889365519cc66fe
+DIST microsoft-edge-dev_109.0.1518.12-1_amd64.deb 138877934 BLAKE2B 4230f2c762df35ae68f2e6df5a9a169a538ecb8d0be6b61477a3923281ddc96dd0e905407a08dcd160e69c858941e8d54f5c6e2501be754fea52a13979b1b20b SHA512 16eb0747e7d3f73664446b79fc7274d29e42e29b74afde637055432ddc3dd8907b4000933c1dca6bbd7910e40b100641b86daa2cb14787575447bf6cac0c4b05
DIST microsoft-edge-dev_109.0.1518.5-1_amd64.deb 139020446 BLAKE2B 2533eb91856f4bbe2f24a4aec3c320731abcd6397cdbae24542a1a7149ddda30ef52d1234750846ad81fbe1d50841c5464b7f4fe25f148ec8355e1237ec9982e SHA512 195ca0d05a91e96fbef7a7897814035b3777e95240be8feb81de437fb8fef73c9f07b034995c51ecf1351534eaebff4ace1c453c654e9bc4f5f50653f48b9ea3
DIST microsoft-edge-dev_109.0.1518.8-1_amd64.deb 138864098 BLAKE2B 18cb44ce106d4bd350226363d69b3ce2136a19049b3c404e2033ddac872fa868b5bf799c782c768547564a67f540211c4fa2c5e04e06b4c7d2d3900de8315aa9 SHA512 d47219d54980a00e03ec96c00b05b19b4214a56cfa5546b2e0920cdd8a4ebf89c779f5d15a1e6d20755ba6c7d92494287c04756033a6d99727823cfa913ed040
DIST microsoft-edge-dev_110.0.1543.0-1_amd64.deb 138810898 BLAKE2B 9eed98879ee32ca895ac363d3e4431d0d93e2af34bde10a4d2434b2302eba73677d5573a9a1a782a2d4ff6c38b33521fe79faaefa691b583d3c5352ce1c71e05 SHA512 23cf47804ebca85b74fe8e6e78ce94980d76f7683669dc1261cc685396d59d9b05a674a4e3a648dcb2597e7e34255e62ba440e61b2851fa14b2e3bfdaed77966
diff --git a/www-client/microsoft-edge-dev/microsoft-edge-dev-109.0.1518.12.ebuild b/www-client/microsoft-edge-dev/microsoft-edge-dev-109.0.1518.12.ebuild
new file mode 100644
index 000000000000..873f8ce87360
--- /dev/null
+++ b/www-client/microsoft-edge-dev/microsoft-edge-dev-109.0.1518.12.ebuild
@@ -0,0 +1,117 @@
+# 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-core-2.46.0:2
+ ( app-accessibility/at-spi2-atk dev-libs/atk )
+ )
+ 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 )
+"
+
+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
+
+ pax-mark m "${EDGE_HOME}/msedge"
+}