summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-18 17:03:04 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-18 23:14:51 +0000
commit6107be140fdec204586850ea1f7e4b968be7670b (patch)
tree0c12daad5c95c27e35499b5e70f01fc36b85d297 /conf
parent73d84b7f1fbf99c0db30c8ffe4c270e2803203fd (diff)
downloadmeta-gplv2-6107be140fdec204586850ea1f7e4b968be7670b.tar.gz
shared-mime-info: Add 1.10 from OE-Core3.1_M2
Later versions of shared-mime-info need itstool which is GPLv3. Add an old version of shared-mime-info to allow gplv3 free builds to suceed. Use python to set PREFERRED_VERSION based on INCOMPATIBLE_LICENSE to control this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'conf')
-rw-r--r--conf/layer.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/layer.conf b/conf/layer.conf
index 0d46e11..3cd88dc 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -17,3 +17,6 @@ LAYERDEPENDS_gplv2 = "core"
17LAYERSERIES_COMPAT_gplv2 = "zeus" 17LAYERSERIES_COMPAT_gplv2 = "zeus"
18 18
19LICENSE_PATH += "${LAYERDIR}/licenses" 19LICENSE_PATH += "${LAYERDIR}/licenses"
20
21PREFERRED_VERSION_shared-mime-info = "${@['', '1.10']['GPLV3' in (d.getVar('INCOMPATIBLE_LICENSE') or '').upper()]}"
22PREFERRED_VERSION_shared-mime-info-native = "${@['', '1.10']['GPLV3' in (d.getVar('INCOMPATIBLE_LICENSE') or '').upper()]}"