File: use-debian-snapd-qt6-package.patch

package info (click to toggle)
plasma-discover 6.3.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 14,128 kB
  • sloc: cpp: 29,350; xml: 2,302; python: 45; sh: 5; makefile: 5
file content (22 lines) | stat: -rw-r--r-- 769 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/libdiscover/backends/CMakeLists.txt
+++ b/libdiscover/backends/CMakeLists.txt
@@ -50,8 +50,8 @@
     message(WARNING "BUILD_FlatpakBackend enabled but Flatpak=${Flatpak_FOUND} or AppStreamQt=${AppStreamQt_FOUND} not found")
 endif()
 
-find_package(Snapd 1.65)
-set_package_properties(Snapd PROPERTIES
+find_package(SnapdQt6 1.65)
+set_package_properties(SnapdQt6 PROPERTIES
     DESCRIPTION "Library that exposes Snapd"
     URL "https://www.snapcraft.io"
     PURPOSE "Required to build the Snap backend"
@@ -64,7 +64,7 @@
 endif()
 
 option(BUILD_SnapBackend "Build Snap support." "ON")
-if (BUILD_SnapBackend AND AppStreamQt_FOUND AND Snapd_FOUND)
+if (BUILD_SnapBackend AND AppStreamQt_FOUND AND SnapdQt6_FOUND)
     add_subdirectory(SnapBackend)
 endif()