Changeset View
Changeset View
Standalone View
Standalone View
depends/packages/qt.mk
Show All 19 Lines | |||||
$(package)_extra_sources += $($(package)_qttools_file_name) | $(package)_extra_sources += $($(package)_qttools_file_name) | ||||
define $(package)_set_vars | define $(package)_set_vars | ||||
$(package)_config_opts_release = -release | $(package)_config_opts_release = -release | ||||
$(package)_config_opts_debug = -debug | $(package)_config_opts_debug = -debug | ||||
$(package)_config_opts += -bindir $(build_prefix)/bin | $(package)_config_opts += -bindir $(build_prefix)/bin | ||||
$(package)_config_opts += -c++std c++11 | $(package)_config_opts += -c++std c++11 | ||||
$(package)_config_opts += -confirm-license | $(package)_config_opts += -confirm-license | ||||
$(package)_config_opts += -dbus-runtime | |||||
$(package)_config_opts += -hostprefix $(build_prefix) | $(package)_config_opts += -hostprefix $(build_prefix) | ||||
$(package)_config_opts += -no-compile-examples | $(package)_config_opts += -no-compile-examples | ||||
$(package)_config_opts += -no-cups | $(package)_config_opts += -no-cups | ||||
$(package)_config_opts += -no-egl | $(package)_config_opts += -no-egl | ||||
$(package)_config_opts += -no-eglfs | $(package)_config_opts += -no-eglfs | ||||
$(package)_config_opts += -no-freetype | $(package)_config_opts += -no-freetype | ||||
$(package)_config_opts += -no-gif | $(package)_config_opts += -no-gif | ||||
$(package)_config_opts += -no-glib | $(package)_config_opts += -no-glib | ||||
▲ Show 20 Lines • Show All 63 Lines • ▼ Show 20 Lines | |||||
$(package)_config_opts += -no-feature-undocommand | $(package)_config_opts += -no-feature-undocommand | ||||
$(package)_config_opts += -no-feature-undogroup | $(package)_config_opts += -no-feature-undogroup | ||||
$(package)_config_opts += -no-feature-undostack | $(package)_config_opts += -no-feature-undostack | ||||
$(package)_config_opts += -no-feature-undoview | $(package)_config_opts += -no-feature-undoview | ||||
$(package)_config_opts += -no-feature-vnc | $(package)_config_opts += -no-feature-vnc | ||||
$(package)_config_opts += -no-feature-wizard | $(package)_config_opts += -no-feature-wizard | ||||
$(package)_config_opts += -no-feature-xml | $(package)_config_opts += -no-feature-xml | ||||
$(package)_config_opts_darwin = -no-dbus | |||||
ifneq ($(build_os),darwin) | ifneq ($(build_os),darwin) | ||||
$(package)_config_opts_darwin = -xplatform macx-clang-linux | $(package)_config_opts_darwin += -xplatform macx-clang-linux | ||||
$(package)_config_opts_darwin += -device-option MAC_SDK_PATH=$(OSX_SDK) | $(package)_config_opts_darwin += -device-option MAC_SDK_PATH=$(OSX_SDK) | ||||
$(package)_config_opts_darwin += -device-option MAC_SDK_VERSION=$(OSX_SDK_VERSION) | $(package)_config_opts_darwin += -device-option MAC_SDK_VERSION=$(OSX_SDK_VERSION) | ||||
$(package)_config_opts_darwin += -device-option CROSS_COMPILE="$(host)-" | $(package)_config_opts_darwin += -device-option CROSS_COMPILE="$(host)-" | ||||
$(package)_config_opts_darwin += -device-option MAC_MIN_VERSION=$(OSX_MIN_VERSION) | $(package)_config_opts_darwin += -device-option MAC_MIN_VERSION=$(OSX_MIN_VERSION) | ||||
$(package)_config_opts_darwin += -device-option MAC_TARGET=$(host) | $(package)_config_opts_darwin += -device-option MAC_TARGET=$(host) | ||||
endif | endif | ||||
$(package)_config_opts_linux = -qt-xkbcommon-x11 | $(package)_config_opts_linux = -qt-xkbcommon-x11 | ||||
$(package)_config_opts_linux += -qt-xcb | $(package)_config_opts_linux += -qt-xcb | ||||
$(package)_config_opts_linux += -no-xcb-xlib | $(package)_config_opts_linux += -no-xcb-xlib | ||||
$(package)_config_opts_linux += -no-feature-xlib | $(package)_config_opts_linux += -no-feature-xlib | ||||
$(package)_config_opts_linux += -system-freetype | $(package)_config_opts_linux += -system-freetype | ||||
$(package)_config_opts_linux += -fontconfig | $(package)_config_opts_linux += -fontconfig | ||||
$(package)_config_opts_linux += -dbus-runtime | |||||
$(package)_config_opts_arm_linux += -platform linux-g++ -xplatform bitcoin-linux-g++ | $(package)_config_opts_arm_linux += -platform linux-g++ -xplatform bitcoin-linux-g++ | ||||
$(package)_config_opts_i686_linux = -xplatform linux-g++-32 | $(package)_config_opts_i686_linux = -xplatform linux-g++-32 | ||||
$(package)_config_opts_x86_64_linux = -xplatform linux-g++-64 | $(package)_config_opts_x86_64_linux = -xplatform linux-g++-64 | ||||
$(package)_config_opts_aarch64_linux = -xplatform linux-aarch64-gnu-g++ | $(package)_config_opts_aarch64_linux = -xplatform linux-aarch64-gnu-g++ | ||||
$(package)_config_opts_mingw32 = -xplatform win32-g++ -device-option CROSS_COMPILE="$(host)-" | $(package)_config_opts_mingw32 = -no-dbus | ||||
$(package)_config_opts_mingw32 += -xplatform win32-g++ | |||||
$(package)_config_opts_mingw32 += -device-option CROSS_COMPILE="$(host)-" | |||||
$(package)_build_env = QT_RCC_TEST=1 | $(package)_build_env = QT_RCC_TEST=1 | ||||
$(package)_build_env += QT_RCC_SOURCE_DATE_OVERRIDE=1 | $(package)_build_env += QT_RCC_SOURCE_DATE_OVERRIDE=1 | ||||
endef | endef | ||||
define $(package)_fetch_cmds | define $(package)_fetch_cmds | ||||
$(call fetch_file,$(package),$($(package)_download_path),$($(package)_download_file),$($(package)_file_name),$($(package)_sha256_hash)) && \ | $(call fetch_file,$(package),$($(package)_download_path),$($(package)_download_file),$($(package)_file_name),$($(package)_sha256_hash)) && \ | ||||
$(call fetch_file,$(package),$($(package)_download_path),$($(package)_qttranslations_file_name),$($(package)_qttranslations_file_name),$($(package)_qttranslations_sha256_hash)) && \ | $(call fetch_file,$(package),$($(package)_download_path),$($(package)_qttranslations_file_name),$($(package)_qttranslations_file_name),$($(package)_qttranslations_sha256_hash)) && \ | ||||
$(call fetch_file,$(package),$($(package)_download_path),$($(package)_qttools_file_name),$($(package)_qttools_file_name),$($(package)_qttools_sha256_hash)) | $(call fetch_file,$(package),$($(package)_download_path),$($(package)_qttools_file_name),$($(package)_qttools_file_name),$($(package)_qttools_sha256_hash)) | ||||
▲ Show 20 Lines • Show All 85 Lines • Show Last 20 Lines |