diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-10 03:19:26 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-10 03:19:26 +0000 |
commit | caf79cb4f7c4d5f7cce488d8f50dfb98ddbd09ab (patch) | |
tree | 4fb39a9252efabe8f160ef46b7b3be2f52af25aa /kde-apps/akonadi | |
parent | 3606ceecb950b302a6ba2a9882aeeff2a851e5dc (diff) |
gentoo auto-resync : 10:12:2022 - 03:19:26
Diffstat (limited to 'kde-apps/akonadi')
-rw-r--r-- | kde-apps/akonadi/Manifest | 2 | ||||
-rw-r--r-- | kde-apps/akonadi/akonadi-22.12.0.ebuild | 126 |
2 files changed, 128 insertions, 0 deletions
diff --git a/kde-apps/akonadi/Manifest b/kde-apps/akonadi/Manifest index 43b51cb61c94..b06dad8e1d22 100644 --- a/kde-apps/akonadi/Manifest +++ b/kde-apps/akonadi/Manifest @@ -1,5 +1,7 @@ AUX README.gentoo 1599 BLAKE2B aba3a897768323c2fa40a487fefd45529ce024a4ba11b1fd0dd9ff5fa6305d477820a6618609dd124a848593166bfeb52cc5e807dfa3c2125ac5116dd538de25 SHA512 d0dc40edf06f833bbebfbc96c4a1e27b0bc0a1108f059ffefc1e565b4497fabf3d997fdc7a769d918508fc92e1170d57470f676ead8fd874bf7c3911ea0d03af AUX akonadi-21.03.80-mysql56-crash.patch 2534 BLAKE2B bc36e6a80f6f93695e35fc19edf9d8a1139508b9fe3cd1f81a1e6a1ca7723def4ed81fb9bdc75822b00835ad65333bb1dc44a552d33f09bfd331a4ddb8e23d13 SHA512 acb0432f98a96d5af609d43dc5aa25d3d5d0668c9493c62b2339add0f3ef78d54449137884eafc0201b9f0f4de4543a584ef6cd746cd3634d1a84169cd0e4219 DIST akonadi-22.08.3.tar.xz 1631348 BLAKE2B 4f60efe50c1b6d3f7a813aeb201068cbe50c9a1a71e92ce755223f089367ac799abdaddcad302bb034708f408b57521944996af6dffdfaeb4e888f413a011e18 SHA512 fb3b61ef6737da05c605951a7cf1743bf9f9244016a75ab686289778d2c703063c38ef7cfbc15944420271ab4bd412a4cc5b5a4e8d8481c25574b40f087e2813 +DIST akonadi-22.12.0.tar.xz 1657352 BLAKE2B 89619aa36d758df86cdc106a2e35b0cfe7eb42421fa135386cd10ccc17e1ef45d69c16480c9a9da61a0ff988a54ef299f68a47ebab6a673d27f3fe18c38bbf0a SHA512 a6fd06954e5a86b8fce4c04664319590455a2d03dc66a3ba55277fdbca0f6a15dec9d954aaf485f3719b4f5d09e89fae6fb305de5502b5e595d3d74c19c1f3a2 EBUILD akonadi-22.08.3.ebuild 3471 BLAKE2B 6744955b0a6770b1a84b940f731066680ab0c61dda87d94b57d682d4bd60c462cd1ccec4f4a0ed8310a41981512b9d340b18e3fc2813dbe6e0eb6a7ae9ec52e1 SHA512 a04b4bbda2fc4ac91e15766eafe68a90205f43b37d3d0a03583add0cdc1fcc50b3f5ac1f2d3e57f5e4a0a818d4af2e743157b56e862bcc0c79f78bbbf645be68 +EBUILD akonadi-22.12.0.ebuild 3474 BLAKE2B 9812b85794cae3cb8a49329b83608f2035f27b9972c7065964193370c5826fec5107f4eecdd4dc7594be7741d3ff2150c406508ee73dbaef1f10d0fb43666456 SHA512 e006b12b7dc749ff43c7f5eb8f72eeeb4ab938963e2625d1e7ac08594a7b87fa5f554cf23438041bea1550a7ea59d315786942d80e9eb4791c7463f8f12492b1 MISC metadata.xml 560 BLAKE2B d9e5a78a01139f88ec170123145375cb66824e6a0be029af75e95dee4ea69d8f2ffc6044951b50f32ef0c6bd905ceaca34022107a624b6b7830aad09e1369aff SHA512 e93981baa6ea40338301da4565134e52668c2f03f0f8f25edf98fed3d586759c423282953930004402a4adf5476ba2235aa4b66065674d450cfa32a17e713808 diff --git a/kde-apps/akonadi/akonadi-22.12.0.ebuild b/kde-apps/akonadi/akonadi-22.12.0.ebuild new file mode 100644 index 000000000000..f1e4079a0e48 --- /dev/null +++ b/kde-apps/akonadi/akonadi-22.12.0.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2022 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.99.0 +QTMIN=5.15.5 +VIRTUALDBUS_TEST="true" +VIRTUALX_REQUIRED="test" +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?] + >=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/kitemviews-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kwindowsystem-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + kaccounts? ( + >=kde-apps/kaccounts-integration-20.08.3:5 + >=net-libs/accounts-qt-1.16 + ) + sqlite? ( + dev-db/sqlite:3 + >=dev-qt/qtsql-${QTMIN}:5=[sqlite] + ) + 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="QSQLITE3" + 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 + + if use sqlite || has_version "<${CATEGORY}/${P}[sqlite]"; then + ewarn "We strongly recommend you change your Akonadi database backend to" + ewarn "either MariaDB/MySQL or PostgreSQL in your user configuration." + ewarn "In particular, kde-apps/kmail does not work properly with the sqlite backend." + fi + + ecm_pkg_setup +} + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package kaccounts AccountsQt5) + $(cmake_use_find_package kaccounts KAccounts) + -DAKONADI_BUILD_QSQLITE=$(usex sqlite) + -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 " QSQLITE3" + elog "${DRIVER} has been set as your default akonadi storage backend." + use mysql && elog + use mysql && FORCE_PRINT_ELOG=1 readme.gentoo_print_elog +} |