summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-09-12 17:58:38 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-09-12 21:27:30 +0200
commitd3a5d96226bafceffc2904bca026a6b3838c4425 (patch)
tree5567f392b935c5da51121a4b71f5f7d9120c3f5a /kde-apps/akonadi
parentdev-libs/kpublictransport: 24.08.1 version bump (diff)
downloadgentoo-d3a5d96226bafceffc2904bca026a6b3838c4425.tar.gz
gentoo-d3a5d96226bafceffc2904bca026a6b3838c4425.tar.bz2
gentoo-d3a5d96226bafceffc2904bca026a6b3838c4425.zip
kde-apps/akonadi: 24.08.1 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.1.ebuild97
2 files changed, 98 insertions, 0 deletions
diff --git a/kde-apps/akonadi/Manifest b/kde-apps/akonadi/Manifest
index c074ad723061..99504f5415d0 100644
--- a/kde-apps/akonadi/Manifest
+++ b/kde-apps/akonadi/Manifest
@@ -1,3 +1,4 @@
DIST akonadi-23.08.5.tar.xz 1662512 BLAKE2B 4e52e2b09e7f0376f7d63fdb590ba0372eb515b7f033d97d8fb76e1e85f9b598775936828d8c9b524807824d88cc9de93ea0efc445009e96f361f754ccd96d44 SHA512 3c1e851b519d8808b7be95b980d362eb525ec61ed06122be3795ba6b6a831aa80c77d799608686a49716a98a8bb9300e70f1c82cfe1de061cdc0af5ad9f30247
DIST akonadi-24.05.2.tar.xz 1704460 BLAKE2B fd6b37a25d09d4c6b468b81beca0d23f45990debd3f90d594ab357d44111f14c64b5eacce2363c8705ce111a9dd45a97301428645cce31da85d708d59a90c466 SHA512 b161bd826172df4c8eef7ced7f906ac1efc597de5baada90f2bd725818fda89799ef9899da49d666bfe9f3496c91b1bfb647a885f49c3a7a3578ab1d0ce3f690
DIST akonadi-24.08.0.tar.xz 1702140 BLAKE2B ca0562d073475f8d1c16e5eb5d596a1cc6e30e9fae3f362707e1aff6784a686afec04432f567ff29245e0b925bff84f32d456ef215c27c96312deaa274a7a455 SHA512 e7b54ea48c13569cb293a500ee6ee50026a064c150066554ae092df10796e6c32db1f8d98cda0c927bc59bbd905bba47243c668c9d3c586aecd0f85579af0218
+DIST akonadi-24.08.1.tar.xz 1702448 BLAKE2B c7995720736c4f99fda0ced45214b15395537b0f77d105dac36f12d50e933a7a2d086bb14c9647eb15b777486c79b5043abc608120125b8efd8620f868a18abf SHA512 d591d9b073dc468649803fb72c2c90c5fb5ab9c277481c2813ea5c70a814cda3d7e23edc9e28c8525cdfc2f87ec076343ee280766b496d734649f0ba29885d0c
diff --git a/kde-apps/akonadi/akonadi-24.08.1.ebuild b/kde-apps/akonadi/akonadi-24.08.1.ebuild
new file mode 100644
index 000000000000..a5b6fa061b0d
--- /dev/null
+++ b/kde-apps/akonadi/akonadi-24.08.1.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.16_p20220803[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."
+}