[meta-oe][PATCH] wxwidgets: use non-deprecated SPDX license expression

Khem Raj <[email protected]>
Newsgroups org.openembedded.lists.openembedded-devel
Message-ID <[email protected]>
SPDX has deprecated the "wxWindows" license identifier in favour of an
expression combining the main license, the WITH operator and the
WxWindows-exception-3.1 identifier.

The wxWindows Library Licence is the GNU Library GPL v2 "or, at your
option, any later version" plus an exception, so the equivalent
expression is "LGPL-2.0-or-later WITH WxWindows-exception-3.1". Both
license texts already ship in common-licenses.

Signed-off-by: Khem Raj <[email protected]>
---
 meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.8.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.8.1.bb b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.8.1.bb
index 2f96662244..f87744b48e 100644
--- a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.8.1.bb
+++ b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.8.1.bb
@@ -6,7 +6,7 @@ BUGTRACKER = "https://trac.wxwidgets.org/"
 # WXwindows licence is a modified version of LGPL explicitly allowing not
 # distributing the sources of an application using the library even in the
 # case of static linking.
-LICENSE = "wxWindows"
+LICENSE = "LGPL-2.0-or-later WITH WxWindows-exception-3.1"
 LIC_FILES_CHKSUM = "file://docs/licence.txt;md5=981f50a934828620b08f44d75db557c6"

 inherit ${@bb.utils.contains('PACKAGECONFIG', 'qt', 'cmake_qt5', 'cmake', d)}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.