summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-12-09 11:15:21 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-12-09 11:27:42 +0100
commit358e1ac776c5249c8349583aaa3c1da443597fc7 (patch)
tree5c74d7c385b1499226442e54d0693198d77a9c8a
parentdev-libs/kpublictransport: 23.08.4 version bump (diff)
downloadgentoo-358e1ac776c5249c8349583aaa3c1da443597fc7.tar.gz
gentoo-358e1ac776c5249c8349583aaa3c1da443597fc7.tar.bz2
gentoo-358e1ac776c5249c8349583aaa3c1da443597fc7.zip
kde-apps/akonadi: 23.08.4 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-apps/akonadi/Manifest1
-rw-r--r--kde-apps/akonadi/akonadi-23.08.4.ebuild112
2 files changed, 113 insertions, 0 deletions
diff --git a/kde-apps/akonadi/Manifest b/kde-apps/akonadi/Manifest
index 39866d6a8f97..95af3606d538 100644
--- a/kde-apps/akonadi/Manifest
+++ b/kde-apps/akonadi/Manifest
@@ -1,2 +1,3 @@
DIST akonadi-23.04.3.tar.xz 1668012 BLAKE2B a09f26c3b90885babe32af63c1d48cc476862129b6a700884f4a5ecbd73cfc6d60fa6f503e87b7ced746580ccfb7bd2d08c2d3b2454ce7ab7e81664f0d9f1806 SHA512 fc9729451ac8e39c4455748a5fd9fd1efd82573c21731d60dbad59bc02e75e3653bae6469b2d04b68c360fd5f23bc49914d07d849a71a71e1349bd76ae6c8dbc
DIST akonadi-23.08.3.tar.xz 1662324 BLAKE2B 357da9b9a2e485817394b21dd4c351131581f56161b8bcc1cfccdf08115b7fd9fe837c86bd08e3166ff347f556c159e44b4f0a2025d375a5e338f1e5f8e84fcf SHA512 129b63e19f485925103e16fb46063d87023b2b2cf6b8de89e284eedd8ca483baf4311a6e429e55508bd204f9012e05bf4f1212735ee513406383f9f8901be09e
+DIST akonadi-23.08.4.tar.xz 1662596 BLAKE2B 194ece7916ff6349f69c50263a02a09bd3c209eb38956d9be385e883fe38f93399d265a1d5f3004f14cd45eb503892320f9ddfc7d0f1e7df9ee8eda54e683df7 SHA512 14094d320df5c0c512ce0da4ed94a3e1332c87e9abf7cc059b7cfcc2ee55efaea91e5c26817e1f1b3c0b2de79701a56ae81ac84ec54f0fd32a9099e2b09e94fe
diff --git a/kde-apps/akonadi/akonadi-23.08.4.ebuild b/kde-apps/akonadi/akonadi-23.08.4.ebuild
new file mode 100644
index 000000000000..b44808223f93
--- /dev/null
+++ b/kde-apps/akonadi/akonadi-23.08.4.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2023 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=5.106.0
+QTMIN=5.15.9
+VIRTUALDBUS_TEST="true"
+inherit ecm gear.kde.org readme.gentoo-r1
+
+DESCRIPTION="Storage service for PIM data and libraries for PIM apps"
+HOMEPAGE="https://community.kde.org/KDE_PIM/akonadi"
+
+LICENSE="LGPL-2.1+"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="+kaccounts +mysql postgres sqlite tools 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/qtdbus-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtsql-${QTMIN}:5[mysql?,postgres?,sqlite?]
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtxml-${QTMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kcrash-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kiconthemes-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/kitemmodels-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ kaccounts? (
+ >=kde-apps/kaccounts-integration-20.08.3:5
+ >=net-libs/accounts-qt-1.16
+ )
+ 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"
+
+ if use mysql && has_version "${CATEGORY}/${PN}[mysql]" && has_version "dev-db/mariadb"; then
+ ewarn
+ ewarn "Attention: Make sure to read README.gentoo after install."
+ ewarn
+ fi
+
+ ecm_pkg_setup
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package kaccounts AccountsQt5)
+ $(cmake_use_find_package kaccounts KAccounts)
+ -DBUILD_TOOLS=$(usex tools)
+ $(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
+ readme.gentoo_create_doc
+}
+
+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."
+ use mysql && elog
+ use mysql && FORCE_PRINT_ELOG=1 readme.gentoo_print_elog
+}