qt5quickcontrols: update license file names for Qt 5.6 version
authorLaurent Hartanerot <laurent.hartanerot@atos.net>
Wed, 29 Aug 2018 11:05:17 +0000 (13:05 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 29 Aug 2018 20:37:47 +0000 (22:37 +0200)
Signed-off-by: Laurent Hartanerot <laurent.hartanerot@atos.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/qt5/qt5quickcontrols/qt5quickcontrols.mk

index 6e551d5a2702ae3268398f4a3c90787e68b6594d..3e0c5effb332fb5cad06df6392d50f1ce1309e04 100644 (file)
@@ -11,7 +11,12 @@ QT5QUICKCONTROLS_DEPENDENCIES = qt5base qt5declarative
 QT5QUICKCONTROLS_INSTALL_STAGING = YES
 
 QT5QUICKCONTROLS_LICENSE = GPL-2.0 or GPL-3.0 or LGPL-3.0, GFDL-1.3 (docs)
+
+ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
 QT5QUICKCONTROLS_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.LGPL3 LICENSE.FDL
+else
+QT5QUICKCONTROLS_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.LGPLv3 LICENSE.FDL
+endif
 
 define QT5QUICKCONTROLS_CONFIGURE_CMDS
        (cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/bin/qmake)