diff --git a/mail-client/mailspring-bin/Manifest b/mail-client/mailspring-bin/Manifest index 61798a6e12..3e22f2bef0 100644 --- a/mail-client/mailspring-bin/Manifest +++ b/mail-client/mailspring-bin/Manifest @@ -2,3 +2,5 @@ DIST mailspring-1.19.1-amd64.deb 140368484 BLAKE2B 214d42d01604c6d843d788d41bdc5 DIST mailspring-1.19.1-arm64.deb 138714700 BLAKE2B 8abd920849905f65bf9aef869c2d4278764d36d03de41dfff3726039948759a818939c246d4aa0c559d6209f66048a648f2cc134e661cce1e40619d6a1d51439 SHA512 3d418de99c947b403c02b7772eba223b3016e265bc6eac09fb23b9453d2565f0c5ac7766d163b9c3d54794fcc0f9f8a89644c4b867514722cb5f6f23e480e0a9 DIST mailspring-1.21.1-amd64.deb 136872398 BLAKE2B 63add84ec3db27b5b80f7ad975adea9fd19ad4c2e01502db5af5fbbaac748ce11a831d09fc09b3f496146aeb894895eadca4078f7edb6cbad36e164352175def SHA512 6deeb8224104258a685113b857c36f4582d9cd095616212d603555ef549a4c05b594cdfbfc873b5c9f7eaf23b4b71f1309934a1ae94649ec087623b255a0addb DIST mailspring-1.21.1-arm64.deb 135319496 BLAKE2B 473852733f4c1d4e4205c8840d378f8f715a5218ef4f613a963fc390819f1d9843070c05c3e7c15789502b07c03c41f28513d59602f5f70f9a600bbfbe30efa6 SHA512 e763bd52746f656686ade6afed5365a60ff4988880f45fcf0c6e9c9701d3bd508887e75f2de09b1e9d9cca23bac9c7608a88fe86bf73b34189e8fd29fc3860cb +DIST mailspring-1.22.0-amd64.deb 136843692 BLAKE2B 406d117c8571497f2b88a71a9a4d4c51682529952ad2d813fa160245094eed928d72a9e9793b06408752262d60715c6d74cb5527ed2e80aa7bbad2ac86c4b97e SHA512 c5377f2278b7f88d66cb3bccc17ab58d24508c0c31cf677158f7f503c8f4fce521024b0bcf5491634ae17d315b54a3d46f86a361241062ed663850b7b0bd1df3 +DIST mailspring-1.22.0-arm64.deb 135309532 BLAKE2B 32fadabd5ee05a6f2bdb3db39f7af9e5c29b3a0d95d89c242489b09510c16bbd958e5d6f46d69bdc98eb51d8f6910cf5b97daf04a6ceb61b76c5a2fea690008f SHA512 7b2a6a450cdce241b2b8247cf680508136c4e0af4ef847e73070990349277763ffb65a89dd737498a23c7c096866c49bdff67c093d3a6ca951dcdb57cdd7e8a5 diff --git a/mail-client/mailspring-bin/mailspring-bin-1.22.0.ebuild b/mail-client/mailspring-bin/mailspring-bin-1.22.0.ebuild new file mode 100644 index 0000000000..a40c3bc5d6 --- /dev/null +++ b/mail-client/mailspring-bin/mailspring-bin-1.22.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit unpacker xdg + +DESCRIPTION="A beautiful, fast and fully open source mail client for Mac, Windows and Linux" +HOMEPAGE="https://getmailspring.com/" +SRC_URI=" + amd64? ( https://github.com/Foundry376/Mailspring/releases/download/${PV}/mailspring-${PV}-amd64.deb ) + arm64? ( https://github.com/Foundry376/Mailspring/releases/download/${PV}/mailspring-${PV}-arm64.deb ) +" +S="${WORKDIR}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="+wayland" + +RDEPEND=" + app-accessibility/at-spi2-core:2 + app-crypt/mit-krb5 + dev-build/libtool + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + dev-libs/openssl + gnome-base/gvfs + media-libs/alsa-lib + media-libs/mesa + net-misc/curl + net-print/cups + sys-apps/dbus + sys-libs/db:5.3 + x11-libs/cairo + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libxkbcommon + x11-libs/libXrandr + x11-libs/pango + x11-misc/xdg-utils +" + +QA_PREBUILT="*" + +src_unpack(){ + unpack_deb ${A} +} + +src_prepare(){ + default + if use wayland; then + sed -i "s|Exec=mailspring %U|Exec=mailspring --ozone-platform-hint=auto --enable-wayland-ime %U|g" \ + "${S}/usr/share/applications/Mailspring.desktop" || die + fi + + mv "${S}/usr/share/doc/mailspring" "${S}/usr/share/doc/${PF}" || die +} + +src_install(){ + cp -R "${S}"/* "${D}" || die "Installing binary files failed" +}