commit: 2460fa74f54de958fd22083b8b8512b3afc323fb Author: Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com> AuthorDate: Sun Jan 18 14:25:19 2026 +0000 Commit: Adel KARA SLIMANE <adel <AT> karaslimane <DOT> com> CommitDate: Sun Jan 18 14:25:19 2026 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2460fa74
mail-client/mailspring-bin: add 1.17.1 Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com> mail-client/mailspring-bin/Manifest | 1 + .../mailspring-bin/mailspring-bin-1.17.1.ebuild | 63 ++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/mail-client/mailspring-bin/Manifest b/mail-client/mailspring-bin/Manifest index 1ce3df43a1..b6169f52c8 100644 --- a/mail-client/mailspring-bin/Manifest +++ b/mail-client/mailspring-bin/Manifest @@ -1 +1,2 @@ DIST mailspring-1.16.0-amd64.deb 118446320 BLAKE2B 57a9a7f61cea5c9053526bb8c4a6abb05345814c5c71c11d3993e9fb87bce8b035bb111c171cdc4dc0d29db4c4396d2950ef95f1ada563033879fb52cc485b25 SHA512 ddd04d76102b406e1c44e85efeb3998af2d637ac33af0589ed1c8f505e8974a91595eb4bce5c072396e5f2eb9ddb5f8d91d042e8d20da54e27e79c3ea910ff7e +DIST mailspring-1.17.1-amd64.deb 127995748 BLAKE2B babec14c63633878e4f63e4d01743f14fafe40165780bdea53d4480c1f27fadb3c42b58374e912533ec232897ce68efd75b9b96be5e51fa028f15bf33d68c2e1 SHA512 faebf9692f24e9e67fbdc9006a1144af8b877fe10d5a2d3daca6ea660e0d5f4d677dcadfe54d9dc428458f89d753960621307aaaefa3c8010385ad712e8f0fcb diff --git a/mail-client/mailspring-bin/mailspring-bin-1.17.1.ebuild b/mail-client/mailspring-bin/mailspring-bin-1.17.1.ebuild new file mode 100644 index 0000000000..a9f3d02484 --- /dev/null +++ b/mail-client/mailspring-bin/mailspring-bin-1.17.1.ebuild @@ -0,0 +1,63 @@ +# 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="https://github.com/Foundry376/Mailspring/releases/download/${PV}/mailspring-${PV}-amd64.deb" +S="${WORKDIR}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +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_install(){ + 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 + + cp -R "${S}"/* "${D}" || die "Installing binary files failed" + mv "${D}/usr/share/doc/mailspring" "${D}/usr/share/doc/${PF}" || die + mv "${D}/usr/share/appdata" "${D}/usr/share/metainfo" || die +}
