diff options
Diffstat (limited to 'www-client/microsoft-edge-dev')
-rw-r--r-- | www-client/microsoft-edge-dev/Manifest | 1 | ||||
-rw-r--r-- | www-client/microsoft-edge-dev/microsoft-edge-dev-124.0.2464.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 9011859ddbf1..7ba90d6f844f 100644 --- a/www-client/microsoft-edge-dev/Manifest +++ b/www-client/microsoft-edge-dev/Manifest @@ -1,3 +1,4 @@ DIST microsoft-edge-dev_123.0.2420.10-1_amd64.deb 166123526 BLAKE2B 79ff9da26d928ef41a7522c700cca6ce30ba24d48b5586a9d65d7804034fad8dee9af21b4bb16203f2a062c5afd99823cc8eb6528a4104d0e66e0d2855012f25 SHA512 2ef1477daab9c7e978d1c60b0285940b2c16cc47135aa32bcdc48d717867d9a7cd67e2be08043965bb08ec40c203fbf4abb5b9ac3382427abf7ee997adf98827 DIST microsoft-edge-dev_124.0.2438.2-1_amd64.deb 166605114 BLAKE2B 65fa6d2a3f8153d7a591a94f9a420ab2a45620ceae12aaa22b2ab5adec65e32af3ed8e210724f13d14a3665476ef277ac2f950e09412a16db99e5e2925cfc4d6 SHA512 a15fd72a2aaedb80bfb41444be52d56ec7781502e946461bd99af9859991232ebbce2a5cd690d8c6a4c2d56b5ab0c2a655e217b3c744abf843bafa5613047327 DIST microsoft-edge-dev_124.0.2450.2-1_amd64.deb 166906922 BLAKE2B 84c4705c472f3df5b3537c506d6c20f237a60489d92ed7bd97e0bdf287f03e0868d8e61be4f549cff11f2887ce8f16abb914e2ce4133ce918ace1731fe2b4631 SHA512 22b5bc4f8d1af5cb3fb6561cb8a774aa737400dc336f6b0d926c81ced12ac0908715427b6fff045c554e63c3a23c002bded80546d6b55bd061e332f85a0e5f0e +DIST microsoft-edge-dev_124.0.2464.2-1_amd64.deb 167308610 BLAKE2B 7a71d0b0ccd9207e35a86ebb377e2ed9435e325126254dbfbffcbea546a3aa17a63a19173883c1752d85031cc555fccafcc14b58911c8a871d84eb4ef46b790a SHA512 330b29fbb5d9a6b67c0c3b151087c444958d881d589313cdeccb55e23199ef3de06f41e8074dcdbd1c9f76190f531365019027fb38ff155bc8251d13c34944df diff --git a/www-client/microsoft-edge-dev/microsoft-edge-dev-124.0.2464.2.ebuild b/www-client/microsoft-edge-dev/microsoft-edge-dev-124.0.2464.2.ebuild new file mode 100644 index 000000000000..0ff710cc5ddc --- /dev/null +++ b/www-client/microsoft-edge-dev/microsoft-edge-dev-124.0.2464.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" +} |