diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-28 17:40:55 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-28 17:40:55 +0000 |
commit | 8294b197c0de9084d8ac8510382353ea4c177b87 (patch) | |
tree | 588533368704fdb760c55c9d15e246a827bc3e3d /kde-apps/akonadi | |
parent | 73c06e01ebc820f47f0140310b8a096e9d20877b (diff) |
gentoo auto-resync : 28:02:2024 - 17:40:54
Diffstat (limited to 'kde-apps/akonadi')
-rw-r--r-- | kde-apps/akonadi/Manifest | 2 | ||||
-rw-r--r-- | kde-apps/akonadi/akonadi-24.02.0.ebuild | 107 |
2 files changed, 109 insertions, 0 deletions
diff --git a/kde-apps/akonadi/Manifest b/kde-apps/akonadi/Manifest index af7ca1e5b70c..0ecbd4e3b930 100644 --- a/kde-apps/akonadi/Manifest +++ b/kde-apps/akonadi/Manifest @@ -2,6 +2,8 @@ AUX README.gentoo 1599 BLAKE2B aba3a897768323c2fa40a487fefd45529ce024a4ba11b1fd0 AUX akonadi-21.03.80-mysql56-crash.patch 2534 BLAKE2B bc36e6a80f6f93695e35fc19edf9d8a1139508b9fe3cd1f81a1e6a1ca7723def4ed81fb9bdc75822b00835ad65333bb1dc44a552d33f09bfd331a4ddb8e23d13 SHA512 acb0432f98a96d5af609d43dc5aa25d3d5d0668c9493c62b2339add0f3ef78d54449137884eafc0201b9f0f4de4543a584ef6cd746cd3634d1a84169cd0e4219 DIST akonadi-23.08.4.tar.xz 1662596 BLAKE2B 194ece7916ff6349f69c50263a02a09bd3c209eb38956d9be385e883fe38f93399d265a1d5f3004f14cd45eb503892320f9ddfc7d0f1e7df9ee8eda54e683df7 SHA512 14094d320df5c0c512ce0da4ed94a3e1332c87e9abf7cc059b7cfcc2ee55efaea91e5c26817e1f1b3c0b2de79701a56ae81ac84ec54f0fd32a9099e2b09e94fe DIST akonadi-23.08.5.tar.xz 1662512 BLAKE2B 4e52e2b09e7f0376f7d63fdb590ba0372eb515b7f033d97d8fb76e1e85f9b598775936828d8c9b524807824d88cc9de93ea0efc445009e96f361f754ccd96d44 SHA512 3c1e851b519d8808b7be95b980d362eb525ec61ed06122be3795ba6b6a831aa80c77d799608686a49716a98a8bb9300e70f1c82cfe1de061cdc0af5ad9f30247 +DIST akonadi-24.02.0.tar.xz 1689776 BLAKE2B 17511e725f38543c8c262bcdefc4b01f4d2653875069e53349cd6ad1ab7052e40a10ece33ea9661ceeba00fba75c5978d2584799b47015eb3d801ad9cbeb2369 SHA512 89f4b9030fd1d87a3928eec43967b47508a0dbf8d14877d370f1b1d77a86297339b2b23530b8c29b0bbcc672a5dcfffbfe32671876ea9e843466ec3d79b2e408 EBUILD akonadi-23.08.4-r1.ebuild 2962 BLAKE2B 22074d7dc8d9f75c4656dd735a2abcae4fb75744f8a7f09f9c2dfed154cbd6c7c3056e748887fb0979560c1407ae09fd649da4acb1ddaa9ac89b4dbe13e73077 SHA512 d8466e2bcd04c8542aabf93e9721427ca30799899c0fb64832e4ecbf0852fd047cd7542b07622dfbab3b8cba508789147a062c3ed1f912ae7bb33fb85fbb5846 EBUILD akonadi-23.08.5.ebuild 3008 BLAKE2B 808cd13a57b1cd24b2b579064d9dd737d06e23bb0d9949b38d944c03d15de2aff611235c667548ed6b1fda6069c6dab4627223ff3f989e7247266bc3e2b9872d SHA512 20c157473e94350ffaec5339b3f48ed550607f038a90bb0026e4c512aff888f0883b0344542af70ba43101fc67854c21f32dc624769a1d5453b958ce77c32b40 +EBUILD akonadi-24.02.0.ebuild 2815 BLAKE2B 029f96889d07bfefae16441c9c5e237fbdfc96fe248104e7dfb3f62784c01c6365d6ab8b5350f8748e847ada4fb5ed477031ac73f7cfd7b4bd30f5f6f106cb86 SHA512 ca0d8106ed5fbf3cf6c807b319163a10420fab4bd564585f7332f8847871f05997bc72718a5716084485fc22d1121de8bc5acc26858ad51fa19ea8995e61a500 MISC metadata.xml 560 BLAKE2B d9e5a78a01139f88ec170123145375cb66824e6a0be029af75e95dee4ea69d8f2ffc6044951b50f32ef0c6bd905ceaca34022107a624b6b7830aad09e1369aff SHA512 e93981baa6ea40338301da4565134e52668c2f03f0f8f25edf98fed3d586759c423282953930004402a4adf5476ba2235aa4b66065674d450cfa32a17e713808 diff --git a/kde-apps/akonadi/akonadi-24.02.0.ebuild b/kde-apps/akonadi/akonadi-24.02.0.ebuild new file mode 100644 index 000000000000..08fc7f7fc380 --- /dev/null +++ b/kde-apps/akonadi/akonadi-24.02.0.ebuild @@ -0,0 +1,107 @@ +# 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.0 +QTMIN=6.6.2 +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="6" +KEYWORDS="~amd64" +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/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/kio-${KFMIN}:6 + >=kde-frameworks/kitemmodels-${KFMIN}:6 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:6 + >=kde-frameworks/kxmlgui-${KFMIN}:6 + kaccounts? ( + 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" + + 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 AccountsQt6) + $(cmake_use_find_package kaccounts KAccounts6) + -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 +} |