1
- PACKAGE =qt
2
- $(package)_version =5.12.11
3
- $(package)_download_path =https://download.qt.io/official_releases/qt/5.12 /$($(package ) _version) /submodules
1
+ package =qt
2
+ $(package)_version =5.15.2
3
+ $(package)_download_path =https://download.qt.io/official_releases/qt/5.15 /$($(package ) _version) /submodules
4
4
$(package)_suffix =everywhere-src-$($(package ) _version) .tar.xz
5
5
$(package)_file_name =qtbase-$($(package ) _suffix)
6
- $(package)_sha256_hash =1c1b4e33137ca77881074c140d54c3c9747e845a31338cfe8680f171f0bc3a39
6
+ $(package)_sha256_hash =909fad2591ee367993a75d7e2ea50ad4db332f05e1c38dd7a5a274e156a4e0f8
7
7
$(package)_linux_dependencies =freetype fontconfig libxcb libxkbcommon libxcb_util libxcb_util_render libxcb_util_keysyms libxcb_util_image libxcb_util_wm
8
8
$(package)_qt_libs =corelib network widgets gui plugins testlib
9
9
$(package)_linguist_tools = lrelease lupdate lconvert
10
10
$(package)_patches = qt.pro qttools_src.pro
11
11
$(package)_patches += fix_qt_pkgconfig.patch mac-qmake.conf fix_no_printer.patch no-xlib.patch
12
- $(package)_patches += support_new_android_ndks.patch fix_android_jni_static.patch dont_hardcode_pwd.patch
13
- $(package)_patches += dont_hardcode_x86_64.patch
14
- $(package)_patches+ = fix_lib_paths.patch fix_android_pch.patch
15
- $(package)_patches+ = qtbase-moc-ignore-gcc-macro.patch fix_limits_header.patch
16
- $(package)_patches+ = fix_montery_include.patch
12
+ $(package)_patches += dont_hardcode_x86_64.patch fix_montery_include.patch
13
+ $(package)_patches += fix_android_jni_static.patch dont_hardcode_pwd.patch
14
+ $(package)_patches += qtbase-moc-ignore-gcc-macro.patch fix_limits_header.patch
17
15
18
16
$(package)_qttranslations_file_name =qttranslations-$($(package ) _suffix)
19
- $(package)_qttranslations_sha256_hash =577b0668a777eb2b451c61e8d026d79285371597ce9df06b6dee6c814164b7c3
17
+ $(package)_qttranslations_sha256_hash =d5788e86257b21d5323f1efd94376a213e091d1e5e03b45a95dd052b5f570db8
20
18
21
19
$(package)_qttools_file_name =qttools-$($(package ) _suffix)
22
- $(package)_qttools_sha256_hash =98b2aaca230458f65996f3534fd471d2ffd038dd58ac997c0589c06dc2385b4f
20
+ $(package)_qttools_sha256_hash =c189d0ce1ff7c739db9a3ace52ac3e24cb8fd6dbf234e49f075249b38f43c1cc
23
21
24
22
$(package)_extra_sources = $($(package ) _qttranslations_file_name)
25
23
$(package)_extra_sources += $($(package ) _qttools_file_name)
@@ -30,14 +28,14 @@ $(package)_config_opts_release += -silent
30
28
$(package ) _config_opts_debug = -debug
31
29
$(package ) _config_opts_debug += -optimized-tools
32
30
$(package ) _config_opts += -bindir $(build_prefix ) /bin
33
- $(package ) _config_opts += -c++std c++1z
31
+ $(package ) _config_opts += -c++std c++17
34
32
$(package ) _config_opts += -confirm-license
35
33
$(package ) _config_opts += -hostprefix $(build_prefix )
36
34
$(package ) _config_opts += -no-compile-examples
37
35
$(package ) _config_opts += -no-cups
38
36
$(package ) _config_opts += -no-egl
39
37
$(package ) _config_opts += -no-eglfs
40
- $(package ) _config_opts += -no-freetype
38
+ $(package ) _config_opts += -no-evdev
41
39
$(package ) _config_opts += -no-gif
42
40
$(package ) _config_opts += -no-glib
43
41
$(package ) _config_opts += -no-icu
@@ -52,6 +50,7 @@ $(package)_config_opts += -no-mtdev
52
50
$(package ) _config_opts += -no-openssl
53
51
$(package ) _config_opts += -no-openvg
54
52
$(package ) _config_opts += -no-reduce-relocations
53
+ $(package ) _config_opts += -no-schannel
55
54
$(package ) _config_opts += -no-sctp
56
55
$(package ) _config_opts += -no-securetransport
57
56
$(package ) _config_opts += -no-sql-db2
@@ -65,6 +64,7 @@ $(package)_config_opts += -no-sql-sqlite
65
64
$(package ) _config_opts += -no-sql-sqlite2
66
65
$(package ) _config_opts += -no-system-proxies
67
66
$(package ) _config_opts += -no-use-gold-linker
67
+ $(package ) _config_opts += -no-zstd
68
68
$(package ) _config_opts += -nomake examples
69
69
$(package ) _config_opts += -nomake tests
70
70
$(package ) _config_opts += -nomake tools
@@ -102,6 +102,7 @@ $(package)_config_opts += -no-feature-sqlmodel
102
102
$(package ) _config_opts += -no-feature-statemachine
103
103
$(package ) _config_opts += -no-feature-syntaxhighlighter
104
104
$(package ) _config_opts += -no-feature-textbrowser
105
+ $(package ) _config_opts += -no-feature-textmarkdownwriter
105
106
$(package ) _config_opts += -no-feature-textodfwriter
106
107
$(package ) _config_opts += -no-feature-topleveldomain
107
108
$(package ) _config_opts += -no-feature-udpsocket
@@ -117,6 +118,7 @@ $(package)_config_opts_darwin = -no-dbus
117
118
$(package ) _config_opts_darwin += -no-opengl
118
119
$(package ) _config_opts_darwin += -pch
119
120
$(package ) _config_opts_darwin += -no-feature-corewlan
121
+ $(package ) _config_opts_darwin += -no-freetype
120
122
$(package ) _config_opts_darwin += QMAKE_MACOSX_DEPLOYMENT_TARGET=$(OSX_MIN_VERSION )
121
123
122
124
ifneq ($(build_os ) ,darwin)
@@ -133,7 +135,7 @@ $(package)_config_opts_aarch64_darwin += -device-option QMAKE_APPLE_DEVICE_ARCHS
133
135
$(package)_config_opts_x86_64_darwin += -device-option QMAKE_APPLE_DEVICE_ARCHS=x86_64
134
136
endif
135
137
136
- $(package ) _config_opts_linux = -qt- xcb
138
+ $(package ) _config_opts_linux = -xcb
137
139
$(package ) _config_opts_linux += -no-xcb-xlib
138
140
$(package ) _config_opts_linux += -no-feature-xlib
139
141
$(package ) _config_opts_linux += -system-freetype
@@ -152,6 +154,7 @@ $(package)_config_opts_s390x_linux = -platform linux-g++ -xplatform bitcoin-linu
152
154
153
155
$(package ) _config_opts_mingw32 = -no-opengl
154
156
$(package ) _config_opts_mingw32 += -no-dbus
157
+ $(package ) _config_opts_mingw32 += -no-freetype
155
158
$(package ) _config_opts_mingw32 += -xplatform win32-g++
156
159
$(package ) _config_opts_mingw32 += "QMAKE_CFLAGS = '$($(package ) _cflags) $($(package ) _cppflags) '"
157
160
$(package ) _config_opts_mingw32 += "QMAKE_CXXFLAGS = '$($(package ) _cflags) $($(package ) _cppflags) '"
@@ -166,7 +169,6 @@ $(package)_config_opts_android += -android-ndk-platform android-$(ANDROID_API_LE
166
169
$(package ) _config_opts_android += -device-option CROSS_COMPILE="$(host ) -"
167
170
$(package ) _config_opts_android += -egl
168
171
$(package ) _config_opts_android += -qpa xcb
169
- $(package ) _config_opts_android += -no-eglfs
170
172
$(package ) _config_opts_android += -no-dbus
171
173
$(package ) _config_opts_android += -opengl es2
172
174
$(package ) _config_opts_android += -qt-freetype
@@ -227,12 +229,9 @@ define $(package)_preprocess_cmds
227
229
patch -p1 -i $($(package ) _patch_dir) /dont_hardcode_pwd.patch && \
228
230
patch -p1 -i $($(package ) _patch_dir) /fix_qt_pkgconfig.patch && \
229
231
patch -p1 -i $($(package ) _patch_dir) /fix_no_printer.patch && \
230
- patch -p1 -i $($(package ) _patch_dir) /support_new_android_ndks.patch && \
231
232
patch -p1 -i $($(package ) _patch_dir) /fix_android_jni_static.patch && \
232
- patch -p1 -i $($(package ) _patch_dir) /fix_android_pch.patch && \
233
233
patch -p1 -i $($(package ) _patch_dir) /no-xlib.patch && \
234
234
patch -p1 -i $($(package ) _patch_dir) /dont_hardcode_x86_64.patch && \
235
- patch -p1 -i $($(package ) _patch_dir) /fix_lib_paths.patch && \
236
235
patch -p1 -i $($(package ) _patch_dir) /qtbase-moc-ignore-gcc-macro.patch && \
237
236
patch -p1 -i $($(package ) _patch_dir) /fix_limits_header.patch && \
238
237
patch -p1 -i $($(package ) _patch_dir) /fix_montery_include.patch && \
0 commit comments