2016-08-22 20:52:34 +01:00
|
|
|
# This file is part of MXE. See LICENSE.md for licensing information.
|
2012-12-19 22:53:14 +00:00
|
|
|
|
|
|
|
PKG := qttools
|
2017-03-04 10:33:47 +00:00
|
|
|
$(PKG)_WEBSITE := https://www.qt.io/
|
2016-12-18 05:43:56 +00:00
|
|
|
$(PKG)_DESCR := Qt
|
2012-12-19 22:53:14 +00:00
|
|
|
$(PKG)_IGNORE :=
|
2013-10-14 22:15:31 +01:00
|
|
|
$(PKG)_VERSION = $(qtbase_VERSION)
|
2020-09-09 09:07:58 +01:00
|
|
|
$(PKG)_CHECKSUM := c98ee5f0f980bf68cbf0c94d62434816a92441733de50bd9adbe9b9055f03498
|
2013-10-14 22:15:31 +01:00
|
|
|
$(PKG)_SUBDIR = $(subst qtbase,qttools,$(qtbase_SUBDIR))
|
|
|
|
$(PKG)_FILE = $(subst qtbase,qttools,$(qtbase_FILE))
|
|
|
|
$(PKG)_URL = $(subst qtbase,qttools,$(qtbase_URL))
|
2017-11-25 13:36:07 +00:00
|
|
|
$(PKG)_DEPS := cc qtactiveqt qtbase qtdeclarative
|
2018-11-22 14:24:16 +00:00
|
|
|
$(PKG)_TARGETS := $(BUILD) $(MXE_TARGETS)
|
2012-12-19 22:53:14 +00:00
|
|
|
|
|
|
|
define $(PKG)_UPDATE
|
2013-01-28 23:55:11 +00:00
|
|
|
echo $(qtbase_VERSION)
|
2012-12-19 22:53:14 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define $(PKG)_BUILD
|
2019-04-28 14:23:02 +01:00
|
|
|
cd '$(1)' && '$(PREFIX)/$(TARGET)/qt5/bin/qmake'
|
2012-12-19 22:53:14 +00:00
|
|
|
$(MAKE) -C '$(1)' -j '$(JOBS)'
|
|
|
|
$(MAKE) -C '$(1)' -j 1 install
|
2016-01-17 12:47:54 +00:00
|
|
|
|
|
|
|
# test QUiLoader
|
2019-11-08 17:15:59 +00:00
|
|
|
$(CMAKE_TEST)
|
2012-12-19 22:53:14 +00:00
|
|
|
endef
|
2018-11-22 14:24:16 +00:00
|
|
|
|
|
|
|
define $(PKG)_BUILD_$(BUILD)
|
2019-04-28 14:23:02 +01:00
|
|
|
cd '$(1)' && '$(PREFIX)/$(TARGET)/qt5/bin/qmake'
|
2018-11-22 14:24:16 +00:00
|
|
|
$(MAKE) -C '$(1)' -j '$(JOBS)'
|
|
|
|
$(MAKE) -C '$(1)' -j 1 install
|
|
|
|
endef
|