summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/microsoft-edge-dev')
-rw-r--r--www-client/microsoft-edge-dev/Manifest1
-rw-r--r--www-client/microsoft-edge-dev/microsoft-edge-dev-114.0.1823.7.ebuild123
2 files changed, 124 insertions, 0 deletions
diff --git a/www-client/microsoft-edge-dev/Manifest b/www-client/microsoft-edge-dev/Manifest
index cfcf691532fe..604233369bea 100644
--- a/www-client/microsoft-edge-dev/Manifest
+++ b/www-client/microsoft-edge-dev/Manifest
@@ -1,3 +1,4 @@
DIST microsoft-edge-dev_114.0.1788.0-1_amd64.deb 147070010 BLAKE2B 5ddb514c93c5cc30f0a3773bfb12138bb90ddaf05bdfdf5e8844bf8751d6c2cde941044b7b519ba7506bbd77665c9d38d5471e35f4f3c6e3e17c1ac77b0f8270 SHA512 612340100eaf0ccf145da358eeb84aa1b960a400dce90b8bc45eba0f7cb72b7c7a48ab0adf2769dfc049274c30d53e3bcef5716406258a471b74215c43cb527f
DIST microsoft-edge-dev_114.0.1793.0-1_amd64.deb 147103118 BLAKE2B 9274d3cc3701b15c592fdf89c6acfb63c8aa3936e80b59ac95af6f6a0514e54d192202c358a07adea263faf6309e1287d6407740e81613101bf80f5d2e3bfe35 SHA512 269550db62b647cbabd2ad9ad50bd4c9ccfeb843295e36a0de104892b5e67c067b9a5172fc02164203ed415d6b77098832d4b94bd5ee2252b510fa607a206820
DIST microsoft-edge-dev_114.0.1807.1-1_amd64.deb 147127874 BLAKE2B c9c5f6dd0aed8a752f8e9715be19cf1c13e70593bef986f742c8e60244aeaff25bd062344faa9e3d239c4eea7db8d44c2f4d83bad536245b45d1dedff0c70d94 SHA512 e9077c9a0996f2debc6898df03f6d26b7a75602e83b4cce1e886f640e51f3960e7c11eb7debf7dd2aaa2036b99d090e394f199e5d39b73b76edf30b8cf85f3a2
+DIST microsoft-edge-dev_114.0.1823.7-1_amd64.deb 147331390 BLAKE2B ecc3a2b7f6e2e37eefd38c9e60f840e75d328bf720a47212a213797e98564ff7a2699c85472b12774c89d64eb4346923528ed5af37df3d2e9fb26ae32eaffa42 SHA512 0084084945e0d070ea4bbb44e12eb1844186d4b70a1d436cac9e236a2deb8cabb61c7d4275d770c15a0846eeec569faa7d368abc1740419e18ac87dc4c21f5ea
diff --git a/www-client/microsoft-edge-dev/microsoft-edge-dev-114.0.1823.7.ebuild b/www-client/microsoft-edge-dev/microsoft-edge-dev-114.0.1823.7.ebuild
new file mode 100644
index 000000000000..ebc23fabaa28
--- /dev/null
+++ b/www-client/microsoft-edge-dev/microsoft-edge-dev-114.0.1823.7.ebuild
@@ -0,0 +1,123 @@
+# Copyright 2011-2023 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 qt5"
+
+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
+ )
+"
+
+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
+
+ if ! use qt5; then
+ rm "${EDGE_HOME}/libqt5_shim.so" || die
+ fi
+
+ pax-mark m "${EDGE_HOME}/msedge"
+}