diff options
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/microsoft-edge-dev/Manifest | 1 | ||||
-rw-r--r-- | www-client/microsoft-edge-dev/microsoft-edge-dev-127.0.2638.2.ebuild | 126 |
2 files changed, 127 insertions, 0 deletions
diff --git a/www-client/microsoft-edge-dev/Manifest b/www-client/microsoft-edge-dev/Manifest index 57c1d8fd85d4..5fe6038ba6b4 100644 --- a/www-client/microsoft-edge-dev/Manifest +++ b/www-client/microsoft-edge-dev/Manifest @@ -1,3 +1,4 @@ DIST microsoft-edge-dev_126.0.2592.11-1_amd64.deb 168280938 BLAKE2B cca0aeb1f8d1b50cde7c26db297e17a386aeb8e56abf9c7f8bfba4b4a1a87f4d18a49ff83fefee2d966d2e74a1329c65f72aae3b363d197d33b47ffda1cd84b7 SHA512 b12f720686bb654e8b5776b7579ce5402faa3e54f7752254bd94fbf8e79424d117b98a2417598b39222a5a7fbf5297085623106158baa5028a8b6e31a584a044 DIST microsoft-edge-dev_127.0.2610.3-1_amd64.deb 168399870 BLAKE2B f2309d49824fba030d00b727b4edd69ee6b6bf993c7a8176c27a39c40920b000ad473d5f497841a64f9f22c190b51c5fef7cec7073d447b9039f08fedad570bd SHA512 31b0c7d551df34cb489a74d90d8a3599618afd36db6a5ecf6a47e633e4b0f0b62c27271b6484fe7f92bf01b96062ac98be2cf154d0a92178dac3def328202219 DIST microsoft-edge-dev_127.0.2620.3-1_amd64.deb 168519466 BLAKE2B b6e7a80d4dd176704054d82823323ee4af6d5858dbbb11516e9919b980fecbc2c744292e80c31cb435c05889d073cc21d3595acf2158000b22b4385288fdc772 SHA512 a509b88aa4754c330792c430ce36cd504882b82776664eca228286c457d00c116b96bb290ae9ab39b4c114ce3380b9394c33b1c8ebc24cd44d5c26b563b73906 +DIST microsoft-edge-dev_127.0.2638.2-1_amd64.deb 168656286 BLAKE2B 242a4ec43d7c7b2f666190a52e28651caddb4f839d97b6fad29844cc0fde26f0bb520e06ef5aad573b5d2b5345e422bb9f7a70a83eeb9df5c4ef8a285fe663f4 SHA512 0cf7293b42db643afb340e2e437bd9a62ddb3501d3140f9d7716f938d69b4dd9e112e1aa002dcbdfdf1fd0b84e045aab95f200c6523856beed29b7bfc3e76b80 diff --git a/www-client/microsoft-edge-dev/microsoft-edge-dev-127.0.2638.2.ebuild b/www-client/microsoft-edge-dev/microsoft-edge-dev-127.0.2638.2.ebuild new file mode 100644 index 000000000000..0ff710cc5ddc --- /dev/null +++ b/www-client/microsoft-edge-dev/microsoft-edge-dev-127.0.2638.2.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" +} |