commit: 6dbb770439d6482925188c4a59941de2d3401c42 Author: Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com> AuthorDate: Wed Feb 25 20:34:50 2026 +0000 Commit: Adel KARA SLIMANE <adel <AT> karaslimane <DOT> com> CommitDate: Wed Feb 25 20:35:21 2026 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6dbb7704
mail-client/mailspring-bin: add 1.18.0 Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com> mail-client/mailspring-bin/Manifest | 2 + .../mailspring-bin/mailspring-bin-1.18.0.ebuild | 70 ++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/mail-client/mailspring-bin/Manifest b/mail-client/mailspring-bin/Manifest index 954e5d8827..c555dacb3e 100644 --- a/mail-client/mailspring-bin/Manifest +++ b/mail-client/mailspring-bin/Manifest @@ -1 +1,3 @@ DIST mailspring-1.17.4-amd64.deb 127085040 BLAKE2B 09f696aeeb34872fa73945a4350ead999d869f1c9a7c54cd68ecef46809bdf15792f32a41e3f592b5e3e00330ab94b8f3892a77f80943a7481a04e4fddf78c16 SHA512 2005ed5f13e637a0d5b87bc07ca0a0ba0e02db24c0cd47e455096e055afea371be4f223bf1e7355352e59a2b7d536676114761bae6dea58ea7b7aad12af1312d +DIST mailspring-1.18.0-amd64.deb 127111166 BLAKE2B 582c76e666aa260d1b7f46ae1b0967ef5513e8cbdc8d884862e54886945cd4b419976ea71935662aaa4d3a13134ad710d3d95fb1dfd35c4ec7d92db6cdc87644 SHA512 4ab8c4def28ea3dd3b74a6d188ce0cf8c0d7bbd7bb6737c8c6e1861fd566284023e38281add703744b8fdc50f892a03041bb50b82510c0240de2e89af46853b2 +DIST mailspring-1.18.0-arm64.deb 125722708 BLAKE2B 5afb1df1375c270d3701ea2be28a55415b72748745cf6f058a1fb9da63e79768e9d71199ba3e2bb11680ebedde488cd8b8b4bc7f915424e7126c7f0a88cc5648 SHA512 73511426aac334e0da059098cfeef091bd8af1a0dc0f993c8df12d87625730924bdb595872816e04d9c83f16a92b413a6224ebc956ff1630109213ef2f7da749 diff --git a/mail-client/mailspring-bin/mailspring-bin-1.18.0.ebuild b/mail-client/mailspring-bin/mailspring-bin-1.18.0.ebuild new file mode 100644 index 0000000000..4ec98900f2 --- /dev/null +++ b/mail-client/mailspring-bin/mailspring-bin-1.18.0.ebuild @@ -0,0 +1,70 @@ +# 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 + mv "${S}/usr/share/appdata" "${S}/usr/share/metainfo" || die +} + +src_install(){ + cp -R "${S}"/* "${D}" || die "Installing binary files failed" +}
