commit:     5c50dd1e62f89e7b2ef8281855f072d93a0246e1
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 14 22:07:56 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Dec 14 22:08:03 2024 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=5c50dd1e

kde-apps/akonadi-config: moved to ::gentoo

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-apps/akonadi-config/akonadi-config-0.ebuild | 78 -------------------------
 kde-apps/akonadi-config/metadata.xml            |  8 ---
 2 files changed, 86 deletions(-)

diff --git a/kde-apps/akonadi-config/akonadi-config-0.ebuild 
b/kde-apps/akonadi-config/akonadi-config-0.ebuild
deleted file mode 100644
index 2a1bd50b1d..0000000000
--- a/kde-apps/akonadi-config/akonadi-config-0.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit optfeature
-
-DESCRIPTION="Default Akonadi storage backend configuration"
-HOMEPAGE="https://userbase.kde.org/Tutorials/Shared_Database#Akonadi";
-S=${WORKDIR}
-
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-IUSE="+mysql postgres sqlite"
-
-REQUIRED_USE="|| ( mysql postgres sqlite )"
-
-RDEPEND="
-       !<kde-apps/akonadi-24.11.80
-       dev-qt/qtbase:6[mysql?,postgres?,sqlite?]
-       mysql? ( virtual/mysql )
-       postgres? ( dev-db/postgresql )
-"
-
-pkg_pretend() {
-       if [[ -n "${REPLACING_VERSIONS}" ]] || ! has_version 
"kde-apps/akonadi"; then
-               return
-       fi
-       for backend in sqlite postgres mysql; do
-               if ! use ${backend} && has_version 
"kde-apps/akonadi[${backend}]"; then
-                       ewarn "Potential upgrade issue detected!"
-                       ewarn "Previously: kde-apps/akonadi[${backend}] *** 
enabled ***"
-                       ewarn "Now: kde-apps/akonadi-config[${backend}] *** 
disabled ***"
-                       ewarn "Make sure any Akonadi user storage backends in 
~/.config/akonadi/akonadiserverrc"
-                       ewarn "have been migrated accordingly. To migrate an 
existing backend to a different"
-                       ewarn "driver, run \`akonadi-db-migrator --newengine 
sqlite|mysql|postgres\`"
-                       ewarn "To succeed, both drivers need to be enabled in 
dev-qt/qtbase USE - it is *not*"
-                       ewarn "necessary to downgrade kde-apps/akonadi if you 
learn about this after upgrading."
-               fi
-       done
-}
-
-pkg_setup() {
-       # Set default storage backend in order: MySQL, SQLite, PostgreSQL
-       # reverse driver check to keep the order
-       use postgres && DRIVER="QPSQL"
-       use sqlite && DRIVER="QSQLITE"
-       use mysql && DRIVER="QMYSQL"
-}
-
-src_unpack() { :; }
-src_configure() { :; }
-src_compile() { :; }
-
-src_install() {
-       # Who knows, maybe it accidentally fixes our permission issues
-       cat <<-EOF > "${T}"/akonadiserverrc || die
-               [%General]
-               Driver=${DRIVER}
-       EOF
-       insinto /usr/share/config/akonadi
-       doins "${T}"/akonadiserverrc
-}
-
-pkg_postinst() {
-       elog "You can select the storage backend in 
~/.config/akonadi/akonadiserverrc."
-       elog "Available drivers (by enabled USE flags) are:"
-       use mysql && elog "  QMYSQL"
-       use sqlite && elog "  QSQLITE"
-       use postgres && elog "  QPSQL"
-       elog "${DRIVER} has been set as your default akonadi storage backend."
-       elog
-       optfeature_header "The following optional database backends exist:"
-       optfeature "SQLite backend support" "${CATEGORY}/${PN}[sqlite]"
-       optfeature "MySQL backend support" "${CATEGORY}/${PN}[mysql]"
-       optfeature "PostgreSQL backend support" "${CATEGORY}/${PN}[postgres]"
-}

diff --git a/kde-apps/akonadi-config/metadata.xml 
b/kde-apps/akonadi-config/metadata.xml
deleted file mode 100644
index 8641e5bdd3..0000000000
--- a/kde-apps/akonadi-config/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <maintainer type="project">
-               <email>[email protected]</email>
-               <name>Gentoo KDE Project</name>
-       </maintainer>
-</pkgmetadata>

Reply via email to