summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonrad Weihmann <kweihmann@outlook.com>2022-04-13 17:34:51 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-13 22:23:50 +0100
commit1dea9019f55662526390e9ede0d64edbb0371f2c (patch)
tree7dfbb500d3f381447b5ade405ef1fa1e7ff5cba0
parentc26b8a4fd2aa42ce9daa587e7204dab2266acef3 (diff)
downloadpoky-1dea9019f55662526390e9ede0d64edbb0371f2c.tar.gz
libsdl2: fix license
by default libsdl2 is build with code from src/video/yuv2rgb, which is licensed under BSD-2-Clause. Additional by default hidapi is build, which is licensed under GPL3 | BSD-2-Clause | HIDAPI license, pick the least restrictive and best matching BSD-2-Clause. (From OE-Core rev: a97a1fffe4c89cc0e7fc27cf1d228c444578c6aa) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb9
1 files changed, 7 insertions, 2 deletions
diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb
index 4ba22c1fe6..c1c827af79 100644
--- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb
+++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb
@@ -7,8 +7,13 @@ BUGTRACKER = "http://bugzilla.libsdl.org/"
7 7
8SECTION = "libs" 8SECTION = "libs"
9 9
10LICENSE = "Zlib" 10LICENSE = "Zlib & BSD-2-Clause"
11LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=68a088513da90254b2fbe664f42af315" 11LIC_FILES_CHKSUM = "\
12 file://LICENSE.txt;md5=68a088513da90254b2fbe664f42af315 \
13 file://src/hidapi/LICENSE.txt;md5=7c3949a631240cb6c31c50f3eb696077 \
14 file://src/hidapi/LICENSE-bsd.txt;md5=b5fa085ce0926bb50d0621620a82361f \
15 file://src/video/yuv2rgb/LICENSE;md5=79f8f3418d91531e05f0fc94ca67e071 \
16"
12 17
13# arm-neon adds MIT license 18# arm-neon adds MIT license
14LICENSE:append = " ${@bb.utils.contains('PACKAGECONFIG', 'arm-neon', '& MIT', '', d)}" 19LICENSE:append = " ${@bb.utils.contains('PACKAGECONFIG', 'arm-neon', '& MIT', '', d)}"