mauikit-calendar: fix missing dependency specification

This commit is contained in:
K900 2023-04-20 12:41:57 +03:00
parent 449e8cd8d1
commit e61a9650ee
3 changed files with 15 additions and 1 deletions

View file

@ -60,7 +60,7 @@ let
# libraries
mauikit = callPackage ./mauikit.nix { };
mauikit-accounts = callPackage ./mauikit-accounts.nix { };
mauikit-calendar = callPackage ./mauikit-calendar.nix { };
mauikit-calendar = callPackage ./mauikit-calendar { };
mauikit-filebrowsing = callPackage ./mauikit-filebrowsing.nix { };
mauikit-imagetools = callPackage ./mauikit-imagetools.nix { };
mauikit-texteditor = callPackage ./mauikit-texteditor.nix { };

View file

@ -0,0 +1,10 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -89,6 +89,7 @@ set_package_properties(Qt5QuickCompiler PROPERTIES
find_package(MauiKit)
find_package(KF5Akonadi ${AKONADI_VERSION} CONFIG REQUIRED)
+find_package(KF5AkonadiCalendar ${AKONADI_VERSION} CONFIG REQUIRED)
find_package(KF5AkonadiContact ${AKONADI_CONTACT_VERSION} CONFIG REQUIRED)
find_package(KF5CalendarSupport ${CALENDARSUPPORT_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5EventViews ${EVENTVIEW_LIB_VERSION} CONFIG REQUIRED)

View file

@ -6,6 +6,7 @@
, qtquickcontrols2
, akonadi
, akonadi-contacts
, akonadi-calendar
, calendarsupport
, eventviews
}:
@ -13,6 +14,8 @@
mkDerivation {
pname = "mauikit-calendar";
patches = [ ./add-akonadi-calendar.patch ];
nativeBuildInputs = [
cmake
extra-cmake-modules
@ -21,6 +24,7 @@ mkDerivation {
buildInputs = [
akonadi
akonadi-contacts
akonadi-calendar
calendarsupport
eventviews
mauikit