# This file is part of MXE. See LICENSE.md for licensing information. include src/qt/qt6/qt6-conf.mk PKG := qt6-qtdeclarative $(eval $(QT6_METADATA)) $(PKG)_CHECKSUM := 3b41a36b42e919a3aa0da1f71107591504200f41707bee2ad8e8d4f99b5644c2 $(PKG)_TARGETS := $(BUILD) $(MXE_TARGETS) $(PKG)_DEPS_$(BUILD) := qt6-conf qt6-qtbase qt6-qtshadertools qt6-qtsvg $(PKG)_DEPS := cc $($(PKG)_DEPS_$(BUILD)) $(BUILD)~$(PKG) tiff QT6_PREFIX = '$(PREFIX)/$(TARGET)/$(MXE_QT6_ID)' QT6_QT_CMAKE = '$(QT6_PREFIX)/$(if $(findstring mingw,$(TARGET)),bin,libexec)/qt-cmake-private' \ -DCMAKE_INSTALL_PREFIX='$(QT6_PREFIX)' define $(PKG)_BUILD $(QT6_QT_CMAKE) -S '$(SOURCE_DIR)' -B '$(BUILD_DIR)' $(if $(BUILD_STATIC),'$(SED)' -i "/^ *LINK_LIBRARIES = /{s/$$/ `'$(TARGET)-pkg-config' --libs libbrotlidec libtiff-4`/g}" '$(BUILD_DIR)/build.ninja',) cd '$(BUILD_DIR)' && '$(TARGET)-cmake' --build . -j '$(JOBS)' cd '$(BUILD_DIR)' && '$(TARGET)-cmake' --install . endef