1 ################################################################################
5 ################################################################################
7 QT5QUICKCONTROLS2_VERSION
= $(QT5_VERSION
)
8 QT5QUICKCONTROLS2_SITE
= $(QT5_SITE
)
9 QT5QUICKCONTROLS2_SOURCE
= qtquickcontrols2-opensource-src-
$(QT5QUICKCONTROLS2_VERSION
).
tar.xz
10 QT5QUICKCONTROLS2_DEPENDENCIES
= qt5base qt5declarative
11 QT5QUICKCONTROLS2_INSTALL_STAGING
= YES
13 ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED
),y
)
14 QT5QUICKCONTROLS2_LICENSE
= GPLv3 or LGPLv3
, GFDLv1.3
(docs
)
15 QT5QUICKCONTROLS2_LICENSE_FILES
= LICENSE.GPLv3 LICENSE.LGPLv3 LICENSE.FDL
17 QT5QUICKCONTROLS2_LICENSE
= Commercial license
18 QT5QUICKCONTROLS2_REDISTRIBUTE
= NO
21 define QT5QUICKCONTROLS2_CONFIGURE_CMDS
22 (cd
$(@D
); $(TARGET_MAKE_ENV
) $(HOST_DIR
)/usr
/bin
/qmake
)
25 define QT5QUICKCONTROLS2_BUILD_CMDS
26 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
)
29 define QT5QUICKCONTROLS2_INSTALL_STAGING_CMDS
30 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
) install
33 ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES
),y
)
34 define QT5QUICKCONTROLS2_INSTALL_TARGET_EXAMPLES
35 cp
-dpfr
$(STAGING_DIR
)/usr
/lib
/qt
/examples
/quickcontrols2
$(TARGET_DIR
)/usr
/lib
/qt
/examples
/
39 ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST
),y
)
40 define QT5QUICKCONTROLS2_INSTALL_TARGET_CMDS
41 cp
-dpf
$(STAGING_DIR
)/usr
/lib
/libQt5QuickTemplates2.so.
* $(TARGET_DIR
)/usr
/lib
42 cp
-dpf
$(STAGING_DIR
)/usr
/lib
/libQt5QuickControls2.so.
* $(TARGET_DIR
)/usr
/lib
43 cp
-dpfr
$(STAGING_DIR
)/usr
/qml
/Qt
/labs
/calendar
$(TARGET_DIR
)/usr
/qml
/Qt
/labs
44 cp
-dpfr
$(STAGING_DIR
)/usr
/qml
/Qt
/labs
/platform
$(TARGET_DIR
)/usr
/qml
/Qt
/labs
45 cp
-dpfr
$(STAGING_DIR
)/usr
/qml
/QtQuick
/Controls
.2 $(TARGET_DIR
)/usr
/qml
/QtQuick
46 cp
-dpfr
$(STAGING_DIR
)/usr
/qml
/QtQuick
/Templates
.2 $(TARGET_DIR
)/usr
/qml
/QtQuick
47 $(QT5QUICKCONTROLS2_INSTALL_TARGET_EXAMPLES
)
50 define QT5QUICKCONTROLS2_INSTALL_TARGET_CMDS
51 cp
-dpf
$(STAGING_DIR
)/usr
/lib
/libQt5LabsTemplates.so.
* $(TARGET_DIR
)/usr
/lib
52 cp
-dpfr
$(STAGING_DIR
)/usr
/qml
/Qt
/labs
/controls
$(TARGET_DIR
)/usr
/qml
/Qt
/labs
53 cp
-dpfr
$(STAGING_DIR
)/usr
/qml
/Qt
/labs
/calendar
$(TARGET_DIR
)/usr
/qml
/Qt
/labs
54 cp
-dpfr
$(STAGING_DIR
)/usr
/qml
/Qt
/labs
/templates
$(TARGET_DIR
)/usr
/qml
/Qt
/labs
55 $(QT5QUICKCONTROLS2_INSTALL_TARGET_EXAMPLES
)
59 $(eval
$(generic-package
))