summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-10-10 20:43:19 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-10-10 20:55:24 +0200
commit7198661eeebac08035eb89b341177d799294b532 (patch)
tree4336fa69ba335bc8aeb5acd531a6767be4f9e8fa /kde-apps/akonadi
parentdev-libs/kpublictransport: 24.08.2 version bump (diff)
downloadgentoo-7198661eeebac08035eb89b341177d799294b532.tar.gz
gentoo-7198661eeebac08035eb89b341177d799294b532.tar.bz2
gentoo-7198661eeebac08035eb89b341177d799294b532.zip
kde-apps/akonadi: 24.08.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/akonadi')
-rw-r--r--kde-apps/akonadi/Manifest1
-rw-r--r--kde-apps/akonadi/akonadi-24.08.2.ebuild97
2 files changed, 98 insertions, 0 deletions
diff --git a/kde-apps/akonadi/Manifest b/kde-apps/akonadi/Manifest
index 2d02bec95273..b333260d071f 100644
--- a/kde-apps/akonadi/Manifest
+++ b/kde-apps/akonadi/Manifest
@@ -1,2 +1,3 @@
DIST akonadi-24.05.2.tar.xz 1704460 BLAKE2B fd6b37a25d09d4c6b468b81beca0d23f45990debd3f90d594ab357d44111f14c64b5eacce2363c8705ce111a9dd45a97301428645cce31da85d708d59a90c466 SHA512 b161bd826172df4c8eef7ced7f906ac1efc597de5baada90f2bd725818fda89799ef9899da49d666bfe9f3496c91b1bfb647a885f49c3a7a3578ab1d0ce3f690
DIST akonadi-24.08.1.tar.xz 1702448 BLAKE2B c7995720736c4f99fda0ced45214b15395537b0f77d105dac36f12d50e933a7a2d086bb14c9647eb15b777486c79b5043abc608120125b8efd8620f868a18abf SHA512 d591d9b073dc468649803fb72c2c90c5fb5ab9c277481c2813ea5c70a814cda3d7e23edc9e28c8525cdfc2f87ec076343ee280766b496d734649f0ba29885d0c
+DIST akonadi-24.08.2.tar.xz 1703564 BLAKE2B 7dfde4a8894551529b093a78be713626fbe8f24b1ceccc9225d2407ed2fa90aa6b30472850f528422d6734e5401fa931628a091b735893f18f3b58d7f9c8a4f3 SHA512 63872b8fcfdb5d559cab14489635f5367538c4c2d1db8f51f84347ae267fded56d13433fda9d21116658c5fa443e0e47807a536d4f5cd55ad249db4b7822ed25
diff --git a/kde-apps/akonadi/akonadi-24.08.2.ebuild b/kde-apps/akonadi/akonadi-24.08.2.ebuild
new file mode 100644
index 000000000000..bb16d126bb79
--- /dev/null
+++ b/kde-apps/akonadi/akonadi-24.08.2.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_DESIGNERPLUGIN="true"
+ECM_QTHELP="true"
+ECM_TEST="forceoptional"
+KFMIN=6.5.0
+QTMIN=6.7.2
+VIRTUALDBUS_TEST="true"
+inherit ecm gear.kde.org
+
+DESCRIPTION="Storage service for PIM data and libraries for PIM apps"
+HOMEPAGE="https://community.kde.org/KDE_PIM/akonadi"
+
+LICENSE="LGPL-2.1+"
+SLOT="6"
+KEYWORDS="~amd64 ~arm64"
+IUSE="+mysql postgres sqlite tools +webengine xml"
+
+REQUIRED_USE="|| ( mysql postgres sqlite ) test? ( tools )"
+
+# some akonadi tests time out, that probably needs more work as it's ~700 tests
+RESTRICT="test"
+
+COMMON_DEPEND="
+ app-arch/xz-utils
+ >=dev-qt/qtbase-${QTMIN}:6[dbus,gui,mysql?,network,postgres?,sql,sqlite?,widgets,xml]
+ >=kde-frameworks/kconfig-${KFMIN}:6
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:6
+ >=kde-frameworks/kcoreaddons-${KFMIN}:6
+ >=kde-frameworks/kcrash-${KFMIN}:6
+ >=kde-frameworks/ki18n-${KFMIN}:6
+ >=kde-frameworks/kiconthemes-${KFMIN}:6
+ >=kde-frameworks/kitemmodels-${KFMIN}:6
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:6
+ >=kde-frameworks/kxmlgui-${KFMIN}:6
+ webengine? (
+ kde-apps/kaccounts-integration:6
+ >=net-libs/accounts-qt-1.17[qt6(+)]
+ )
+ xml? ( dev-libs/libxml2 )
+"
+DEPEND="${COMMON_DEPEND}
+ dev-libs/libxslt
+ test? ( sys-apps/dbus )
+"
+RDEPEND="${COMMON_DEPEND}
+ mysql? ( virtual/mysql )
+ postgres? ( dev-db/postgresql )
+"
+
+PATCHES=( "${FILESDIR}/${PN}-21.03.80-mysql56-crash.patch" )
+
+pkg_setup() {
+ # Set default storage backend in order: MySQL, PostgreSQL, SQLite
+ # reverse driver check to keep the order
+ use sqlite && DRIVER="QSQLITE"
+ use postgres && DRIVER="QPSQL"
+ use mysql && DRIVER="QMYSQL"
+
+ ecm_pkg_setup
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TOOLS=$(usex tools)
+ $(cmake_use_find_package webengine AccountsQt6)
+ $(cmake_use_find_package webengine KAccounts6)
+ $(cmake_use_find_package xml LibXml2)
+ )
+
+ ecm_src_configure
+}
+
+src_install() {
+ # Who knows, maybe it accidentally fixes our permission issues
+ cat <<-EOF > "${T}"/akonadiserverrc
+[%General]
+Driver=${DRIVER}
+EOF
+ insinto /usr/share/config/akonadi
+ doins "${T}"/akonadiserverrc
+
+ ecm_src_install
+}
+
+pkg_postinst() {
+ ecm_pkg_postinst
+ elog "You can select the storage backend in ~/.config/akonadi/akonadiserverrc."
+ elog "Available drivers are:"
+ use mysql && elog " QMYSQL"
+ use postgres && elog " QPSQL"
+ use sqlite && elog " QSQLITE"
+ elog "${DRIVER} has been set as your default akonadi storage backend."
+}