commit:     50827f7c18d17ca21df64bb2496a2f59d6ca1d0c
Author:     Lukas Schmelting <lschmelting <AT> posteo <DOT> com>
AuthorDate: Sat Oct 25 09:07:47 2025 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Nov 29 23:23:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50827f7c

mail-client/evolution: add 3.58.2

Closes: https://bugs.gentoo.org/962972
Signed-off-by: Lukas Schmelting <lschmelting <AT> posteo.com>
Part-of: https://github.com/gentoo/gentoo/pull/44343
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 mail-client/evolution/Manifest                |   1 +
 mail-client/evolution/evolution-3.58.2.ebuild | 160 ++++++++++++++++++++++++++
 2 files changed, 161 insertions(+)

diff --git a/mail-client/evolution/Manifest b/mail-client/evolution/Manifest
index 4a5f5d5f750c..5948d8e0c284 100644
--- a/mail-client/evolution/Manifest
+++ b/mail-client/evolution/Manifest
@@ -2,3 +2,4 @@ DIST evolution-3.52.4.tar.xz 13616760 BLAKE2B 
f44c93725264129ecf0fede23b1ab6b502
 DIST evolution-3.54.3.tar.xz 13708860 BLAKE2B 
8fdd8ba4be56567d36bc67bcb2cd556e0cc3de729b3a39b7d1a59be7c697f2e8c56799f0a9f5b933208d91566b1f15e5b05178121a7d0d77cf55869ab01aa63e
 SHA512 
05427f389ddf8a7f72be906ce1b5de78c55b6bd7d66df76ab14e9950ec927da1b51b1d42d8d75acde6d6e5f42d3d319df1c04f318436390288fe8fb3529b1b81
 DIST evolution-3.56.1.tar.xz 13783044 BLAKE2B 
2f0429424f7fb43ef05de403272c47f2683d4aff9f5b5c7c806c4542d7866227afb0c070c790803dff25ce759db4fb35363b74ad730b351ea7e9a08fae90103f
 SHA512 
5bef3024bd81bd63bc6b727fada5dd6d2278e0ed358521a878297d036e0af6dfbc36fef7d8bd33097beeef5c43279d70c544cf886895f5b13bdb44653317df9f
 DIST evolution-3.56.2.tar.xz 13784172 BLAKE2B 
6072b8000f6847d02669763c9d40b334af38e7761c2367510b5ed9a3f5ee12b61225072216380ccdae488d6095101839898a9ebb44bc19f79dcecef7b389c0d9
 SHA512 
ccfd0c4d8edd5efe2f94bac47459fb9b9b3020f8b1d3bb71057c5600f8ec764b18cd0bb451a37d5ee0e0f68e48873478e8714e919beeab8609754cc9d25dcdef
+DIST evolution-3.58.2.tar.xz 13879184 BLAKE2B 
ae0312d7fd8d2845db40e03ee25a061d2bae23bff31b8d06edbe30f18270b8da2839b3d65f53a0ef547ec0f4426ec04856c55644dfad09b9714c11104ee36fad
 SHA512 
6fe7fc2a780296b7c30a46e327df4b12458607476b86327d89377fc6e97e9aa57bed250430e03a64430f0b352a3b2395b59550f0cdc343857238d71bc05c15b1

diff --git a/mail-client/evolution/evolution-3.58.2.ebuild 
b/mail-client/evolution/evolution-3.58.2.ebuild
new file mode 100644
index 000000000000..5218151194a7
--- /dev/null
+++ b/mail-client/evolution/evolution-3.58.2.ebuild
@@ -0,0 +1,160 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake gnome2 readme.gentoo-r1
+
+DESCRIPTION="Integrated mail, addressbook and calendaring functionality"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/evolution/-/wikis/home 
https://gitlab.gnome.org/GNOME/evolution";
+
+# Note: explicitly "|| ( LGPL-2 LGPL-3 )", not "LGPL-2+".
+LICENSE="|| ( LGPL-2 LGPL-3 ) CC-BY-SA-3.0 FDL-1.3+ OPENLDAP"
+SLOT="2.0"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+
+IUSE="archive +bogofilter geolocation gtk-doc highlight ldap libnotify selinux 
sound spamassassin spell ssl +weather ytnef"
+
+# glade-3 support is for maintainers only per configure.ac
+# pst is not mature enough and changes API/ABI frequently
+# dconf explicitly needed for backup plugin
+# gnome-desktop support is optional with --enable-gnome-desktop
+# automagic libunity dep
+# >=gspell-1.8 to ensure it uses enchant:2 like webkit-gtk
+DEPEND="
+       >=app-crypt/libsecret-0.5
+       >=app-text/enchant-2.2.0:2
+       >=dev-db/sqlite-3.7.17:3
+       >=dev-libs/glib-2.70:2[dbus]
+       >=dev-libs/libxml2-2.7.3:2=
+       >=gnome-base/gnome-desktop-2.91.3:3=
+       >=gnome-base/gsettings-desktop-schemas-2.91.92
+       >=gnome-extra/evolution-data-server-${PV}:=[gtk,sound?,weather?]
+       >=net-libs/libsoup-3.0:3.0
+       >=net-libs/webkit-gtk-2.40.0:4.1[spell?]
+       >=x11-libs/cairo-1.9.15[glib]
+       >=x11-libs/gdk-pixbuf-2.24:2
+       >=x11-libs/gtk+-3.22:3
+       >=x11-misc/shared-mime-info-0.22
+
+       app-text/cmark:=
+       >=app-text/iso-codes-0.49
+       >=app-accessibility/at-spi2-core-2.46.0:2
+
+       gnome-base/dconf
+
+       archive? ( >=app-arch/gnome-autoar-0.1.1[gtk] )
+       bogofilter? ( mail-filter/bogofilter )
+       geolocation? (
+               >=media-libs/libchamplain-0.12.21:0.12[gtk]
+               >=media-libs/clutter-1.0.0:1.0
+               >=media-libs/clutter-gtk-0.90:1.0
+               >=sci-geosciences/geocode-glib-3.26.3:2 )
+       ldap? ( >=net-nds/openldap-2:= )
+       libnotify? ( >=x11-libs/libnotify-0.7 )
+       sound? (
+               || (
+                       media-libs/libcanberra-gtk3
+                       >=media-libs/libcanberra-0.25[gtk3(-)]
+               )
+       )
+       spamassassin? ( mail-filter/spamassassin )
+       spell? ( >=app-text/gspell-1.8:= )
+       ssl? (
+               >=dev-libs/nspr-4.6.1
+               >=dev-libs/nss-3.11
+       )
+       weather? (
+               >=dev-libs/libgweather-4.2.0:4=
+               >=sci-geosciences/geocode-glib-3.26.3:2
+       )
+       ytnef? ( net-mail/ytnef )
+"
+RDEPEND="${DEPEND}
+       highlight? ( app-text/highlight )
+       selinux? ( sec-policy/selinux-evolution )
+"
+BDEPEND="
+       app-text/docbook-xml-dtd:4.1.2
+       dev-util/gdbus-codegen
+       dev-util/glib-utils
+       dev-util/itstool
+       gtk-doc? ( dev-util/gtk-doc
+               app-text/docbook-xml-dtd:4.3 )
+       >=dev-util/intltool-0.40.0
+       >=sys-devel/gettext-0.18.3
+       virtual/pkgconfig
+"
+
+DISABLE_AUTOFORMATTING="yes"
+DOC_CONTENTS="To change the default browser if you are not using GNOME, edit
+~/.local/share/applications/mimeapps.list so it includes the
+following content:
+
+[Default Applications]
+x-scheme-handler/http=firefox.desktop
+x-scheme-handler/https=firefox.desktop
+
+(replace firefox.desktop with the name of the appropriate .desktop
+file from /usr/share/applications if you use a different browser)."
+
+# global scope PATCHES or DOCS array mustn't be used due to double 
default_src_prepare
+# call; if needed, set them after cmake_src_prepare call, if that works
+
+src_prepare() {
+       # libnotify is automagically detected, but a quick and easy way to
+       # force-disable it is to delete the "yes it's there" variable from
+       # CMakeLists.txt.
+       use libnotify || sed '/HAVE_LIBNOTIFY/d' -i CMakeLists.txt || die
+
+       cmake_src_prepare
+       gnome2_src_prepare
+}
+
+src_configure() {
+       # Use NSS/NSPR only if 'ssl' is enabled.
+       local mycmakeargs=(
+               -DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc
+               -DENABLE_SCHEMAS_COMPILE=OFF
+               -DENABLE_GTK_DOC=$(usex gtk-doc)
+               -DWITH_OPENLDAP=$(usex ldap)
+               -DENABLE_SMIME=$(usex ssl)
+               -DENABLE_GNOME_DESKTOP=ON
+               -DWITH_ENCHANT_VERSION=2
+               -DENABLE_CANBERRA=$(usex sound)
+               -DENABLE_AUTOAR=$(usex archive)
+               -DWITH_HELP=ON
+               -DENABLE_YTNEF=OFF
+               -DWITH_BOGOFILTER=$(usex bogofilter)
+               -DWITH_SPAMASSASSIN=$(usex spamassassin)
+               -DENABLE_GSPELL=$(usex spell)
+               -DENABLE_TEXT_HIGHLIGHT=$(usex highlight)
+               -DENABLE_WEATHER=$(usex weather)
+               -DENABLE_CONTACT_MAPS=$(usex geolocation)
+               -DENABLE_YTNEF=$(usex ytnef)
+               -DENABLE_PST_IMPORT=OFF
+               -DWITH_GLADE_CATALOG=OFF
+               -DENABLE_MARKDOWN=ON
+       )
+
+       cmake_src_configure
+}
+
+src_compile() {
+       cmake_src_compile
+}
+
+src_test() {
+       cmake_src_test
+}
+
+src_install() {
+       cmake_src_install
+       readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+       gnome2_pkg_postinst
+       readme.gentoo_print_elog
+}

Reply via email to