summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonrad Weihmann <kweihmann@outlook.com>2022-04-13 17:34:53 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-13 22:23:50 +0100
commitf79e8e7f9a17063d7405084ccf0fc303076551a6 (patch)
tree91ccdbcacd03281c740410ec147c5a1792ef0ce5
parentd52df956cb1e340e305250b5cb70a72089756ae5 (diff)
downloadpoky-f79e8e7f9a17063d7405084ccf0fc303076551a6.tar.gz
gettext: add MIT conditional as license
depending on the actual PACKAGECONFIG some internal vendor copies of libxml, libcroco and glib will be used. In the case of libxml this adds MIT to the license. Reference the license statements based on the actual choosen PACKAGECONFIG (From OE-Core rev: 7c8718cdeb65525a588d8b80109bbc1cb6415235) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/gettext/gettext_0.21.bb9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/recipes-core/gettext/gettext_0.21.bb b/meta/recipes-core/gettext/gettext_0.21.bb
index 30c1955d86..364e6a52a1 100644
--- a/meta/recipes-core/gettext/gettext_0.21.bb
+++ b/meta/recipes-core/gettext/gettext_0.21.bb
@@ -8,6 +8,15 @@ SECTION = "libs"
8LICENSE = "GPL-3.0-or-later & LGPL-2.1-or-later" 8LICENSE = "GPL-3.0-or-later & LGPL-2.1-or-later"
9LIC_FILES_CHKSUM = "file://COPYING;md5=c678957b0c8e964aa6c70fd77641a71e" 9LIC_FILES_CHKSUM = "file://COPYING;md5=c678957b0c8e964aa6c70fd77641a71e"
10 10
11# without libxml in PACKAGECONFIG vendor copy of the lib will be used
12LICENSE:append = " ${@bb.utils.contains('PACKAGECONFIG', 'libxml', '', '& MIT', d)}"
13LIC_FILES_CHKSUM:append = " ${@bb.utils.contains('PACKAGECONFIG', 'libxml', '', 'file://libtextstyle/lib/libxml/COPYING;md5=2044417e2e5006b65a8b9067b683fcf1', d)}"
14# without croco in PACKAGECONFIG vendor copy of the lib will be used
15LIC_FILES_CHKSUM:append = " ${@bb.utils.contains('PACKAGECONFIG', 'croco', '', 'file://libtextstyle/lib/libcroco/libcroco.h;md5=915a46e7307c2f7f8d2b9c503fc434ed;beginline=10;endline=28', d)}"
16# without glib in PACKAGECONFIG vendor copy of the lib will be used
17LIC_FILES_CHKSUM:append = " ${@bb.utils.contains('PACKAGECONFIG', 'glib', '', 'file://libtextstyle/lib/glib/ghash.c;md5=af89a160226edf0b276b6183888037d0;beginline=10;endline=27', d)}"
18
19
11DEPENDS = "gettext-native virtual/libiconv" 20DEPENDS = "gettext-native virtual/libiconv"
12DEPENDS:class-native = "gettext-minimal-native" 21DEPENDS:class-native = "gettext-minimal-native"
13PROVIDES = "virtual/libintl virtual/gettext" 22PROVIDES = "virtual/libintl virtual/gettext"