Diff akonadi-23.08.1 with a akonadi-23.04.3

/usr/portage/kde-apps/akonadi/akonadi-23.04.3.ebuild 2023-10-09 14:52:31.180368393 +0300
16 16

  
17 17
LICENSE="LGPL-2.1+"
18 18
SLOT="5"
19
KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
19
KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv x86"
20 20
IUSE="+kaccounts +mysql postgres sqlite tools xml"
21 21

  
22 22
REQUIRED_USE="|| ( mysql postgres sqlite ) test? ( tools )"
......
29 29
	>=dev-qt/qtdbus-${QTMIN}:5
30 30
	>=dev-qt/qtgui-${QTMIN}:5
31 31
	>=dev-qt/qtnetwork-${QTMIN}:5
32
	>=dev-qt/qtsql-${QTMIN}:5[mysql?,postgres?,sqlite?]
32
	>=dev-qt/qtsql-${QTMIN}:5[mysql?,postgres?]
33 33
	>=dev-qt/qtwidgets-${QTMIN}:5
34 34
	>=dev-qt/qtxml-${QTMIN}:5
35 35
	>=kde-frameworks/kconfig-${KFMIN}:5
......
46 46
		>=kde-apps/kaccounts-integration-20.08.3:5
47 47
		>=net-libs/accounts-qt-1.16
48 48
	)
49
	sqlite? (
50
		dev-db/sqlite:3
51
		>=dev-qt/qtsql-${QTMIN}:5=[sqlite]
52
	)
49 53
	xml? ( dev-libs/libxml2 )
50 54
"
51 55
DEPEND="${COMMON_DEPEND}
......
62 66
pkg_setup() {
63 67
	# Set default storage backend in order: MySQL, PostgreSQL, SQLite
64 68
	# reverse driver check to keep the order
65
	use sqlite && DRIVER="QSQLITE"
69
	use sqlite && DRIVER="QSQLITE3"
66 70
	use postgres && DRIVER="QPSQL"
67 71
	use mysql && DRIVER="QMYSQL"
68 72

  
......
72 76
		ewarn
73 77
	fi
74 78

  
79
	if use sqlite || has_version "<${CATEGORY}/${P}[sqlite]"; then
80
		ewarn "We strongly recommend you change your Akonadi database backend to"
81
		ewarn "either MariaDB/MySQL or PostgreSQL in your user configuration."
82
		ewarn "In particular, kde-apps/kmail does not work properly with the sqlite backend."
83
	fi
84

  
75 85
	ecm_pkg_setup
76 86
}
77 87

  
......
79 89
	local mycmakeargs=(
80 90
		$(cmake_use_find_package kaccounts AccountsQt5)
81 91
		$(cmake_use_find_package kaccounts KAccounts)
92
		-DAKONADI_BUILD_QSQLITE=$(usex sqlite)
82 93
		-DBUILD_TOOLS=$(usex tools)
83 94
		$(cmake_use_find_package xml LibXml2)
84 95
	)
......
105 116
	elog "Available drivers are:"
106 117
	use mysql && elog "  QMYSQL"
107 118
	use postgres && elog "  QPSQL"
108
	use sqlite && elog "  QSQLITE"
119
	use sqlite && elog "  QSQLITE3"
109 120
	elog "${DRIVER} has been set as your default akonadi storage backend."
110 121
	use mysql && elog
111 122
	use mysql && FORCE_PRINT_ELOG=1 readme.gentoo_print_elog
Thank you!