diff options
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-123.0.2420.51.ebuild | 126 |
2 files changed, 127 insertions, 0 deletions
diff --git a/www-client/microsoft-edge-beta/Manifest b/www-client/microsoft-edge-beta/Manifest index ef3dd5d27b78..d964bd405be9 100644 --- a/www-client/microsoft-edge-beta/Manifest +++ b/www-client/microsoft-edge-beta/Manifest @@ -1,3 +1,4 @@ DIST microsoft-edge-beta_123.0.2420.20-1_amd64.deb 166135054 BLAKE2B 62bbd49988d41821a11fafb6e3cedc105449aa432bfe143ab6f850e8d8f89192d5f0413ff81329b1e6fb0c841b454dce92b51984ee577f9292b5636bb2f8b400 SHA512 c9c350f0e8bef4b84e39f73a46a24c55edb8901b0043f7b0639ebc433a604d7ff282a4b2b5df09938b0bee9b4e963800c2d11629a368c8d6f7c93a58639d15d1 DIST microsoft-edge-beta_123.0.2420.32-1_amd64.deb 166189586 BLAKE2B ef3955cc354cd8828558d813f46cb8005024f0360269784590809765d5baf763338672c29a51ab7ba9f5644028ed77bd3327b60476700d02b0123090001e469f SHA512 868462dff859a5912d7f6736c7af5655787df6f34aecc925af18cfcf3b40cc172b6e60da115300b6c049a9e4f87a73e17adae14e6266f15d4a5904ee56be2acc DIST microsoft-edge-beta_123.0.2420.41-1_amd64.deb 166231134 BLAKE2B 8c25d627c17d130718729be83f03e610d87ad11f88452d21fab0763e61c61f35782be212fb5e2aac23dde75fc52ed46eb096abbb799bc3e0f35538b58d55fa2f SHA512 3efd954200ed60972f3799d25404adcf73b55fa22430496db8cb35b4c9bd2e5979aae0e34545b000356b3d8f58f85436bb84ec99b39b1551e55010975a5552a6 +DIST microsoft-edge-beta_123.0.2420.51-1_amd64.deb 166236090 BLAKE2B 1ec2378ce8081ae758158f4b1099fa1008d7aba1c83ebb48d420b0239aa7c810442cdc10f65f89e2ecf6bb8725db4fc02427b0aa003deb11c6e4be962ca74bcf SHA512 1cf05dcc23a48a17962d47d11325f6d825e61fe8e1034cf2214bf3c0f5a2310138a840b1725bbdfe3a2aaf307c8fc91fe412927c8e0c4b8591981f8cedfcc29d diff --git a/www-client/microsoft-edge-beta/microsoft-edge-beta-123.0.2420.51.ebuild b/www-client/microsoft-edge-beta/microsoft-edge-beta-123.0.2420.51.ebuild new file mode 100644 index 000000000000..0ff710cc5ddc --- /dev/null +++ b/www-client/microsoft-edge-beta/microsoft-edge-beta-123.0.2420.51.ebuild @@ -0,0 +1,126 @@ +# 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/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 qt5 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 ) + 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" +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" +} |