diff options
Diffstat (limited to 'www-client/microsoft-edge-dev')
-rw-r--r-- | www-client/microsoft-edge-dev/Manifest | 1 | ||||
-rw-r--r-- | www-client/microsoft-edge-dev/microsoft-edge-dev-124.0.2438.2.ebuild | 127 |
2 files changed, 128 insertions, 0 deletions
diff --git a/www-client/microsoft-edge-dev/Manifest b/www-client/microsoft-edge-dev/Manifest index b5ef4deec6b1..91bf0663d21d 100644 --- a/www-client/microsoft-edge-dev/Manifest +++ b/www-client/microsoft-edge-dev/Manifest @@ -1,3 +1,4 @@ DIST microsoft-edge-dev_123.0.2400.1-1_amd64.deb 166457358 BLAKE2B 48d504a2ca549ca9f29e41b61a67fb4631662655f7125e78de3de8e4d708f8608a875a79a896b1f0159cea8cb7c464b1d4d27c62832b9ea849e3d0fab130ea93 SHA512 d1cb5d1bd79420d4ce456ed94babdada9aba3a3124b557acac4fdc2bfbcecdb7276d79e333efe7d69a6a1d8a3b555e9bb721235379d4cc2d71ee1d8e8fecb5cf DIST microsoft-edge-dev_123.0.2420.10-1_amd64.deb 166123526 BLAKE2B 79ff9da26d928ef41a7522c700cca6ce30ba24d48b5586a9d65d7804034fad8dee9af21b4bb16203f2a062c5afd99823cc8eb6528a4104d0e66e0d2855012f25 SHA512 2ef1477daab9c7e978d1c60b0285940b2c16cc47135aa32bcdc48d717867d9a7cd67e2be08043965bb08ec40c203fbf4abb5b9ac3382427abf7ee997adf98827 DIST microsoft-edge-dev_123.0.2420.6-1_amd64.deb 166029606 BLAKE2B 87e8e8724707d96f0fd11bb60d8d0d7701d2ba3b0274719f9ff126ba2522195a65f91155d92825df5fba4b62228ced50c1bd62449c26ce0e221b2ad905cd9022 SHA512 267116f639829f1a2312ccf220e7a13f2130ad11c55118ed14af5fe2a1d03702f670aaa2117288a7ec805c61fcc68ec63d462be22e04970ed2c657bf2923bb90 +DIST microsoft-edge-dev_124.0.2438.2-1_amd64.deb 166605114 BLAKE2B 65fa6d2a3f8153d7a591a94f9a420ab2a45620ceae12aaa22b2ab5adec65e32af3ed8e210724f13d14a3665476ef277ac2f950e09412a16db99e5e2925cfc4d6 SHA512 a15fd72a2aaedb80bfb41444be52d56ec7781502e946461bd99af9859991232ebbce2a5cd690d8c6a4c2d56b5ab0c2a655e217b3c744abf843bafa5613047327 diff --git a/www-client/microsoft-edge-dev/microsoft-edge-dev-124.0.2438.2.ebuild b/www-client/microsoft-edge-dev/microsoft-edge-dev-124.0.2438.2.ebuild new file mode 100644 index 000000000000..f67dc1739fa5 --- /dev/null +++ b/www-client/microsoft-edge-dev/microsoft-edge-dev-124.0.2438.2.ebuild @@ -0,0 +1,127 @@ +# 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/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 qt6" + +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" +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 + if ! use qt6; then + rm "${EDGE_HOME}/libqt6_shim.so" || die + fi + + pax-mark m "${EDGE_HOME}/msedge" +} |