diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-11-07 17:13:35 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-11-07 20:06:15 +0100 |
commit | 971f58d5d5a524a45b7dd9baf113f588bcde907a (patch) | |
tree | e12b2b32710a0b85bf6a8787844b83aad6e178cc /kde-apps/akonadi | |
parent | dev-libs/kpublictransport: 24.08.3 version bump (diff) | |
download | gentoo-971f58d5d5a524a45b7dd9baf113f588bcde907a.tar.gz gentoo-971f58d5d5a524a45b7dd9baf113f588bcde907a.tar.bz2 gentoo-971f58d5d5a524a45b7dd9baf113f588bcde907a.zip |
kde-apps/akonadi: 24.08.3 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/akonadi')
-rw-r--r-- | kde-apps/akonadi/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/akonadi/akonadi-24.08.3.ebuild | 95 |
2 files changed, 96 insertions, 0 deletions
diff --git a/kde-apps/akonadi/Manifest b/kde-apps/akonadi/Manifest index 73ce61e6f391..a4b2f7dd325c 100644 --- a/kde-apps/akonadi/Manifest +++ b/kde-apps/akonadi/Manifest @@ -1,2 +1,3 @@ DIST akonadi-24.08.1.tar.xz 1702448 BLAKE2B c7995720736c4f99fda0ced45214b15395537b0f77d105dac36f12d50e933a7a2d086bb14c9647eb15b777486c79b5043abc608120125b8efd8620f868a18abf SHA512 d591d9b073dc468649803fb72c2c90c5fb5ab9c277481c2813ea5c70a814cda3d7e23edc9e28c8525cdfc2f87ec076343ee280766b496d734649f0ba29885d0c DIST akonadi-24.08.2.tar.xz 1703564 BLAKE2B 7dfde4a8894551529b093a78be713626fbe8f24b1ceccc9225d2407ed2fa90aa6b30472850f528422d6734e5401fa931628a091b735893f18f3b58d7f9c8a4f3 SHA512 63872b8fcfdb5d559cab14489635f5367538c4c2d1db8f51f84347ae267fded56d13433fda9d21116658c5fa443e0e47807a536d4f5cd55ad249db4b7822ed25 +DIST akonadi-24.08.3.tar.xz 1705408 BLAKE2B c209d3edda626f0768e05d5f63060068b06113cd2d31c53b9e335b4fb815d97280614d161ba4619795ab2c8604270dd613f036f9bdff1bcc3c86740194e48047 SHA512 efed4b344ab25ba986269b79b9157e3c5d1542fe93c4cd037a030b6740d564baf651de1e2db206cb996a46a6d007c787cdae8eef32df9ed70d1eee5d537b2167 diff --git a/kde-apps/akonadi/akonadi-24.08.3.ebuild b/kde-apps/akonadi/akonadi-24.08.3.ebuild new file mode 100644 index 000000000000..9d2f4a27e5a1 --- /dev/null +++ b/kde-apps/akonadi/akonadi-24.08.3.ebuild @@ -0,0 +1,95 @@ +# 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 ) +" + +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." +} |