commit:     705d158d3f63023c148dd8612b0ba153df468e42
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 12 19:54:34 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 12 19:56:04 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=705d158d

mail-client/balsa: add 2.6.5

Bug: https://bugs.gentoo.org/944897
Signed-off-by: Sam James <sam <AT> gentoo.org>

 mail-client/balsa/Manifest           |   1 +
 mail-client/balsa/balsa-2.6.5.ebuild | 112 +++++++++++++++++++++++++++++++++++
 mail-client/balsa/metadata.xml       |   1 +
 3 files changed, 114 insertions(+)

diff --git a/mail-client/balsa/Manifest b/mail-client/balsa/Manifest
index db9d213872e9..6ade689ec9f3 100644
--- a/mail-client/balsa/Manifest
+++ b/mail-client/balsa/Manifest
@@ -1 +1,2 @@
 DIST balsa-2.6.4.tar.xz 3710272 BLAKE2B 
67a3462ca6bc75431a6a3f6a54feb53577111355d749e777a328b881d431856a8090e9c7beea128ee466a9b7aee01a4178b5a273541f0ffdd776a144546fc48e
 SHA512 
7c1526e03de29e19448f0a13847dcd7138d3292221ea16f20d09bf169cf18e69df24dd76726e710470d4507e5cc4e236e1889d4c421610ecd1589a9e2338d264
+DIST balsa-2.6.5.tar.bz2 4602383 BLAKE2B 
5ce119f443defb3fa46130ac074e7336815cbe745bcc62d229881732f0f797553655367ffab795f9782e9404843f6347d2f48d5d4186cc7fef244b3af21732cf
 SHA512 
9eef6a42a2d21ab365354583618974634af1f7fc8ceda5849232c689aba267a973c39284c1f82673da79be68994d6dcf4d2c6ede43d575c6daceb384349eedff

diff --git a/mail-client/balsa/balsa-2.6.5.ebuild 
b/mail-client/balsa/balsa-2.6.5.ebuild
new file mode 100644
index 000000000000..ce184e358624
--- /dev/null
+++ b/mail-client/balsa/balsa-2.6.5.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome2-utils meson xdg
+
+DESCRIPTION="Email client for GNOME"
+HOMEPAGE="http://pawsa.fedorapeople.org/balsa/";
+SRC_URI="https://gitlab.gnome.org/GNOME/balsa/-/archive/${PV}/${P}.tar.bz2";
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="gnome +keyring kerberos ldap nls sqlite systray webdav webkit xface"
+
+# TODO: internal spell checking via enchant-2 instead of gtkspell/gspell?
+DEPEND="
+       >=dev-libs/glib-2.48.0:2
+       >=x11-libs/gtk+-3.24.0:3
+       >=dev-libs/gmime-3.2.6:3.0
+       >=net-libs/gnutls-3.0:=
+       dev-libs/fribidi
+       >=dev-libs/libical-2.0.0:=
+       webkit? (
+               >=net-libs/webkit-gtk-2.38.0:4.1
+               >=dev-db/sqlite-3.24
+               app-text/html2text
+       )
+       >=app-crypt/gpgme-1.13.0:=
+       sqlite? ( >=dev-db/sqlite-3.24:= )
+       ldap? ( net-nds/openldap:= )
+       kerberos? ( app-crypt/mit-krb5 )
+       xface? ( >=media-libs/compface-1.5.1:= )
+       gnome? ( x11-libs/gtksourceview:4 )
+       || (
+               media-libs/libcanberra-gtk3
+               media-libs/libcanberra[gtk3(-)]
+       )
+       keyring? ( app-crypt/libsecret )
+       webdav? (
+               dev-libs/libxml2:2=
+               net-libs/libsoup:3.0
+       )
+       >=app-text/gspell-1.6:0=
+
+       net-mail/mailbase
+       x11-themes/hicolor-icon-theme
+       x11-themes/adwaita-icon-theme
+       dev-libs/openssl:0=
+       systray? ( x11-libs/xapp )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+       dev-util/gtk-update-icon-cache
+       dev-util/intltool
+       dev-util/itstool
+       virtual/pkgconfig
+       sys-devel/gettext
+       dev-libs/libxml2:2
+"
+
+DOCS="AUTHORS ChangeLog HACKING NEWS TODO docs/*"
+
+src_prepare() {
+       default
+       # we don't need the package to update the icon cache. We do it 
ourselves in xdg_pkg_postinst
+       sed -i 's/if gtk_update_icon_cache_program.found()/if false/' 
images/meson.build || die
+}
+
+src_configure() {
+       local emesonargs=(
+               $(meson_use gnome gnome-desktop)
+               -Dflock=false
+               -Dfcntl=true
+               $(meson_use sqlite autocrypt)
+               $(meson_use systray)
+               -Dcanberra=true
+               $(meson_use xface compface)
+               $(meson_use kerberos gss)
+               $(meson_use gnome gtksourceview)
+               -Dspell-checker=gspell
+               $(meson_use ldap)
+               $(meson_use nls)
+               -Dosmo=false
+               $(meson_use sqlite gpe)
+               $(meson_use keyring libsecret)
+               $(meson_use webdav)
+               -Dgcr=false
+               -Dmore-warnings=true
+               -Dhelp-files=false
+               -Dlibnetclient-docs=false
+               -Dlibnetclient-test=false
+       )
+       if use webkit; then
+               emesonargs+=(-Dhtml-widget=webkit2)
+       else
+               emesonargs+=(-Dhtml-widget=no)
+       fi
+       meson_src_configure
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+       gnome2_schemas_update
+}
+
+pkg_postrm() {
+       xdg_pkg_postrm
+       gnome2_schemas_update
+}

diff --git a/mail-client/balsa/metadata.xml b/mail-client/balsa/metadata.xml
index f149027d2632..f47ce215fc7a 100644
--- a/mail-client/balsa/metadata.xml
+++ b/mail-client/balsa/metadata.xml
@@ -8,6 +8,7 @@
   <use>
     <flag name="rubrica">Adds support for rubrica addressbook</flag>
     <flag name="systray">Enable System Tray Icon support</flag>
+    <flag name="webdav">Add WebDAV support for CardDAV address book</flag>
   </use>
   <upstream>
     <remote-id type="gnome-gitlab">GNOME/balsa</remote-id>

Reply via email to