aboutsummaryrefslogtreecommitdiff
path: root/tests/ECMGeneratePkgConfigFile/metainfo_with_description.yaml
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/metainfo_with_description.yaml
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/metainfo_with_description.yaml')
-rw-r--r--tests/ECMGeneratePkgConfigFile/metainfo_with_description.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/ECMGeneratePkgConfigFile/metainfo_with_description.yaml b/tests/ECMGeneratePkgConfigFile/metainfo_with_description.yaml
new file mode 100644
index 00000000..0c0d33ff
--- /dev/null
+++ b/tests/ECMGeneratePkgConfigFile/metainfo_with_description.yaml
@@ -0,0 +1,21 @@
+maintainer: mpyne
+description: Addons to QtCore
+tier: 1
+type: functional
+platforms:
+ - name: Linux
+ - name: FreeBSD
+ - name: Windows
+ - name: MacOSX
+ - name: Android
+portingAid: false
+deprecated: false
+release: true
+libraries:
+ - qmake: KCoreAddons
+ cmake: "KF5::CoreAddons"
+cmakename: KF5CoreAddons
+
+public_lib: true
+group: Frameworks
+subgroup: Tier 1