Package: libmygpo-qt-dev
Version: 1.0.9~git20151122-1
Severity: important
Tags: patch
Control: block 655362 by -1

Hi,

libmygpo-qt-dev ships configuration files for cmake, so that doing

  find_package(Mygpo-qt)
  ..
  include_directories(${LIBMYGPO_QT_INCLUDE_DIRS})
  ..
  target_link_libraries(myapp ${LIBMYGPO_QT_LIBRARIES})

works -- or at least, it should wihout fail when linking.
The problem is that the Mygpo-qtTargets-${BUILD_TYPE}.cmake config file
for cmake, correctly installed by the upstream build system, is not
shipped in libmygpo-qt-dev, and thus the "mygpo-qt" imported library
target cannot be loaded.

Attached there is a simple patch for libmygpo-qt-dev.install, to
install the missing file, no matter what is the build type set in cmake.
I'd like to enable the gpodder.net integration in amarok (#655362),
but this bug causes build issues.

PS: please make use of --list-missing/--fail-missing for dh_install,
so nothing installed by the upstream build system is silently missing
again.

Thanks,
-- 
Pino
--- a/debian/libmygpo-qt-dev.install
+++ b/debian/libmygpo-qt-dev.install
@@ -4,3 +4,4 @@ usr/lib/*/libmygpo-qt.so
 usr/lib/*/cmake/mygpo-qt/Mygpo-qtConfig.cmake
 usr/lib/*/cmake/mygpo-qt/Mygpo-qtTargets.cmake
 usr/lib/*/cmake/mygpo-qt/Mygpo-qtConfigVersion.cmake
+usr/lib/*/cmake/mygpo-qt/Mygpo-qtTargets-*.cmake

Reply via email to