1
1
PACKAGE =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
5
5
$(package)_file_name =qtbase-$($(package ) _suffix)
6
- $(package)_sha256_hash =9b9dec1f67df1f94bce2955c5604de992d529dde72050239154c56352da0907d
6
+ $(package)_sha256_hash =8088f174e6d28e779516c083b6087b6a9e3c8322b4bc161fd1b54195e3c86940
7
7
$(package)_dependencies =zlib
8
8
$(package)_linux_dependencies =freetype fontconfig libxcb libxkbcommon
9
9
$(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
12
11
$(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
15
14
16
15
$(package)_qttranslations_file_name =qttranslations-$($(package ) _suffix)
17
- $(package)_qttranslations_sha256_hash =fb5a47799754af73d3bf501fe513342cfe2fc37f64e80df5533f6110e804220c
16
+ $(package)_qttranslations_sha256_hash =e1de58ed108b7e0a138815ea60fd46a2c4e1fc31396a707e5630e92de79c53de
18
17
19
18
$(package)_qttools_file_name =qttools-$($(package ) _suffix)
20
- $(package)_qttools_sha256_hash =a97556eb7b2f30252cdd8a598c396cfce2b2f79d2bae883af6d3b26a2cdcc63c
19
+ $(package)_qttools_sha256_hash =b0cfa6e7aac41b7c61fc59acc04843d7a98f9e1840370611751bcfc1834a636c
21
20
22
21
$(package)_extra_sources = $($(package ) _qttranslations_file_name)
23
22
$(package)_extra_sources += $($(package ) _qttools_file_name)
@@ -50,7 +49,6 @@ $(package)_config_opts += -no-mtdev
50
49
$(package ) _config_opts += -no-openssl
51
50
$(package ) _config_opts += -no-openvg
52
51
$(package ) _config_opts += -no-reduce-relocations
53
- $(package ) _config_opts += -no-qml-debug
54
52
$(package ) _config_opts += -no-sctp
55
53
$(package ) _config_opts += -no-securetransport
56
54
$(package ) _config_opts += -no-sql-db2
@@ -64,7 +62,6 @@ $(package)_config_opts += -no-sql-sqlite
64
62
$(package ) _config_opts += -no-sql-sqlite2
65
63
$(package ) _config_opts += -no-system-proxies
66
64
$(package ) _config_opts += -no-use-gold-linker
67
- $(package ) _config_opts += -no-xinput2
68
65
$(package ) _config_opts += -nomake examples
69
66
$(package ) _config_opts += -nomake tests
70
67
$(package ) _config_opts += -opensource
@@ -94,10 +91,10 @@ $(package)_config_opts += -no-feature-printdialog
94
91
$(package ) _config_opts += -no-feature-printer
95
92
$(package ) _config_opts += -no-feature-printpreviewdialog
96
93
$(package ) _config_opts += -no-feature-printpreviewwidget
97
- $(package ) _config_opts += -no-feature-regularexpression
98
94
$(package ) _config_opts += -no-feature-sessionmanager
99
95
$(package ) _config_opts += -no-feature-socks5
100
96
$(package ) _config_opts += -no-feature-sql
97
+ $(package ) _config_opts += -no-feature-sqlmodel
101
98
$(package ) _config_opts += -no-feature-statemachine
102
99
$(package ) _config_opts += -no-feature-syntaxhighlighter
103
100
$(package ) _config_opts += -no-feature-textbrowser
@@ -115,6 +112,7 @@ $(package)_config_opts += -no-feature-xml
115
112
$(package ) _config_opts_darwin = -no-dbus
116
113
$(package ) _config_opts_darwin += -no-opengl
117
114
$(package ) _config_opts_darwin += -pch
115
+ $(package ) _config_opts_darwin += -device-option QMAKE_MACOSX_DEPLOYMENT_TARGET=$(OSX_MIN_VERSION )
118
116
119
117
ifneq ($(build_os ) ,darwin)
120
118
$(package)_config_opts_darwin += -xplatform macx-clang-linux
@@ -135,6 +133,7 @@ $(package)_config_opts_linux += -no-feature-xlib
135
133
$(package ) _config_opts_linux += -system-freetype
136
134
$(package ) _config_opts_linux += -fontconfig
137
135
$(package ) _config_opts_linux += -no-opengl
136
+ $(package ) _config_opts_linux += -no-feature-vulkan
138
137
$(package ) _config_opts_linux += -dbus-runtime
139
138
$(package ) _config_opts_arm_linux += -platform linux-g++ -xplatform bitcoin-linux-g++
140
139
$(package ) _config_opts_i686_linux = -xplatform linux-g++-32
@@ -219,20 +218,13 @@ endef
219
218
# 8. Adjust a regex in toolchain.prf, to accommodate Guix's usage of
220
219
# CROSS_LIBRARY_PATH. See #15277.
221
220
define $(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 && \
224
221
patch -p1 -i $($(package ) _patch_dir) /drop_lrelease_dependency.patch && \
225
222
patch -p1 -i $($(package ) _patch_dir) /dont_hardcode_pwd.patch && \
226
223
patch -p1 -i $($(package ) _patch_dir) /fix_qt_pkgconfig.patch && \
227
- patch -p1 -i $($(package ) _patch_dir) /fix_configure_mac.patch && \
228
224
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 && \
231
225
patch -p1 -i $($(package ) _patch_dir) /fix_android_qmake_conf.patch && \
232
226
patch -p1 -i $($(package ) _patch_dir) /fix_android_jni_static.patch && \
233
- patch -p1 -i $($(package ) _patch_dir) /fix_riscv64_arch.patch && \
234
227
patch -p1 -i $($(package ) _patch_dir) /no-xlib.patch && \
235
- patch -p1 -i $($(package ) _patch_dir) /fix_mingw_cross_compile.patch && \
236
228
patch -p1 -i $($(package ) _patch_dir) /fix_qpainter_non_determinism.patch &&\
237
229
sed -i.old "s|updateqm.commands = \$$$$\$$$$LRELEASE|updateqm.commands = $($(package ) _extract_dir) /qttools/bin/lrelease|" qttranslations/translations/translations.pro && \
238
230
mkdir -p qtbase/mkspecs/macx-clang-linux &&\
@@ -246,8 +238,8 @@ define $(package)_preprocess_cmds
246
238
sed -i.old "s|QMAKE_CFLAGS += |!host_build: QMAKE_CFLAGS = $($(package ) _cflags) $($(package ) _cppflags) |" qtbase/mkspecs/win32-g++/qmake.conf && \
247
239
sed -i.old "s|QMAKE_CXXFLAGS += |!host_build: QMAKE_CXXFLAGS = $($(package ) _cxxflags) $($(package ) _cppflags) |" qtbase/mkspecs/win32-g++/qmake.conf && \
248
240
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 && \
251
243
sed -i.old "s/LIBRARY_PATH/(CROSS_)?\0/g" qtbase/mkspecs/features/toolchain.prf
252
244
endef
253
245
0 commit comments