aboutsummaryrefslogtreecommitdiff
path: root/tests/ECMGeneratePkgConfigFile/KF5CoreAddons2.pc
diff options
context:
space:
mode:
authorChristophe Giboudeaux <christophe@krop.fr>2017-11-29 16:31:42 +0100
committerChristophe Giboudeaux <christophe@krop.fr>2017-11-30 08:42:14 +0100
commitfd60f2b893d0b07f96f0fd715109cbd8d4e66140 (patch)
tree943e0ff49b4ed2a8b28d3907b3d0ef56ebd427e6 /tests/ECMGeneratePkgConfigFile/KF5CoreAddons2.pc
parent64915e0291cd8ad00fbdf9526977961de8341368 (diff)
downloadextra-cmake-modules-fd60f2b893d0b07f96f0fd715109cbd8d4e66140.tar.gz
extra-cmake-modules-fd60f2b893d0b07f96f0fd715109cbd8d4e66140.tar.bz2
Add the description tag to the generated pkgconfig filesv5.41.0-rc1v5.41.0
Summary: pkgconfig complains when the .pc file doesn't have a description. eg: $ pkg-config Baloo Package 'Baloo' has no Description: field With this change, if the DESCRIPTION parameter is not used, ECM_GENERATE_PKGCONFIG_FILE will : - First look if there's a metainfo.yaml file and get the description from there - If the file doesn't exist, or if the description tag is empty or non-existent, create a description based on the LIB_NAME value Test Plan: Tests added & pass Reviewers: dfaure, apol Reviewed By: dfaure Subscribers: #frameworks, #build_system Tags: #frameworks, #build_system Differential Revision: https://phabricator.kde.org/D9056
Diffstat (limited to 'tests/ECMGeneratePkgConfigFile/KF5CoreAddons2.pc')
-rw-r--r--tests/ECMGeneratePkgConfigFile/KF5CoreAddons2.pc7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ECMGeneratePkgConfigFile/KF5CoreAddons2.pc b/tests/ECMGeneratePkgConfigFile/KF5CoreAddons2.pc
new file mode 100644
index 00000000..132a7aaa
--- /dev/null
+++ b/tests/ECMGeneratePkgConfigFile/KF5CoreAddons2.pc
@@ -0,0 +1,7 @@
+
+Name: KF5CoreAddons2
+Description: Addons to QtCore
+Version: 5.43
+Libs: -L/usr/lib -lKF5CoreAddons2
+Cflags: -I/usr/KCoreAddons
+Requires: Qt5Core