toolchain: bump Codescape IMG MIPS version to 2016.05-06
[buildroot-gz.git] / package / qt5 / qt5imageformats / qt5imageformats.mk
blob921656d0aa5c6e247c93d1761e2a1ac797f556e2
1 ################################################################################
3 # qt5imageformats
5 ################################################################################
7 QT5IMAGEFORMATS_VERSION = $(QT5_VERSION)
8 QT5IMAGEFORMATS_SITE = $(QT5_SITE)
9 QT5IMAGEFORMATS_SOURCE = qtimageformats-opensource-src-$(QT5IMAGEFORMATS_VERSION).tar.xz
10 QT5IMAGEFORMATS_DEPENDENCIES = qt5base
11 QT5IMAGEFORMATS_INSTALL_STAGING = YES
13 ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
14 QT5IMAGEFORMATS_LICENSE = GPLv2 or GPLv3 or LGPLv2.1 with exception or LGPLv3, GFDLv1.3 (docs)
15 QT5IMAGEFORMATS_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.LGPLv21 LGPL_EXCEPTION.txt LICENSE.LGPLv3 LICENSE.FDL
16 else
17 QT5IMAGEFORMATS_LICENSE = Commercial license
18 QT5IMAGEFORMATS_REDISTRIBUTE = NO
19 endif
21 define QT5IMAGEFORMATS_CONFIGURE_CMDS
22 (cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
23 endef
25 define QT5IMAGEFORMATS_BUILD_CMDS
26 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
27 endef
29 define QT5IMAGEFORMATS_INSTALL_STAGING_CMDS
30 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
31 endef
33 ifeq ($(BR2_STATIC_LIBS),)
34 define QT5IMAGEFORMATS_INSTALL_TARGET_CMDS
35 cp -dpf $(STAGING_DIR)/usr/lib/qt/plugins/imageformats/*.so $(TARGET_DIR)/usr/lib/qt/plugins/imageformats/
36 endef
37 endif
39 $(eval $(generic-package))