The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / qt5 / qt5svg / qt5svg.mk
1 ################################################################################
2 #
3 # qt5svg
4 #
5 ################################################################################
6
7 QT5SVG_VERSION = $(QT5_VERSION)
8 QT5SVG_SITE = $(QT5_SITE)
9 QT5SVG_SOURCE = qtsvg-opensource-src-$(QT5SVG_VERSION).tar.xz
10 QT5SVG_DEPENDENCIES = qt5base
11 QT5SVG_INSTALL_STAGING = YES
12
13 ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
14 QT5SVG_LICENSE = LGPLv2.1 with exception or LGPLv3 or GPLv2
15 QT5SVG_LICENSE_FILES = LICENSE.LGPLv21 LGPL_EXCEPTION.txt LICENSE.LGPLv3 LICENSE.GPLv2
16 else
17 QT5SVG_LICENSE = Commercial license
18 QT5SVG_REDISTRIBUTE = NO
19 endif
20
21 define QT5SVG_CONFIGURE_CMDS
22         (cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
23 endef
24
25 define QT5SVG_BUILD_CMDS
26         $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
27 endef
28
29 define QT5SVG_INSTALL_STAGING_CMDS
30         $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
31         $(QT5_LA_PRL_FILES_FIXUP)
32 endef
33
34 ifeq ($(BR2_PACKAGE_QT5BASE_WIDGETS),y)
35 define QT5SVG_INSTALL_ICONENGINES
36         cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/iconengines $(TARGET_DIR)/usr/lib/qt/plugins
37 endef
38 endif
39
40 ifeq ($(BR2_STATIC_LIBS),)
41 define QT5SVG_INSTALL_TARGET_CMDS
42         cp -dpf $(STAGING_DIR)/usr/lib/libQt5Svg*.so.* $(TARGET_DIR)/usr/lib
43         cp -dpf $(STAGING_DIR)/usr/lib/qt/plugins/imageformats/libqsvg.so $(TARGET_DIR)/usr/lib/qt/plugins/imageformats/
44         $(QT5SVG_INSTALL_ICONENGINES)
45 endef
46 endif
47
48 $(eval $(generic-package))