qt5: update to version 5.13.0

Fixes #3485
This commit is contained in:
Christian Prochaska
2019-08-26 22:30:39 +02:00
committed by Christian Helmuth
parent d00cfd7cff
commit 65f402807f
103 changed files with 2129 additions and 1748 deletions

View File

@@ -34,10 +34,13 @@ MAKE_JOBS ?= 4
# Source, build and install location
#
GENODE_DIR ?= $(realpath $(dir $(firstword $(MAKEFILE_LIST)))/..)
CONTRIB_DIR = $(shell $(GENODE_DIR)/tool/ports/current qt5-host)/src/lib/qt5-host
BUILD_DIR = $(GENODE_DIR)/build/tool/qt5-5.8.0
INSTALL_LOCATION = /usr/local/genode-qt5
GENODE_DIR ?= $(realpath $(dir $(firstword $(MAKEFILE_LIST)))/..)
CONTRIB_DIR = $(shell $(GENODE_DIR)/tool/ports/current qt5-host)/src/lib/qt5-host
TOOL_VERSION = 19.08
BUILD_DIR = $(GENODE_DIR)/build/tool/qt5/$(TOOL_VERSION)
DEFAULT_INSTALL_LOCATION = /usr/local/genode/qt5/$(TOOL_VERSION)
INSTALL_LOCATION ?= $(DEFAULT_INSTALL_LOCATION)
SUDO ?= sudo
$(CONTRIB_DIR)/configure:
$(VERBOSE)$(GENODE_DIR)/tool/ports/prepare_port qt5-host
@@ -65,25 +68,47 @@ $(BUILD_DIR)/bin/uic: $(BUILD_DIR)/src/Makefile
$(VERBOSE)cd $(BUILD_DIR)/src && \
make -j$(MAKE_JOBS) sub-uic
$(BUILD_DIR)/bin/qlalr: $(BUILD_DIR)/src/Makefile
$(VERBOSE)cd $(BUILD_DIR)/src && \
make -j$(MAKE_JOBS) sub-qlalr
$(BUILD_DIR)/bin/qfloat16-tables: $(BUILD_DIR)/src/Makefile
$(VERBOSE)cd $(BUILD_DIR)/src && \
make -j$(MAKE_JOBS) sub-qfloat16-tables
build: $(BUILD_DIR)/bin/moc \
$(BUILD_DIR)/bin/rcc \
$(BUILD_DIR)/bin/uic
$(BUILD_DIR)/bin/uic \
$(BUILD_DIR)/bin/qlalr \
$(BUILD_DIR)/bin/qfloat16-tables
$(INSTALL_LOCATION)/bin/moc: $(BUILD_DIR)/bin/moc
$(VERBOSE)cd $(BUILD_DIR)/src && \
sudo make sub-moc-install_subtargets
$(SUDO) make sub-moc-install_subtargets
$(INSTALL_LOCATION)/bin/rcc: $(BUILD_DIR)/bin/rcc
$(VERBOSE)cd $(BUILD_DIR)/src && \
sudo make sub-rcc-install_subtargets
$(SUDO) make sub-rcc-install_subtargets
$(INSTALL_LOCATION)/bin/uic: $(BUILD_DIR)/bin/uic
$(VERBOSE)cd $(BUILD_DIR)/src && \
sudo make sub-uic-install_subtargets
$(SUDO) make sub-uic-install_subtargets
$(INSTALL_LOCATION)/bin/qlalr: $(BUILD_DIR)/bin/qlalr
$(VERBOSE)cd $(BUILD_DIR)/src && \
$(SUDO) make sub-qlalr-install_subtargets
$(INSTALL_LOCATION)/bin/qfloat16-tables: $(BUILD_DIR)/bin/qfloat16-tables
$(VERBOSE)$(SUDO) cp $< $@
install: $(INSTALL_LOCATION)/bin/moc \
$(INSTALL_LOCATION)/bin/rcc \
$(INSTALL_LOCATION)/bin/uic
$(INSTALL_LOCATION)/bin/uic \
$(INSTALL_LOCATION)/bin/qlalr \
$(INSTALL_LOCATION)/bin/qfloat16-tables
ifeq ($(INSTALL_LOCATION),$(DEFAULT_INSTALL_LOCATION))
$(VERBOSE)$(SUDO) ln -snf $(TOOL_VERSION) $(dir $(INSTALL_LOCATION))/current
endif
clean:
rm -rf $(BUILD_DIR)