1 ################################################################################
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
19 QT5ENGINIO_LICENSE
= Commercial license
20 QT5ENGINIO_REDISTRIBUTE
= NO
23 ifeq ($(BR2_PACKAGE_QT5DECLARATIVE
),y
)
24 QT5ENGINIO_DEPENDENCIES
+= qt5declarative
27 define QT5ENGINIO_CONFIGURE_CMDS
28 (cd
$(@D
); $(TARGET_MAKE_ENV
) $(HOST_DIR
)/usr
/bin
/qmake
)
31 define QT5ENGINIO_BUILD_CMDS
32 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
)
35 define QT5ENGINIO_INSTALL_STAGING_CMDS
36 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
) install
37 $(QT5_LA_PRL_FILES_FIXUP
)
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
/
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
/
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
58 define QT5ENGINIO_INSTALL_TARGET_CMDS
59 $(QT5ENGINIO_INSTALL_TARGET_LIBS
)
60 $(QT5ENGINIO_INSTALL_TARGET_QMLS
)
61 $(QT5ENGINIO_INSTALL_TARGET_EXAMPLES
)
64 $(eval
$(generic-package
))