diff options
-rw-r--r-- | www-client/microsoft-edge-beta/Manifest | 1 | ||||
-rw-r--r-- | www-client/microsoft-edge-beta/microsoft-edge-beta-131.0.2903.36.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 215f4b5677ad..efb10661b82a 100644 --- a/www-client/microsoft-edge-beta/Manifest +++ b/www-client/microsoft-edge-beta/Manifest @@ -1,4 +1,5 @@ DIST microsoft-edge-beta_131.0.2903.14-1_amd64.deb 168610282 BLAKE2B 5e532b614b9e084dc5ae0267153be9c4df7ecd782a4e056fd81e38d20056ac62c4216e588292b9b5abecb6299f28bdb7f26e25933e373c00c9e8fcfd417f0797 SHA512 e61d48b7d413b962e319bb2b58ce6dcd89290a9b1be709f84af0a13d415aec4efc91c2e04ae620d39a285c7cadb15090c5789b78f8c3eea2c39257d6dc27412c DIST microsoft-edge-beta_131.0.2903.27-1_amd64.deb 168662946 BLAKE2B efe292a1dcee997fd241fa441cd5b0b30b5345fd0a034ca410b427ac7932365ee747899c6ed223dc34d743a228ca321de51f9d7e01b265092487cc8138e04012 SHA512 62090b61b076855c71f29c0cab098378617b5bc30f344a0694295835c07746ac0b1d4059da8c8f73b95be09e4df59221f9fc3cf31afdc642140f96f41616a778 +DIST microsoft-edge-beta_131.0.2903.36-1_amd64.deb 168700630 BLAKE2B 5d9c7bbf37eb6becdb2f47067766d3d02fb26522d4a14b1eb334fd39e4118a245e4183d624293bdfdbebbe005995618728f21efb14b257127ba7c3589fa71747 SHA512 8a79f1f3f51f03a2378827d476069be83af85be96c0bc956e962b43d14cc625acf8101a60ba1e9206ad1ca73ee9c657875dc87007c14787db1afc2655a172307 DIST microsoft-edge-beta_131.0.2903.45-1_amd64.deb 168670394 BLAKE2B 6383afcf3c5052bf3adc457046921df6dd36c73ead7a124a82d4ae38fe48849abe523cbff2ebbdf45b7c769bf8a07b360cabdf94dbf9155c02d48fa83c7b198b SHA512 d31b1ea6a0ea067d257226e1f75f404d07b542443c286dc832c393601a61a2afaa1dd66ad6141abe33ec330b3c155bbf4106ae9b72a92d982d6913005e5b48bf DIST microsoft-edge-beta_131.0.2903.9-1_amd64.deb 168553442 BLAKE2B 541e2be92a34798b26a6c7c8b6be8933b67eefab59f84c19471a4dc00118298601c20d9ab071324a26a2f3a77033ab327d867d7575116c70054d6fb4acb37064 SHA512 aebeb9321b73dcfeb9ec0c0bc14c5f2a30c51f5682cbbee29dd04e84ba3c7c2340e44c5639f45ca1c08fffefdbe160482eb7d32a8728260c8d7a6561d31fc221 diff --git a/www-client/microsoft-edge-beta/microsoft-edge-beta-131.0.2903.36.ebuild b/www-client/microsoft-edge-beta/microsoft-edge-beta-131.0.2903.36.ebuild new file mode 100644 index 000000000000..0ff710cc5ddc --- /dev/null +++ b/www-client/microsoft-edge-beta/microsoft-edge-beta-131.0.2903.36.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" +} |