diff options
Diffstat (limited to 'finance/kmymoney/files/patch-CMakeLists.txt')
-rw-r--r-- | finance/kmymoney/files/patch-CMakeLists.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/finance/kmymoney/files/patch-CMakeLists.txt b/finance/kmymoney/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..c975fa38c63e --- /dev/null +++ b/finance/kmymoney/files/patch-CMakeLists.txt @@ -0,0 +1,22 @@ +Adapt to API changes since kidentitymanagement 24.02.0. + +--- CMakeLists.txt.orig 2025-08-04 11:03:25 UTC ++++ CMakeLists.txt +@@ -224,7 +224,7 @@ if (DEFINED AKONADI_MIN_VERSION) + # for config-kmymoney.h.cmake + set(ADDRESSBOOK_VERSION ${${PIMPREFIX}Akonadi_VERSION}) + endif() +- find_package(${PIMPREFIX}IdentityManagement ${AKONADI_MIN_VERSION} QUIET) ++ find_package(${PIMPREFIX}IdentityManagementCore ${AKONADI_MIN_VERSION} QUIET) + endif() + + find_package(Qt${QT_MAJOR_VERSION}Keychain CONFIG REQUIRED) +@@ -318,7 +318,7 @@ cmake_dependent_option(ENABLE_ADDRESSBOOK "Enable addr + endif() + + cmake_dependent_option(ENABLE_ADDRESSBOOK "Enable addressbook support." ON +- "${PIMPREFIX}IdentityManagement_FOUND;${PIMPREFIX}Akonadi_FOUND;KF${QT_MAJOR_VERSION}Contacts_FOUND" OFF) ++ "${PIMPREFIX}IdentityManagementCore_FOUND;${PIMPREFIX}Akonadi_FOUND;KF${QT_MAJOR_VERSION}Contacts_FOUND" OFF) + + add_feature_info("Address book" ENABLE_ADDRESSBOOK "Allows fetching payee information from KDE PIM system.") + |