1 ################################################################################
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 ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST
),y
)
15 QT5IMAGEFORMATS_LICENSE
= GPLv2
+ or LGPLv3
, GPLv3 with exception
(tools
), GFDLv1.3
(docs
)
16 QT5IMAGEFORMATS_LICENSE_FILES
= LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.GPL3-EXCEPT LICENSE.LGPLv3 LICENSE.FDL
18 QT5IMAGEFORMATS_LICENSE
= GPLv2 or GPLv3 or LGPLv2.1 with exception or LGPLv3
, GFDLv1.3
(docs
)
19 QT5IMAGEFORMATS_LICENSE_FILES
= LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.LGPLv21 LGPL_EXCEPTION.txt LICENSE.LGPLv3 LICENSE.FDL
22 QT5IMAGEFORMATS_LICENSE
= Commercial license
23 QT5IMAGEFORMATS_REDISTRIBUTE
= NO
26 define QT5IMAGEFORMATS_CONFIGURE_CMDS
27 (cd
$(@D
); $(TARGET_MAKE_ENV
) $(HOST_DIR
)/usr
/bin
/qmake
)
30 define QT5IMAGEFORMATS_BUILD_CMDS
31 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
)
34 define QT5IMAGEFORMATS_INSTALL_STAGING_CMDS
35 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
) install
38 ifeq ($(BR2_STATIC_LIBS
),)
39 define QT5IMAGEFORMATS_INSTALL_TARGET_CMDS
40 cp
-dpf
$(STAGING_DIR
)/usr
/lib
/qt
/plugins
/imageformats
/*.so
$(TARGET_DIR
)/usr
/lib
/qt
/plugins
/imageformats
/
44 $(eval
$(generic-package
))