Add buildroot 2018-02
This commit is contained in:
44
buildroot/package/qt5/qt5tools/Config.in
Normal file
44
buildroot/package/qt5/qt5tools/Config.in
Normal file
@@ -0,0 +1,44 @@
|
||||
config BR2_PACKAGE_QT5TOOLS
|
||||
bool "qt5tools"
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
developers using C++.
|
||||
|
||||
Qt Tools provides tools facilitate the development
|
||||
and design of applications.
|
||||
|
||||
http://doc.qt.io/qt-5/qtmodules.html#qt-tools
|
||||
|
||||
if BR2_PACKAGE_QT5TOOLS
|
||||
|
||||
config BR2_PACKAGE_QT5TOOLS_LINGUIST_TOOLS
|
||||
bool "Linguist host tools (lconvert, lrelease, lupdate)"
|
||||
help
|
||||
This option enables the linguist host tools
|
||||
lconvert, lrelease and lupdate.
|
||||
|
||||
config BR2_PACKAGE_QT5TOOLS_PIXELTOOL
|
||||
bool "pixeltool"
|
||||
select BR2_PACKAGE_QT5BASE_GUI
|
||||
select BR2_PACKAGE_QT5BASE_WIDGETS
|
||||
select BR2_PACKAGE_QT5BASE_PNG # saving png images
|
||||
help
|
||||
Compile and install the pixeltool program.
|
||||
|
||||
config BR2_PACKAGE_QT5TOOLS_QTDIAG
|
||||
bool "qtdiag"
|
||||
select BR2_PACKAGE_QT5BASE_GUI
|
||||
help
|
||||
Compile and install the qtdiag program.
|
||||
|
||||
config BR2_PACKAGE_QT5TOOLS_QTPATHS
|
||||
bool "qtpaths"
|
||||
help
|
||||
Compile and install the qtpaths program.
|
||||
|
||||
config BR2_PACKAGE_QT5TOOLS_QTPLUGININFO
|
||||
bool "qtplugininfo"
|
||||
help
|
||||
Compile and install the qtplugininfo program.
|
||||
|
||||
endif
|
||||
16
buildroot/package/qt5/qt5tools/qt5tools.hash
Normal file
16
buildroot/package/qt5/qt5tools/qt5tools.hash
Normal file
@@ -0,0 +1,16 @@
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.6/5.6.3/submodules/qttools-opensource-src-5.6.3.tar.xz.mirrorlist
|
||||
sha256 1a63ba838058d73cb540040589b235ded77f76402693decfd6d4d3c75ea67926 qttools-opensource-src-5.6.3.tar.xz
|
||||
|
||||
# Hash from: https://download.qt.io/official_releases/qt/5.9/5.9.4/submodules/qttools-opensource-src-5.9.4.tar.xz.mirrorlist
|
||||
sha256 95aa5782d5a79be22fba36cea4dc2319cf2a2060a3cc1e24e6585b8d98996e87 qttools-opensource-src-5.9.4.tar.xz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3
|
||||
sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT
|
||||
sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3
|
||||
sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL
|
||||
sha256 8ab0b8fe7c8e580e8c571b8fa455baf307e9394d4b3ac53ce50d8e960a8934c5 LICENSE.GPLv3
|
||||
sha256 66f6bb53f6d985a4d651bf1ecfe8bbcbe32b0f744708d588f047580ee85d8ec8 LICENSE.LGPLv21
|
||||
sha256 438c1f9a2b256e47dac33249f2ad6d4a9df643f1ec5312216d528a2f7ad82084 LGPL_EXCEPTION.txt
|
||||
sha256 68afaf3392f8c04218fbf29db43cc0b18bf651c1db086556aa584046de9f3e35 LICENSE.LGPLv3
|
||||
66
buildroot/package/qt5/qt5tools/qt5tools.mk
Normal file
66
buildroot/package/qt5/qt5tools/qt5tools.mk
Normal file
@@ -0,0 +1,66 @@
|
||||
################################################################################
|
||||
#
|
||||
# qt5tools
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QT5TOOLS_VERSION = $(QT5_VERSION)
|
||||
QT5TOOLS_SITE = $(QT5_SITE)
|
||||
QT5TOOLS_SOURCE = qttools-opensource-src-$(QT5TOOLS_VERSION).tar.xz
|
||||
|
||||
QT5TOOLS_DEPENDENCIES = qt5base
|
||||
QT5TOOLS_INSTALL_STAGING = YES
|
||||
|
||||
# linguist tools compile conditionally on qtHaveModule(qmldevtools-private),
|
||||
# but the condition is used only used to decide if lupdate will support
|
||||
# parsing qml files (via setting QT_NO_QML define), no linking against
|
||||
# target qt5 will happen
|
||||
ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y)
|
||||
QT5TOOLS_DEPENDENCIES += qt5declarative
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
||||
QT5TOOLS_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs)
|
||||
QT5TOOLS_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL
|
||||
else
|
||||
QT5TOOLS_LICENSE = GPL-3.0 or LGPL-2.1 with exception or LGPL-3.0, GFDL-1.3 (docs)
|
||||
QT5TOOLS_LICENSE_FILES = LICENSE.GPLv3 LICENSE.LGPLv21 LGPL_EXCEPTION.txt LICENSE.LGPLv3 LICENSE.FDL
|
||||
endif
|
||||
|
||||
QT5TOOLS_BUILD_DIRS_$(BR2_PACKAGE_QT5TOOLS_LINGUIST_TOOLS) += \
|
||||
linguist/lconvert linguist/lrelease linguist/lupdate
|
||||
ifeq ($(BR2_PACKAGE_QT5TOOLS_LINGUIST_TOOLS),y)
|
||||
# use install target to copy cmake module files
|
||||
define QT5TOOLS_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src/linguist install
|
||||
endef
|
||||
endif
|
||||
|
||||
QT5TOOLS_BUILD_DIRS_$(BR2_PACKAGE_QT5TOOLS_PIXELTOOL) += pixeltool
|
||||
QT5TOOLS_INSTALL_TARGET_$(BR2_PACKAGE_QT5TOOLS_PIXELTOOL) += pixeltool
|
||||
|
||||
QT5TOOLS_BUILD_DIRS_$(BR2_PACKAGE_QT5TOOLS_QTDIAG) += qtdiag
|
||||
QT5TOOLS_INSTALL_TARGET_$(BR2_PACKAGE_QT5TOOLS_QTDIAG) += qtdiag
|
||||
|
||||
QT5TOOLS_BUILD_DIRS_$(BR2_PACKAGE_QT5TOOLS_QTPATHS) += qtpaths
|
||||
QT5TOOLS_INSTALL_TARGET_$(BR2_PACKAGE_QT5TOOLS_QTPATHS) += qtpaths
|
||||
|
||||
QT5TOOLS_BUILD_DIRS_$(BR2_PACKAGE_QT5TOOLS_QTPLUGININFO) += qtplugininfo
|
||||
QT5TOOLS_INSTALL_TARGET_$(BR2_PACKAGE_QT5TOOLS_QTPLUGININFO) += qtplugininfo
|
||||
|
||||
define QT5TOOLS_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/bin/qmake)
|
||||
endef
|
||||
|
||||
define QT5TOOLS_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) sub-src-qmake_all
|
||||
$(foreach p,$(QT5TOOLS_BUILD_DIRS_y), \
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src/$(p)$(sep))
|
||||
endef
|
||||
|
||||
define QT5TOOLS_INSTALL_TARGET_CMDS
|
||||
$(foreach p,$(QT5TOOLS_INSTALL_TARGET_y), \
|
||||
$(INSTALL) -D -m0755 $(@D)/bin/$(p) $(TARGET_DIR)/usr/bin/$(p)$(sep))
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user