Skip to content

Commit c053739

Browse files
committed
kde-apps/akonadi-config: Switch default to QSQLITE (IUSE sqlite)
Bug: https://bugs.gentoo.org/936102 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
1 parent 1eb36fc commit c053739

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

kde-apps/akonadi-config/akonadi-config-0.ebuild

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ S=${WORKDIR}
1212
LICENSE="public-domain"
1313
SLOT="0"
1414
KEYWORDS="~amd64 ~arm64"
15-
IUSE="+mysql postgres sqlite"
15+
IUSE="mysql postgres +sqlite"
1616

1717
REQUIRED_USE="|| ( mysql postgres sqlite )"
1818

@@ -42,11 +42,11 @@ pkg_pretend() {
4242
}
4343

4444
pkg_setup() {
45-
# Set default storage backend in order: MySQL, SQLite, PostgreSQL
45+
# Set default storage backend in order: SQLite, MySQL, PostgreSQL
4646
# reverse driver check to keep the order
4747
use postgres && DRIVER="QPSQL"
48-
use sqlite && DRIVER="QSQLITE"
4948
use mysql && DRIVER="QMYSQL"
49+
use sqlite && DRIVER="QSQLITE"
5050
}
5151

5252
src_unpack() { :; }
@@ -66,8 +66,8 @@ src_install() {
6666
pkg_postinst() {
6767
elog "You can select the storage backend in ~/.config/akonadi/akonadiserverrc."
6868
elog "Available drivers (by enabled USE flags) are:"
69-
use mysql && elog " QMYSQL"
7069
use sqlite && elog " QSQLITE"
70+
use mysql && elog " QMYSQL"
7171
use postgres && elog " QPSQL"
7272
elog "${DRIVER} has been set as your default akonadi storage backend."
7373
elog

0 commit comments

Comments
 (0)