qt5enginio: fix version for qt5 5.6.1-1 update
[buildroot-gz.git] / package / qt5 / qt5enginio / qt5enginio.mk
blob51cc5b4165388c8e239603e19407f5d6c5d6503b
1 ################################################################################
3 # qt5enginio
5 ################################################################################
7 # Qt5Enginio does not follow Qt versionning
8 # see https://bugreports.qt.io/browse/QTBUG-50111
9 QT5ENGINIO_VERSION = 1.6.1
10 QT5ENGINIO_SITE = $(QT5_SITE)
11 QT5ENGINIO_SOURCE = qtenginio-opensource-src-$(QT5ENGINIO_VERSION).tar.xz
12 QT5ENGINIO_DEPENDENCIES = openssl qt5base
13 QT5ENGINIO_INSTALL_STAGING = YES
15 ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
16 QT5ENGINIO_LICENSE = GPLv3 or LGPLv2.1 with exception or LGPLv3, GFDLv1.3 (docs)
17 QT5ENGINIO_LICENSE_FILES = LICENSE.GPLv3 LICENSE.LGPLv21 LGPL_EXCEPTION.txt LICENSE.LGPLv3 LICENSE.FDL
18 else
19 QT5ENGINIO_LICENSE = Commercial license
20 QT5ENGINIO_REDISTRIBUTE = NO
21 endif
23 ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y)
24 QT5ENGINIO_DEPENDENCIES += qt5declarative
25 endif
27 define QT5ENGINIO_CONFIGURE_CMDS
28 (cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
29 endef
31 define QT5ENGINIO_BUILD_CMDS
32 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
33 endef
35 define QT5ENGINIO_INSTALL_STAGING_CMDS
36 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
37 $(QT5_LA_PRL_FILES_FIXUP)
38 endef
40 ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y)
41 define QT5ENGINIO_INSTALL_TARGET_QMLS
42 cp -dpfr $(STAGING_DIR)/usr/qml/Enginio $(TARGET_DIR)/usr/qml/
43 endef
44 endif
46 ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
47 define QT5ENGINIO_INSTALL_TARGET_EXAMPLES
48 cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/enginio $(TARGET_DIR)/usr/lib/qt/examples/
49 endef
50 endif
52 ifneq ($(BR2_STATIC_LIBS),y)
53 define QT5ENGINIO_INSTALL_TARGET_LIBS
54 cp -dpf $(STAGING_DIR)/usr/lib/libEnginio.so.* $(TARGET_DIR)/usr/lib
55 endef
56 endif
58 define QT5ENGINIO_INSTALL_TARGET_CMDS
59 $(QT5ENGINIO_INSTALL_TARGET_LIBS)
60 $(QT5ENGINIO_INSTALL_TARGET_QMLS)
61 $(QT5ENGINIO_INSTALL_TARGET_EXAMPLES)
62 endef
64 $(eval $(generic-package))