diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-18 17:03:04 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-18 23:14:51 +0000 |
commit | 6107be140fdec204586850ea1f7e4b968be7670b (patch) | |
tree | 0c12daad5c95c27e35499b5e70f01fc36b85d297 /conf | |
parent | 73d84b7f1fbf99c0db30c8ffe4c270e2803203fd (diff) | |
download | meta-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.conf | 3 |
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" | |||
17 | LAYERSERIES_COMPAT_gplv2 = "zeus" | 17 | LAYERSERIES_COMPAT_gplv2 = "zeus" |
18 | 18 | ||
19 | LICENSE_PATH += "${LAYERDIR}/licenses" | 19 | LICENSE_PATH += "${LAYERDIR}/licenses" |
20 | |||
21 | PREFERRED_VERSION_shared-mime-info = "${@['', '1.10']['GPLV3' in (d.getVar('INCOMPATIBLE_LICENSE') or '').upper()]}" | ||
22 | PREFERRED_VERSION_shared-mime-info-native = "${@['', '1.10']['GPLV3' in (d.getVar('INCOMPATIBLE_LICENSE') or '').upper()]}" | ||