Skip to content

Commit

Permalink
kde-apps/kdepim-runtime: update dependencies
Browse files Browse the repository at this point in the history
* Build system not hooked up with kdoctools, so disable ECM_HANDBOOK.
* Hook up tests a bit despite not un-RESTRICTing them.
* Add akonadi itself to the dependencies.
* Disabled automagic and drop a slew on unused dependencies.

Signed-off-by: Alfred Wingate <[email protected]>
  • Loading branch information
parona-source committed Feb 28, 2024
1 parent 1c77bce commit 418aecc
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions kde-apps/kdepim-runtime/kdepim-runtime-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=8

ECM_HANDBOOK="optional"
ECM_HANDBOOK="false"
ECM_TEST="forceoptional"
PVCUT=$(ver_cut 1-3)
KFMIN=5.249.0
Expand All @@ -20,11 +20,10 @@ IUSE="speech"

RESTRICT="test"

# TODO kolab
# TODO etebase, kolab
RDEPEND="
>=app-crypt/qca-2.3.7:2[qt6]
dev-libs/cyrus-sasl:2
dev-libs/libical:=
>=dev-libs/qtkeychain-0.14.1-r1:=[qt6]
>=dev-qt/qtbase-${QTMIN}:6[dbus,gui,network,widgets,xml]
>=dev-qt/qtnetworkauth-${QTMIN}:6
Expand All @@ -41,7 +40,6 @@ RDEPEND="
>=kde-apps/kmailtransport-${PVCUT}:6
>=kde-apps/kmbox-${PVCUT}:6
>=kde-apps/kmime-${PVCUT}:6
>=kde-apps/libkdepim-${PVCUT}:6
>=kde-apps/libkgapi-${PVCUT}:6
>=kde-frameworks/kcalendarcore-${KFMIN}:6
>=kde-frameworks/kcmutils-${KFMIN}:6
Expand All @@ -52,27 +50,31 @@ RDEPEND="
>=kde-frameworks/kcontacts-${KFMIN}:6
>=kde-frameworks/kcoreaddons-${KFMIN}:6
>=kde-frameworks/kdav-${KFMIN}:6
>=kde-frameworks/kholidays-${KFMIN}:6
>=kde-frameworks/ki18n-${KFMIN}:6
>=kde-frameworks/kio-${KFMIN}:6
>=kde-frameworks/kitemmodels-${KFMIN}:6
>=kde-frameworks/kjobwidgets-${KFMIN}:6
>=kde-frameworks/knotifications-${KFMIN}:6
>=kde-frameworks/knotifyconfig-${KFMIN}:6
>=kde-frameworks/kservice-${KFMIN}:6
>=kde-frameworks/ktextaddons-1.5.3:6
>=kde-frameworks/ktextwidgets-${KFMIN}:6
>=kde-frameworks/kwallet-${KFMIN}:6
>=kde-frameworks/kwidgetsaddons-${KFMIN}:6
>=kde-frameworks/kwindowsystem-${KFMIN}:6
>=kde-frameworks/kxmlgui-${KFMIN}:6
speech? ( >=dev-qt/qtspeech-${QTMIN}:6 )
"
DEPEND="${RDEPEND}
test? ( >=kde-apps/kimap-${PVCUT}:6[test] )
test? (
>=kde-apps/akonadi-${PVCUT}:6[tools]
>=kde-apps/kimap-${PVCUT}:6[test]
)
"

src_configure() {
local mycmakeargs=(
-DKDEPIM_RUN_AKONADI_TEST=$(usex test)
-DCMAKE_DISABLE_FIND_PACKAGE_Etebase=ON
-DCMAKE_DISABLE_FIND_PACKAGE_Libkolabxml=ON
$(cmake_use_find_package speech Qt6TextToSpeech)
)
Expand Down

0 comments on commit 418aecc

Please sign in to comment.