11PACKAGE =qt
2- $(package)_version =5.9.8
3- $(package)_download_path =https://download.qt.io/official_releases/qt/5.9 /$($(package ) _version) /submodules
4- $(package)_suffix =opensource -src-$($(package ) _version) .tar.xz
2+ $(package)_version =5.12.10
3+ $(package)_download_path =https://download.qt.io/official_releases/qt/5.12 /$($(package ) _version) /submodules
4+ $(package)_suffix =everywhere -src-$($(package ) _version) .tar.xz
55$(package)_file_name =qtbase-$($(package ) _suffix)
6- $(package)_sha256_hash =9b9dec1f67df1f94bce2955c5604de992d529dde72050239154c56352da0907d
6+ $(package)_sha256_hash =8088f174e6d28e779516c083b6087b6a9e3c8322b4bc161fd1b54195e3c86940
77$(package)_dependencies =zlib
88$(package)_linux_dependencies =freetype fontconfig libxcb libxkbcommon
99$(package)_qt_libs =corelib network widgets gui plugins testlib
10- $(package)_patches =fix_qt_pkgconfig.patch mac-qmake.conf fix_configure_mac.patch fix_no_printer.patch
11- $(package)_patches+ = fix_rcc_determinism.patch fix_riscv64_arch.patch xkb-default.patch no-xlib.patch
10+ $(package)_patches =fix_qt_pkgconfig.patch mac-qmake.conf fix_no_printer.patch no-xlib.patch
1211$(package)_patches+ = fix_android_qmake_conf.patch fix_android_jni_static.patch dont_hardcode_pwd.patch
13- $(package)_patches+ = freetype_back_compat.patch drop_lrelease_dependency.patch fix_powerpc_libpng .patch
14- $(package)_patches+ = fix_mingw_cross_compile.patch fix_qpainter_non_determinism.patch
12+ $(package)_patches+ = drop_lrelease_dependency.patch
13+ $(package)_patches+ = fix_qpainter_non_determinism.patch
1514
1615$(package)_qttranslations_file_name =qttranslations-$($(package ) _suffix)
17- $(package)_qttranslations_sha256_hash =fb5a47799754af73d3bf501fe513342cfe2fc37f64e80df5533f6110e804220c
16+ $(package)_qttranslations_sha256_hash =e1de58ed108b7e0a138815ea60fd46a2c4e1fc31396a707e5630e92de79c53de
1817
1918$(package)_qttools_file_name =qttools-$($(package ) _suffix)
20- $(package)_qttools_sha256_hash =a97556eb7b2f30252cdd8a598c396cfce2b2f79d2bae883af6d3b26a2cdcc63c
19+ $(package)_qttools_sha256_hash =b0cfa6e7aac41b7c61fc59acc04843d7a98f9e1840370611751bcfc1834a636c
2120
2221$(package)_extra_sources = $($(package ) _qttranslations_file_name)
2322$(package)_extra_sources += $($(package ) _qttools_file_name)
@@ -50,7 +49,6 @@ $(package)_config_opts += -no-mtdev
5049$(package ) _config_opts += -no-openssl
5150$(package ) _config_opts += -no-openvg
5251$(package ) _config_opts += -no-reduce-relocations
53- $(package ) _config_opts += -no-qml-debug
5452$(package ) _config_opts += -no-sctp
5553$(package ) _config_opts += -no-securetransport
5654$(package ) _config_opts += -no-sql-db2
@@ -64,7 +62,6 @@ $(package)_config_opts += -no-sql-sqlite
6462$(package ) _config_opts += -no-sql-sqlite2
6563$(package ) _config_opts += -no-system-proxies
6664$(package ) _config_opts += -no-use-gold-linker
67- $(package ) _config_opts += -no-xinput2
6865$(package ) _config_opts += -nomake examples
6966$(package ) _config_opts += -nomake tests
7067$(package ) _config_opts += -opensource
@@ -94,10 +91,10 @@ $(package)_config_opts += -no-feature-printdialog
9491$(package ) _config_opts += -no-feature-printer
9592$(package ) _config_opts += -no-feature-printpreviewdialog
9693$(package ) _config_opts += -no-feature-printpreviewwidget
97- $(package ) _config_opts += -no-feature-regularexpression
9894$(package ) _config_opts += -no-feature-sessionmanager
9995$(package ) _config_opts += -no-feature-socks5
10096$(package ) _config_opts += -no-feature-sql
97+ $(package ) _config_opts += -no-feature-sqlmodel
10198$(package ) _config_opts += -no-feature-statemachine
10299$(package ) _config_opts += -no-feature-syntaxhighlighter
103100$(package ) _config_opts += -no-feature-textbrowser
@@ -115,6 +112,7 @@ $(package)_config_opts += -no-feature-xml
115112$(package ) _config_opts_darwin = -no-dbus
116113$(package ) _config_opts_darwin += -no-opengl
117114$(package ) _config_opts_darwin += -pch
115+ $(package ) _config_opts_darwin += -device-option QMAKE_MACOSX_DEPLOYMENT_TARGET=$(OSX_MIN_VERSION )
118116
119117ifneq ($(build_os ) ,darwin)
120118$(package)_config_opts_darwin += -xplatform macx-clang-linux
@@ -135,6 +133,7 @@ $(package)_config_opts_linux += -no-feature-xlib
135133$(package ) _config_opts_linux += -system-freetype
136134$(package ) _config_opts_linux += -fontconfig
137135$(package ) _config_opts_linux += -no-opengl
136+ $(package ) _config_opts_linux += -no-feature-vulkan
138137$(package ) _config_opts_linux += -dbus-runtime
139138$(package ) _config_opts_arm_linux += -platform linux-g++ -xplatform bitcoin-linux-g++
140139$(package ) _config_opts_i686_linux = -xplatform linux-g++-32
@@ -219,20 +218,13 @@ endef
219218# 8. Adjust a regex in toolchain.prf, to accommodate Guix's usage of
220219# CROSS_LIBRARY_PATH. See #15277.
221220define $(package)_preprocess_cmds
222- patch -p1 -i $($(package ) _patch_dir) /freetype_back_compat.patch && \
223- patch -p1 -i $($(package ) _patch_dir) /fix_powerpc_libpng.patch && \
224221 patch -p1 -i $($(package ) _patch_dir) /drop_lrelease_dependency.patch && \
225222 patch -p1 -i $($(package ) _patch_dir) /dont_hardcode_pwd.patch && \
226223 patch -p1 -i $($(package ) _patch_dir) /fix_qt_pkgconfig.patch && \
227- patch -p1 -i $($(package ) _patch_dir) /fix_configure_mac.patch && \
228224 patch -p1 -i $($(package ) _patch_dir) /fix_no_printer.patch && \
229- patch -p1 -i $($(package ) _patch_dir) /fix_rcc_determinism.patch && \
230- patch -p1 -i $($(package ) _patch_dir) /xkb-default.patch && \
231225 patch -p1 -i $($(package ) _patch_dir) /fix_android_qmake_conf.patch && \
232226 patch -p1 -i $($(package ) _patch_dir) /fix_android_jni_static.patch && \
233- patch -p1 -i $($(package ) _patch_dir) /fix_riscv64_arch.patch && \
234227 patch -p1 -i $($(package ) _patch_dir) /no-xlib.patch && \
235- patch -p1 -i $($(package ) _patch_dir) /fix_mingw_cross_compile.patch && \
236228 patch -p1 -i $($(package ) _patch_dir) /fix_qpainter_non_determinism.patch &&\
237229 sed -i.old "s|updateqm.commands = \$$$$\$$$$LRELEASE|updateqm.commands = $($(package ) _extract_dir) /qttools/bin/lrelease|" qttranslations/translations/translations.pro && \
238230 mkdir -p qtbase/mkspecs/macx-clang-linux &&\
@@ -246,8 +238,8 @@ define $(package)_preprocess_cmds
246238 sed -i.old "s|QMAKE_CFLAGS += |!host_build: QMAKE_CFLAGS = $($(package ) _cflags) $($(package ) _cppflags) |" qtbase/mkspecs/win32-g++/qmake.conf && \
247239 sed -i.old "s|QMAKE_CXXFLAGS += |!host_build: QMAKE_CXXFLAGS = $($(package ) _cxxflags) $($(package ) _cppflags) |" qtbase/mkspecs/win32-g++/qmake.conf && \
248240 sed -i.old "0,/^QMAKE_LFLAGS_/s|^QMAKE_LFLAGS_|!host_build: QMAKE_LFLAGS = $($(package ) _ldflags) \n&|" qtbase/mkspecs/win32-g++/qmake.conf && \
249- sed -i.old "s|QMAKE_CC = clang|QMAKE_CC = $($(package ) _cc) |" qtbase/mkspecs/common/clang.conf && \
250- sed -i.old "s|QMAKE_CXX = clang++|QMAKE_CXX = $($(package ) _cxx) |" qtbase/mkspecs/common/clang.conf && \
241+ sed -i.old "s|QMAKE_CC = \$$$$\$$$${CROSS_COMPILE} clang|QMAKE_CC = $($(package ) _cc) |" qtbase/mkspecs/common/clang.conf && \
242+ sed -i.old "s|QMAKE_CXX = \$$$$\$$$${CROSS_COMPILE} clang++|QMAKE_CXX = $($(package ) _cxx) |" qtbase/mkspecs/common/clang.conf && \
251243 sed -i.old "s/LIBRARY_PATH/(CROSS_)?\0/g" qtbase/mkspecs/features/toolchain.prf
252244endef
253245
0 commit comments