commit:     47136e40f680b7b74df82ad7bfd9c16bbe337cfc
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  9 02:32:00 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jun  9 02:32:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47136e40

gnome-extra/evolution-ews: add 3.56.2

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

 gnome-extra/evolution-ews/Manifest                 |  1 +
 .../evolution-ews/evolution-ews-3.56.2.ebuild      | 71 ++++++++++++++++++++++
 2 files changed, 72 insertions(+)

diff --git a/gnome-extra/evolution-ews/Manifest 
b/gnome-extra/evolution-ews/Manifest
index 768dd2b922f7..54142c1fbf83 100644
--- a/gnome-extra/evolution-ews/Manifest
+++ b/gnome-extra/evolution-ews/Manifest
@@ -1,3 +1,4 @@
 DIST evolution-ews-3.52.4.tar.xz 724244 BLAKE2B 
35b78fa600e06c18cecee8c43941e77b3645a7d4487d72d989da62a0c7acab83f2adf4363c761d7e313f42175f341d63ec7709003599bf5b37e80424cc76d67c
 SHA512 
017dbe28ba6524cdad1582cebd00fb675c75f52cac5875c756be0f402d4a0dd4a83e60b7ee0a2f71211eac49c04bba924e3d71775dce1e55fdcd372b1ac3747d
 DIST evolution-ews-3.54.3.0.tar.xz 737492 BLAKE2B 
bf78efdc60953c7723eaf952456b97b42d9189437d1d6fe535c3d73724df5d89856f144474890359154058080616cf610cb3b58f170a6c4b247c6fb0907af122
 SHA512 
f914daab6d5765c18c8f58583a97ce41aacf8a7ebe43c250d3ce764062846beae03e4bdc1f11ea7f0182a74ac7b976f74c88043b8a8a323af8866aa6e0bf0515
 DIST evolution-ews-3.56.1.tar.xz 756468 BLAKE2B 
0252978c6d8e36a7fda7ff5583d12c3c604b91c29e1439d86e1de62826a4df08fef83dccc25eae0bcb9ea9ed93d107a3e99f79ec1a37a5f43cdc887306d366dc
 SHA512 
fe3521214f7ea5d95706fa2c159bb5cf9bb53611e643a766f6a88f66f274d5c25bda982783bfa757d34c3a9f044cdd89a7c7f4118413fcc0fedb1a34b3907737
+DIST evolution-ews-3.56.2.tar.xz 756844 BLAKE2B 
552b8ffac41f4effdab19af73649386ffbd6dab2ff6d7013cf20ae4375bb6f070b16de2889866fca666214ff18490ca20daeccc1f2f45d9d05c2e000da9a808a
 SHA512 
5213a6071ff5f1077eae19b9ab163f72f945b9fc7ab325733c3f6fa6be9bba16dfc1bd416d4d9786d4a16e2cf3e18f4eafb1f31a75c5487884f1c5ce5644866b

diff --git a/gnome-extra/evolution-ews/evolution-ews-3.56.2.ebuild 
b/gnome-extra/evolution-ews/evolution-ews-3.56.2.ebuild
new file mode 100644
index 000000000000..de2ed447ae57
--- /dev/null
+++ b/gnome-extra/evolution-ews/evolution-ews-3.56.2.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake gnome2 optfeature
+
+DESCRIPTION="Evolution module for connecting to Microsoft Exchange Web 
Services"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/evolution/-/wikis/home 
https://gitlab.gnome.org/GNOME/evolution-ews";
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE="test"
+
+RDEPEND="
+       dev-db/sqlite:3
+       >=dev-libs/glib-2.68:2
+       >=dev-libs/libical-3.0.5:0=[glib]
+       >=dev-libs/json-glib-1.0.4
+       >=dev-libs/libmspack-0.4
+       dev-libs/libxml2:2
+       >=gnome-extra/evolution-data-server-3.54.3:0=
+       >=mail-client/evolution-3.54.3:2.0
+       >=net-libs/libsoup-3.0:3.0
+       >=x11-libs/gtk+-3.10:3
+"
+DEPEND="${RDEPEND}
+       test? ( >=net-libs/uhttpmock-0.9:1.0 )
+"
+BDEPEND="
+       dev-util/gdbus-codegen
+       dev-util/glib-utils
+       >=dev-util/intltool-0.35.5
+       >=sys-devel/gettext-0.18.3
+       virtual/pkgconfig
+"
+
+# Unittests fail to find libevolution-ews.so
+RESTRICT="test !test? ( test )"
+
+# 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() {
+       cmake_src_prepare
+       gnome2_src_prepare
+}
+
+src_configure() {
+       local mycmakeargs=(
+               -DWITH_MSPACK=ON
+               -DENABLE_TESTS=$(usex test)
+       )
+       cmake_src_configure
+}
+
+src_compile() {
+       cmake_src_compile
+}
+
+src_test() {
+       cmake_src_test
+}
+
+src_install() {
+       cmake_src_install
+}
+
+pkg_postinst() {
+       optfeature "oauth support" 
"gnome-extra/evolution-data-server[oauth-gtk3]"
+}

Reply via email to