The SnapdConfig.cmake produced by snapd-glib build in your PPA is indeed
shiping with the wrong library name.

Should be as far as I can see, s/snapd-qt-2/libsnapd-qt-2 at least for
the library path and soname?

*** file contents ***

# SNAPD_INCLUDE_DIRS - The snapd-qt include directories
# SNAPD_LIBRARIES - The libraries needed to use snapd-qt

set(SNAPD_LIBRARIES /usr/lib/x86_64-linux-gnu/snapd-qt-2.so)
set(SNAPD_INCLUDE_DIRS /usr/include/snapd-qt-2/)

add_library(Snapd::Core SHARED IMPORTED)
set_target_properties(Snapd::Core PROPERTIES
  IMPORTED_LINK_DEPENDENT_LIBRARIES "Qt5::Core"
  IMPORTED_LOCATION "${SNAPD_LIBRARIES}"
  IMPORTED_SONAME "snapd-qt-2.so"
  )

set_property(TARGET Snapd::Core PROPERTY INTERFACE_INCLUDE_DIRECTORIES
${SNAPD_INCLUDE_DIRS})

** Changed in: plasma-discover (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to plasma-discover in Ubuntu.
Matching subscriptions: plasma-discover
https://bugs.launchpad.net/bugs/1987524

Title:
  plasma-discover fails to build from source with snapd-glib 1.62

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/plasma-discover/+bug/1987524/+subscriptions


-- 
kubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to