diff options
-rw-r--r-- | www-client/microsoft-edge-beta/Manifest | 1 | ||||
-rw-r--r-- | www-client/microsoft-edge-beta/microsoft-edge-beta-125.0.2535.37.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 1b9cf2389156..6644953f2a59 100644 --- a/www-client/microsoft-edge-beta/Manifest +++ b/www-client/microsoft-edge-beta/Manifest @@ -1,3 +1,4 @@ DIST microsoft-edge-beta_124.0.2478.67-1_amd64.deb 167586306 BLAKE2B f8ce7312a9e046964e8e63e2debdd77850bc4cf87e9511beb59fe1895d2e55d54b40b94b9ee4894219d50f71f071cfd6f72ce057e1e9d174b4081f4b855e763b SHA512 05cff054dd32e448520a49118aa45d3632bbc2f547d7169a3eb29d3e287cb30f3355ead401b5562f5750eb8fc1ca51ebd5a408cb60b00471fd4ddfc661ec5e94 DIST microsoft-edge-beta_125.0.2535.13-1_amd64.deb 167709678 BLAKE2B e7e4b06f575f109caa472718e2219653471e9c963978c900826e4950d799a74b48ef5ec888529ffb2bd2af0f6694260cf5407b9e296dc61f6c0a0e216f6b9d5c SHA512 229cd107b7bba2767e704c9b2848b6208d4ea7f1f38e9079417c7b5cef3d82ccf520d553da9074feb3aafc6bc4b43f924c1ee94c59c67b8bf46b356939b7c125 DIST microsoft-edge-beta_125.0.2535.29-1_amd64.deb 167717834 BLAKE2B 37913c8c8d27f2c0ca195041e77225c059c81301d3f0611e869d08b6b5981acde5cbdd5d5df4b4fc1ccb7b784f4da964ee7d31a1599ef83c5b8c76f1a61215e4 SHA512 a537a44cb88f4b375d800af4e419a0f6836b8271a33226b458e7708807f4671f88ca0b1167b45b6b3a4f6efda1273925e7cf774e4d1fd55c795e50bdf86c389d +DIST microsoft-edge-beta_125.0.2535.37-1_amd64.deb 167771542 BLAKE2B 8757e70ad6f8264f47a8d9ef050bf18fa7878f91760b705ee1e3d7887ad8956a364185a0cd4b330cacb306ada004bf476b5b00b907d994ab55ba2116dc29f89b SHA512 9af0d19849a1ecde68b23587674572ea8fe3e3df7b8e24cb1ee1a95db3b3723ad9f98abdcad14fd1a999f5571360368b5e6db9a47a654d56079c8bd3f17588c1 diff --git a/www-client/microsoft-edge-beta/microsoft-edge-beta-125.0.2535.37.ebuild b/www-client/microsoft-edge-beta/microsoft-edge-beta-125.0.2535.37.ebuild new file mode 100644 index 000000000000..0ff710cc5ddc --- /dev/null +++ b/www-client/microsoft-edge-beta/microsoft-edge-beta-125.0.2535.37.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" +} |