xref: /OK3568_Linux_fs/buildroot/package/qt5/qt5script/qt5script.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1################################################################################
2#
3# qt5script
4#
5################################################################################
6
7QT5SCRIPT_VERSION = 5cec94b2c1503f106f4ef4778d016410ebb86211
8QT5SCRIPT_SITE = $(QT5_SITE)/qtscript/-/archive/$(QT5SCRIPT_VERSION)
9QT5SCRIPT_SOURCE = qtscript-$(QT5SCRIPT_VERSION).tar.bz2
10QT5SCRIPT_INSTALL_STAGING = YES
11QT5SCRIPT_SYNC_QT_HEADERS = YES
12
13# JavaScriptCore contains files under BSD-2-Clause, BSD-3-Clause, and LGPL-2+.
14# This is linked into libQt5Script, which also contains Qt sources under
15# LGPL-2.1 (only). Therefore, the library is  LGPL-2.1 and BSD-3-Clause.
16# libQt5ScriptTools is under the normal Qt opensource license.
17QT5SCRIPT_LICENSE = LGPL-2.1, BSD-3-Clause, LGPL-3.0 or GPL-2.0+ (libQt5ScriptTools), GFDL-1.3 (docs)
18# LGPL-2.1 license file is missing
19QT5SCRIPT_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.LGPL3 LICENSE.FDL
20# License files from JavaScriptCore
21QT5SCRIPT_LICENSE_FILES += \
22	src/3rdparty/javascriptcore/JavaScriptCore/COPYING.LIB \
23	src/3rdparty/javascriptcore/JavaScriptCore/pcre/COPYING
24
25$(eval $(qmake-package))
26