This also fixes the version in the .pc file.
BUG 390225
FIXED-IN: 5.55
cfeck |
Build System |
This also fixes the version in the .pc file.
BUG 390225
FIXED-IN: 5.55
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
I tested this, it indeed fixes 390225
Withoug this patch, generated pkgconfig file was:
prefix=/usr exec_prefix=bin libdir=lib/x86_64-linux-gnu includedir=include Name: libKActivities Description: libKActivities is a C++ library for using KDE activities URL: http://www.kde.org Requires: Qt5Core Version: Libs: -Llib/x86_64-linux-gnu -lKF5Activities Cflags: -Iinclude
With this, version field is filled in and full paths are specified:
Name: libKActivities Description: libKActivities is a C++ library for using KDE activities Version: 5.54.0 Libs: -L/usr/lib/x86_64-linux-gnu -llibKActivities Cflags: -I/usr/include/libKActivities Requires: Qt5Core
So, +1
This seems wrong to me, the library is called KF5Activities and not libKActivities.
Cflags: -I/usr/include/libKActivities
Ditto.
mmh, right, and ECMGeneratePkgConfigFile doesn't understand why the Name: and the library name should be different. I'm reverting and just fixing the version in the .pc.cmake file.