diff options
-rw-r--r-- | www-client/microsoft-edge-dev/Manifest | 1 | ||||
-rw-r--r-- | www-client/microsoft-edge-dev/microsoft-edge-dev-126.0.2578.1.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 187ce7fdce32..f5fdb069315c 100644 --- a/www-client/microsoft-edge-dev/Manifest +++ b/www-client/microsoft-edge-dev/Manifest @@ -1,4 +1,5 @@ DIST microsoft-edge-dev_125.0.2535.6-1_amd64.deb 167694710 BLAKE2B 019c4aa62fb8f6f85803c4ece48854e5d5f849becebbd57da9b702a7e3303d07391b72f66fe05931d8cec1bd54aa5b74adcda3d4c002a1c773f620c3ada297a5 SHA512 54c7bb0749a65ff7737d577b5c0a31d19a8db5aca05125a1d9dd338a1e97aa8ef9c68fcd6d28aee88351f33bbf6a8fba63069e4545a7284d5e5222a887f09bf4 DIST microsoft-edge-dev_126.0.2552.0-1_amd64.deb 168214870 BLAKE2B e841f03056add448c32d1e5926f7fca144598eff12f45f4497bb0733f3c5136a3b9c12d55011d6da6865c56f586eaf00a04018150509af3a0ac3349a0f83d96e SHA512 52d9c18bda5299e136b27eea10adf3ef48ce79800e190badc57b24f2f3f6e592d542cdb2c4e04fa63f35f03d47acf7c00f6c80c059f33e7717ae2b4af3f3f3cd DIST microsoft-edge-dev_126.0.2566.1-1_amd64.deb 168206314 BLAKE2B ba49550aeb1e38b0a36d4ae077bc0bbdd53e82df1d951073a376cb5275e6b2912ea183e1a4b32e04e7886b07e8fdd0bf05c0d81ce1461c2b6afafabbd7269959 SHA512 d89f25e971c0e3f7ff63f9d9c5f1223531d4f041c53c062d664c7094a7a816650e48c9fd3b3f0c7a98a541767fa80903f47189a038c6a0ef395c7e58edc307bc +DIST microsoft-edge-dev_126.0.2578.1-1_amd64.deb 167892202 BLAKE2B e3ef57bdabf29ebd01da730e41af7d04953da5e4f6769a627bcd9b128f244d184bb54db4cf797c59717ee442bb25493f3b857983cf89401dd6e68927c17b77d3 SHA512 f7c9e9838afb5cdbaae257dd7f07a293729d07e57d66ac979748c554ef882280be70da33aabfc92690907cc9e6538b1fa684c5c9d0b412fd80a6f92db7718469 DIST microsoft-edge-dev_126.0.2592.11-1_amd64.deb 168280938 BLAKE2B cca0aeb1f8d1b50cde7c26db297e17a386aeb8e56abf9c7f8bfba4b4a1a87f4d18a49ff83fefee2d966d2e74a1329c65f72aae3b363d197d33b47ffda1cd84b7 SHA512 b12f720686bb654e8b5776b7579ce5402faa3e54f7752254bd94fbf8e79424d117b98a2417598b39222a5a7fbf5297085623106158baa5028a8b6e31a584a044 diff --git a/www-client/microsoft-edge-dev/microsoft-edge-dev-126.0.2578.1.ebuild b/www-client/microsoft-edge-dev/microsoft-edge-dev-126.0.2578.1.ebuild new file mode 100644 index 000000000000..0ff710cc5ddc --- /dev/null +++ b/www-client/microsoft-edge-dev/microsoft-edge-dev-126.0.2578.1.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" +} |