1 ################################################################################
5 ################################################################################
7 QT5DECLARATIVE_VERSION
= $(QT5_VERSION
)
8 QT5DECLARATIVE_SITE
= $(QT5_SITE
)
9 QT5DECLARATIVE_SOURCE
= qtdeclarative-opensource-src-
$(QT5DECLARATIVE_VERSION
).
tar.xz
10 QT5DECLARATIVE_DEPENDENCIES
= qt5base qt5xmlpatterns
11 QT5DECLARATIVE_INSTALL_STAGING
= YES
13 ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED
),y
)
14 QT5DECLARATIVE_LICENSE
= GPLv3 or LGPLv2.1 with exception or LGPLv3
, GFDLv1.3
(docs
)
15 QT5DECLARATIVE_LICENSE_FILES
= LICENSE.GPLv3 LICENSE.LGPLv21 LGPL_EXCEPTION.txt LICENSE.LGPLv3 LICENSE.FDL
17 QT5DECLARATIVE_LICENSE
= Commercial license
18 QT5DECLARATIVE_REDISTRIBUTE
= NO
21 define QT5DECLARATIVE_CONFIGURE_CMDS
22 (cd
$(@D
); $(TARGET_MAKE_ENV
) $(HOST_DIR
)/usr
/bin
/qmake
)
25 define QT5DECLARATIVE_BUILD_CMDS
26 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
) \
27 sub-src-all sub-tools-all
30 define QT5DECLARATIVE_INSTALL_STAGING_CMDS
31 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
) \
32 sub-src-install_subtargets \
33 sub-tools-install_subtargets
34 $(QT5_LA_PRL_FILES_FIXUP
)
37 ifeq ($(BR2_STATIC_LIBS
),)
39 ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK
),y
)
40 define QT5DECLARATIVE_INSTALL_TARGET_QUICK_LIBS
41 cp
-dpf
$(STAGING_DIR
)/usr
/lib
/libQt5Quick
*.so.
* $(TARGET_DIR
)/usr
/lib
45 define QT5DECLARATIVE_INSTALL_TARGET_LIBS
46 cp
-dpf
$(STAGING_DIR
)/usr
/lib
/libQt5Qml
*.so.
* $(TARGET_DIR
)/usr
/lib
47 cp
-dpfr
$(STAGING_DIR
)/usr
/lib
/qt
/plugins
/qml
* $(TARGET_DIR
)/usr
/lib
/qt
/plugins
48 $(QT5DECLARATIVE_INSTALL_TARGET_QUICK_LIBS
)
53 define QT5DECLARATIVE_INSTALL_TARGET_CMDS
54 cp
-dpf
$(STAGING_DIR
)/usr
/bin
/qml
* $(TARGET_DIR
)/usr
/bin
55 cp
-dpfr
$(STAGING_DIR
)/usr
/qml
$(TARGET_DIR
)/usr
56 $(QT5DECLARATIVE_INSTALL_TARGET_LIBS
)
59 $(eval
$(generic-package
))