[neon/kde/frameworkintegration/Neon/unstable] debian/patches: Update 0001_appstreamqt

Carlos De Maine null at kde.org
Fri Sep 15 08:28:53 BST 2023


Git commit a120a667350fff9dc4b5b11d0dff763589fd463d by Carlos De Maine.
Committed on 15/09/2023 at 09:28.
Pushed by carlosdem into branch 'Neon/unstable'.

Update 0001_appstreamqt

M  +35   -1    debian/patches/0001_appstreamqt

https://invent.kde.org/neon/kde/frameworkintegration/-/commit/a120a667350fff9dc4b5b11d0dff763589fd463d

diff --git a/debian/patches/0001_appstreamqt b/debian/patches/0001_appstreamqt
index 7a4a439..29afdaa 100644
--- a/debian/patches/0001_appstreamqt
+++ b/debian/patches/0001_appstreamqt
@@ -7,7 +7,41 @@ index 7f4b6ae164b9dfa68238570c9a207fdc24637036..deead76e522da51742df0efc3b821be8
  
     find_package(packagekitqt${QT_MAJOR_VERSION})
 -   find_package(AppStreamQt 0.10.4)
-+   find_package(AppStreamQt)
++   find_package(AppStreamQt5)
  endif()
  
  ecm_set_disabled_deprecation_versions(
+
+diff --git a/src/kpackage-install-handlers/CMakeLists.txt b/src/kpackage-install-handlers/CMakeLists.txt
+index d0bf7f0c1e3b49b6440dd1006032a66dd8c8e9fe..a7c126f73b892093b3079dd4bb89da4fd7e7ee7c 100644
+--- a/src/kpackage-install-handlers/CMakeLists.txt
++++ b/src/kpackage-install-handlers/CMakeLists.txt
+@@ -1,5 +1,5 @@
+ add_subdirectory(kns)
+ 
+-if(AppStreamQt_FOUND AND packagekitqt5_FOUND)
++if(AppStreamQt5_FOUND AND packagekitqt5_FOUND)
+     add_subdirectory(appstream)
+ endif()
+diff --git a/src/kpackage-install-handlers/appstream/CMakeLists.txt b/src/kpackage-install-handlers/appstream/CMakeLists.txt
+index 8db1bdb76e16997280026745ae602ffcf60ee520..9552c5f6b89635f42feeb96aa2be35ceb1773a8f 100644
+--- a/src/kpackage-install-handlers/appstream/CMakeLists.txt
++++ b/src/kpackage-install-handlers/appstream/CMakeLists.txt
+@@ -1,3 +1,3 @@
+ add_executable(appstreamhandler main.cpp)
+-target_link_libraries(appstreamhandler PK::packagekitqt5 AppStreamQt)
++target_link_libraries(appstreamhandler PK::packagekitqt5 AppStreamQt5)
+ install(TARGETS appstreamhandler DESTINATION ${KDE_INSTALL_LIBEXECDIR_KF}/kpackagehandlers)
+diff --git a/src/kpackage-install-handlers/appstream/main.cpp b/src/kpackage-install-handlers/appstream/main.cpp
+index 82328f7068228b79f82e085352d3d78733dcd4b5..8bde139b243eb3f42ca10f1005018100e3121f79 100644
+--- a/src/kpackage-install-handlers/appstream/main.cpp
++++ b/src/kpackage-install-handlers/appstream/main.cpp
+@@ -5,7 +5,7 @@
+     SPDX-License-Identifier: LGPL-2.0-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
+ */
+ 
+-#include <AppStreamQt/pool.h>
++#include <AppStreamQt5/pool.h>
+ #include <PackageKit/Daemon>
+ #include <QCoreApplication>
+ #include <QDebug>


More information about the Neon-commits mailing list