aboutsummaryrefslogtreecommitdiff
path: root/tests/ECMGeneratePkgConfigFile/KF5CoreAddons.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/KF5CoreAddons.pc
parent64915e0291cd8ad00fbdf9526977961de8341368 (diff)
downloadextra-cmake-modules-5.41.0-rc1.tar.gz
extra-cmake-modules-5.41.0-rc1.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/KF5CoreAddons.pc')
-rw-r--r--tests/ECMGeneratePkgConfigFile/KF5CoreAddons.pc1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ECMGeneratePkgConfigFile/KF5CoreAddons.pc b/tests/ECMGeneratePkgConfigFile/KF5CoreAddons.pc
index 68e0004d..adfee6fe 100644
--- a/tests/ECMGeneratePkgConfigFile/KF5CoreAddons.pc
+++ b/tests/ECMGeneratePkgConfigFile/KF5CoreAddons.pc
@@ -1,5 +1,6 @@
Name: KF5CoreAddons
+Description: KF5CoreAddons test
Version: 5.43
Libs: -L/usr/lib -lKF5CoreAddons
Cflags: -I/usr/KCoreAddons