summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-client/microsoft-edge-dev/Manifest1
-rw-r--r--www-client/microsoft-edge-dev/microsoft-edge-dev-90.0.782.0.ebuild114
2 files changed, 115 insertions, 0 deletions
diff --git a/www-client/microsoft-edge-dev/Manifest b/www-client/microsoft-edge-dev/Manifest
index e6abf7da1d05..cf9c8828219e 100644
--- a/www-client/microsoft-edge-dev/Manifest
+++ b/www-client/microsoft-edge-dev/Manifest
@@ -4,3 +4,4 @@ DIST microsoft-edge-dev_89.0.760.0-1_amd64.deb 90618796 BLAKE2B 4f7e150d918adfbe
DIST microsoft-edge-dev_89.0.767.0-1_amd64.deb 97527750 BLAKE2B 52a4860e368ee9e6e20ea612bdf97b0782ecae783ef30320d2b836ef439b628c3a9d32bf11910ec208e5c714502c2c89066b9d9ac5f46e9df7c09e8cf17ec814 SHA512 264d6e68055fc85e0b44d9ad090679b22fa766c0852650bbaed17fbb2f56afd4dbbb98855b12c9ab3d279e5c94bad0ed7e7c2a69b8251787ec66746111345085
DIST microsoft-edge-dev_89.0.774.14-1_amd64.deb 91138518 BLAKE2B 4143340ab0df8f58b0f0d49e5edba9382ccc3dc848e526daf4e50c8452d9c0ef2568d0f0b1be32637d22f8842eae8efc436cae3a6c4e37f53a0e07a9e0c817a1 SHA512 3fa34a4ae44359645be603ffa7550238eb35a2f7a1678e829c05a1a9c44c10d62cb16db70ce4bfc3d3e47efc53cf9e746bff980502a4e334e38ed3b6f8bf89aa
DIST microsoft-edge-dev_89.0.774.4-1_amd64.deb 91593084 BLAKE2B 91988a47310ce3fb0385f828d5731f8453bb1baed2340b05d51b39c23755c9dcf04f83f169714d02dd96e917e31c90ee6a9128a6de017047ac05067b5dbff880 SHA512 d98cb3b28e41b22e45f4b8d40e02740e40175878393b4abda871be734f2d8b24046d070e74428e3d34527c017135b3fdcd237f87d3c6d8cc340c9f6814e1e7a5
+DIST microsoft-edge-dev_90.0.782.0-1_amd64.deb 92059528 BLAKE2B 0aeeb727aeb085798ac71d05c3adb26984cb2c967386828fe65f73cdd7a53016383b4215e70829cbc38a6a3ddcdd962234dc94ccd34cb48e1a5736e0001ad9e1 SHA512 606e7a6464b6ed8d1d77125636717614bba33aed7a38f9f5933ef3f4597c763e9a373db452feae8a34de1efbce9afa59264d34992473bc620a095f91a6187bb6
diff --git a/www-client/microsoft-edge-dev/microsoft-edge-dev-90.0.782.0.ebuild b/www-client/microsoft-edge-dev/microsoft-edge-dev-90.0.782.0.ebuild
new file mode 100644
index 000000000000..8b9535ac7993
--- /dev/null
+++ b/www-client/microsoft-edge-dev/microsoft-edge-dev-90.0.782.0.ebuild
@@ -0,0 +1,114 @@
+# Copyright 2011-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit chromium-2 desktop pax-utils unpacker xdg-utils
+
+DESCRIPTION="The web browser from Microsoft"
+HOMEPAGE="https://www.microsoft.com/en-us/edge"
+
+if [[ ${PN} == microsoft-edge ]]; then
+ KEYWORDS="-* amd64"
+ MY_PN=${PN}-stable
+else
+ KEYWORDS="-* ~amd64"
+ 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"
+
+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/wget
+ 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/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
+
+ 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"
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+}