Description: fix FTBFS with telepathy-qt 0.9.8
 This patch makes explicit the dependencies in CMake which used to be
 provided transitively. 
Author: Antonio Rojas
Origin: upstream, https://phabricator.kde.org/R145:f030b527c4d390ead78d2e56a1655444f97b5545
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949236
Reviewed-By: John Scott <jscott@posteo.net>
Last-Update: 2020-02-23
Applied-Upstream: 19.11.80, commit:f030b527c4d390ead78d2e56a1655444f97b5545

--- ktp-common-internals-17.08.3.orig/CMakeLists.txt
+++ ktp-common-internals-17.08.3/CMakeLists.txt
@@ -20,8 +20,10 @@ set (KTP_VERSION "${KDE_APPLICATIONS_VER
 set (KTP_MESSAGE_FILTER_FRAMEWORK_VERSION "5")
 
 find_package (Qt5 REQUIRED CONFIG COMPONENTS
+              DBus
               Qml
-              Test)
+              Test
+              Xml)
 
 find_package (KF5 5.11 REQUIRED COMPONENTS
               CoreAddons
--- ktp-common-internals-17.08.3.orig/KTp/CMakeLists.txt
+++ ktp-common-internals-17.08.3/KTp/CMakeLists.txt
@@ -91,6 +91,8 @@ set_target_properties(KTpCommonInternals
 
 target_link_libraries (KTpCommonInternals
                 PUBLIC
+                    Qt5::DBus
+                    Qt5::Xml
                     KF5::Wallet #included from wallet-interface.h
                     ${TELEPATHY_QT5_LIBRARIES}
                 PRIVATE
--- ktp-common-internals-17.08.3.orig/KTp/OTR/CMakeLists.txt
+++ ktp-common-internals-17.08.3/KTp/OTR/CMakeLists.txt
@@ -28,6 +28,7 @@ generate_export_header(KTpOTR)
 
 target_link_libraries (KTpOTR
                         PUBLIC
+                            Qt5::DBus
                             ${TELEPATHY_QT5_LIBRARIES}
                         PRIVATE
                             KF5::I18n
