Patchwork [v2,3/4] qt: define license

login
register
mail settings
Submitter Luca Ceresoli
Date Feb. 7, 2013, 9:02 p.m.
Message ID <1360270956-8896-3-git-send-email-luca@lucaceresoli.net>
Download mbox | patch
Permalink /patch/218992/
State Accepted
Commit e98a621323b2c30804351f8999f0a6c5b4419cbe
Headers show

Comments

Luca Ceresoli - Feb. 7, 2013, 9:02 p.m.
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
---
Changed since v1:
 - automagically add commercial license (Thomas/Arnout suggestion).

 package/qt/qt.mk |    6 ++++++
 1 file changed, 6 insertions(+)

Patch

diff --git a/package/qt/qt.mk b/package/qt/qt.mk
index ee1a88b..2838070 100644
--- a/package/qt/qt.mk
+++ b/package/qt/qt.mk
@@ -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