qt: define license
authorLuca Ceresoli <luca@lucaceresoli.net>
Thu, 7 Feb 2013 11:02:35 +0000 (11:02 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 2 May 2013 21:53:07 +0000 (23:53 +0200)
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/qt/qt.mk

index bd3dd338ee9720baee120a33a6c6edc45de705d3..93d2ed04516b4c5b9488144cf8ef048d043d4ba7 100644 (file)
@@ -17,6 +17,12 @@ QT_SITE    = http://releases.qt-project.org/qt4/source
 QT_DEPENDENCIES = host-pkgconf
 QT_INSTALL_STAGING = YES
 
+QT_LICENSE = LGPLv2.1 with exceptions or GPLv3
+ifneq ($(BR2_PACKAGE_QT_LICENSE_APPROVED),y)
+QT_LICENSE += or Digia Qt Commercial license
+endif
+QT_LICENSE_FILES = LICENSE.LGPL LGPL_EXCEPTION.txt LICENSE.GPL3
+
 ifeq ($(BR2_PACKAGE_QT_LICENSE_APPROVED),y)
 QT_CONFIGURE_OPTS += -opensource -confirm-license
 endif