package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / qt5 / qt5quick1 / qt5quick1.mk
blob7ccf644062d441faf0ac6b132a2eea3e43829a3d
1 ################################################################################
3 # qt5quick1
5 ################################################################################
7 QT5QUICK1_VERSION = $(QT5_VERSION)
8 QT5QUICK1_SITE = $(QT5_SITE)
9 QT5QUICK1_SOURCE = qtquick1-opensource-src-$(QT5QUICK1_VERSION).tar.xz
10 QT5QUICK1_DEPENDENCIES = qt5base qt5xmlpatterns qt5script \
11 $(if $(BR2_PACKAGE_QT5WEBKIT),qt5webkit)
12 QT5QUICK1_INSTALL_STAGING = YES
14 ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
15 QT5QUICK1_LICENSE = LGPLv2.1 with exception or LGPLv3 or GPLv2
16 QT5QUICK1_LICENSE_FILES = LICENSE.LGPLv21 LGPL_EXCEPTION.txt LICENSE.LGPLv3 LICENSE.GPLv2
17 else
18 QT5QUICK1_LICENSE = Commercial license
19 QT5QUICK1_REDISTRIBUTE = NO
20 endif
22 define QT5QUICK1_CONFIGURE_CMDS
23 (cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
24 endef
26 define QT5QUICK1_BUILD_CMDS
27 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
28 endef
30 define QT5QUICK1_INSTALL_STAGING_CMDS
31 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
32 $(QT5_LA_PRL_FILES_FIXUP)
33 endef
35 define QT5QUICK1_INSTALL_TARGET_CMDS
36 cp -dpf $(STAGING_DIR)/usr/lib/libQt5Declarative.so.* $(TARGET_DIR)/usr/lib
37 cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/qml1tooling $(TARGET_DIR)/usr/lib/qt/plugins/
38 cp -dpfr $(STAGING_DIR)/usr/imports $(TARGET_DIR)/usr
39 endef
41 $(eval $(generic-package))