diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-03-27 07:15:56 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-03-27 07:15:56 +0000 |
| commit | d1ee248d7540fc4e0cf3ae8cfbadb85df2cdc1dc (patch) | |
| tree | 153e5317f297161f16f1112c50173ac583266753 /www-client/microsoft-edge-beta | |
| parent | d09121bffa93e60e97b8d0e8f5a318cb7ca0015c (diff) | |
| download | baldeagleos-repo-d1ee248d7540fc4e0cf3ae8cfbadb85df2cdc1dc.tar.gz baldeagleos-repo-d1ee248d7540fc4e0cf3ae8cfbadb85df2cdc1dc.tar.xz baldeagleos-repo-d1ee248d7540fc4e0cf3ae8cfbadb85df2cdc1dc.zip | |
Adding metadata
Diffstat (limited to 'www-client/microsoft-edge-beta')
| -rw-r--r-- | www-client/microsoft-edge-beta/Manifest | 1 | ||||
| -rw-r--r-- | www-client/microsoft-edge-beta/microsoft-edge-beta-147.0.3912.26.ebuild | 125 |
2 files changed, 126 insertions, 0 deletions
diff --git a/www-client/microsoft-edge-beta/Manifest b/www-client/microsoft-edge-beta/Manifest index 06645e2f4d2c..35467814e9a9 100644 --- a/www-client/microsoft-edge-beta/Manifest +++ b/www-client/microsoft-edge-beta/Manifest @@ -1 +1,2 @@ DIST microsoft-edge-beta_147.0.3912.16-1_amd64.deb 181928222 BLAKE2B f39a2400c940e679f03924a3c7c3117a5ea9b99017d20e031ca5db6cfe721363e37654cc389da1fbbbc2397422d6bc670e122b71482dfbb43b5b2003af1e345b SHA512 c00341972c2f4cde390f051540262bf86bc5de5cd29ea481ecfac260e2e4f90b53f2a86474fa38b13f47d921ac95c23b0a2d4a94a232b1db4d71e45e3af73b21 +DIST microsoft-edge-beta_147.0.3912.26-1_amd64.deb 181966182 BLAKE2B 6d286a68cdd376612a4626a21aa7f302064c061e0382b7f2dd2bace082f134c299851c64adc12c67da0d52831bfdbf73908a846c78f58551724a3e8bee17263f SHA512 9ed62a43dbcfa04bdd2d75d7cbb3b2451da0db92c333858f36c76c3599f749d95c74e8b791b7635f3b736be31af6a1c641f63a1859efbb0597b31a3795449cd3 diff --git a/www-client/microsoft-edge-beta/microsoft-edge-beta-147.0.3912.26.ebuild b/www-client/microsoft-edge-beta/microsoft-edge-beta-147.0.3912.26.ebuild new file mode 100644 index 000000000000..5df628cd26aa --- /dev/null +++ b/www-client/microsoft-edge-beta/microsoft-edge-beta-147.0.3912.26.ebuild @@ -0,0 +1,125 @@ +# Copyright 2011-2026 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 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 + || ( dev-libs/libxml2-compat:2/2 dev-libs/libxml2:2/2 ) + ) + 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 + + mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die + + # Microsoft Edge comes with its own bundled cron + # scripts which invoke `apt` directly. Useless on Gentoo! + rm -r etc/cron.daily || die "Failed to remove cron scripts" + rm -r "${EDGE_HOME}"/cron || die "Failed to remove cron scripts" + + 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 size + # channel suffix: "" stable, "_channel" for beta/dev. + local channel=${PN#microsoft-edge} + channel=${channel/-/_} + for size in 16 24 32 48 64 128 256 ; do + newicon -s ${size} "${EDGE_HOME}/product_logo_${size}${channel}.png" ${PN}.png + done + + if ! use mip; then + rm "${EDGE_HOME}"/libmip_{core,protection_sdk}.so || die + fi + + rm "${EDGE_HOME}/libqt5_shim.so" || die + if ! use qt6; then + rm "${EDGE_HOME}/libqt6_shim.so" || die + fi + + pax-mark m "${EDGE_HOME}/msedge" +} |
