@@ -13,14 +13,19 @@ $(package)_patches += support_new_android_ndks.patch fix_android_jni_static.patc
13
13
$(package)_patches+ = no_sdk_version_check.patch
14
14
$(package)_patches+ = fix_lib_paths.patch fix_android_pch.patch
15
15
$(package)_patches+ = qtbase-moc-ignore-gcc-macro.patch fix_limits_header.patch
16
+ $(package)_patches += fix_qml_python.patch
17
+
18
+ $(package)_qtdeclarative_file_name = qtdeclarative-$($(package ) _suffix)
19
+ $(package)_qtdeclarative_sha256_hash = 1267e029abc8424424c419bc1681db069ec76e51270cc220994e0f442c9f78d3
16
20
17
21
$(package)_qttranslations_file_name =qttranslations-$($(package ) _suffix)
18
22
$(package)_qttranslations_sha256_hash =577b0668a777eb2b451c61e8d026d79285371597ce9df06b6dee6c814164b7c3
19
23
20
24
$(package)_qttools_file_name =qttools-$($(package ) _suffix)
21
25
$(package)_qttools_sha256_hash =98b2aaca230458f65996f3534fd471d2ffd038dd58ac997c0589c06dc2385b4f
22
26
23
- $(package)_extra_sources = $($(package ) _qttranslations_file_name)
27
+ $(package)_extra_sources += $($(package ) _qtdeclarative_file_name)
28
+ $(package)_extra_sources += $($(package ) _qttranslations_file_name)
24
29
$(package)_extra_sources += $($(package ) _qttools_file_name)
25
30
26
31
define $(package)_set_vars
@@ -181,18 +186,22 @@ endef
181
186
182
187
define $(package)_fetch_cmds
183
188
$(call fetch_file,$(package ) ,$($(package ) _download_path) ,$($(package ) _download_file) ,$($(package ) _file_name) ,$($(package ) _sha256_hash) ) && \
189
+ $(call fetch_file,$(package ) ,$($(package ) _download_path) ,$($(package ) _qtdeclarative_file_name) ,$($(package ) _qtdeclarative_file_name) ,$($(package ) _qtdeclarative_sha256_hash) ) && \
184
190
$(call fetch_file,$(package ) ,$($(package ) _download_path) ,$($(package ) _qttranslations_file_name) ,$($(package ) _qttranslations_file_name) ,$($(package ) _qttranslations_sha256_hash) ) && \
185
191
$(call fetch_file,$(package ) ,$($(package ) _download_path) ,$($(package ) _qttools_file_name) ,$($(package ) _qttools_file_name) ,$($(package ) _qttools_sha256_hash) )
186
192
endef
187
193
188
194
define $(package)_extract_cmds
189
195
mkdir -p $($(package ) _extract_dir) && \
190
196
echo "$($(package ) _sha256_hash) $($(package ) _source) " > $($(package ) _extract_dir) /.$($(package ) _file_name) .hash && \
197
+ echo "$($(package ) _qtdeclarative_sha256_hash) $($(package ) _source_dir) /$($(package ) _qtdeclarative_file_name) " >> $($(package ) _extract_dir) /.$($(package ) _file_name) .hash && \
191
198
echo "$($(package ) _qttranslations_sha256_hash) $($(package ) _source_dir) /$($(package ) _qttranslations_file_name) " >> $($(package ) _extract_dir) /.$($(package ) _file_name) .hash && \
192
199
echo "$($(package ) _qttools_sha256_hash) $($(package ) _source_dir) /$($(package ) _qttools_file_name) " >> $($(package ) _extract_dir) /.$($(package ) _file_name) .hash && \
193
200
$(build_SHA256SUM ) -c $($(package ) _extract_dir) /.$($(package ) _file_name) .hash && \
194
201
mkdir qtbase && \
195
202
tar --no-same-owner --strip-components=1 -xf $($(package ) _source) -C qtbase && \
203
+ mkdir qtdeclarative && \
204
+ tar --no-same-owner --strip-components=1 -xf $($(package ) _source_dir) /$($(package ) _qtdeclarative_file_name) -C qtdeclarative && \
196
205
mkdir qttranslations && \
197
206
tar --no-same-owner --strip-components=1 -xf $($(package ) _source_dir) /$($(package ) _qttranslations_file_name) -C qttranslations && \
198
207
mkdir qttools && \
@@ -232,6 +241,7 @@ define $(package)_preprocess_cmds
232
241
patch -p1 -i $($(package ) _patch_dir) /fix_lib_paths.patch && \
233
242
patch -p1 -i $($(package ) _patch_dir) /qtbase-moc-ignore-gcc-macro.patch && \
234
243
patch -p1 -i $($(package ) _patch_dir) /fix_limits_header.patch && \
244
+ patch -p1 -i $($(package ) _patch_dir) /fix_qml_python.patch && \
235
245
mkdir -p qtbase/mkspecs/macx-clang-linux &&\
236
246
cp -f qtbase/mkspecs/macx-clang/qplatformdefs.h qtbase/mkspecs/macx-clang-linux/ &&\
237
247
cp -f $($(package ) _patch_dir) /mac-qmake.conf qtbase/mkspecs/macx-clang-linux/qmake.conf && \
@@ -258,7 +268,9 @@ define $(package)_build_cmds
258
268
endef
259
269
260
270
define $(package)_stage_cmds
271
+ export PATH && \
261
272
$(MAKE ) -C qtbase/src INSTALL_ROOT=$($(package ) _staging_dir) $(addsuffix -install_subtargets,$(addprefix sub-,$($(package ) _qt_libs) ) ) && \
273
+ $(MAKE ) -C qtdeclarative INSTALL_ROOT=$($(package ) _staging_dir) sub-src-install_subtargets && \
262
274
$(MAKE ) -C qttools/src/linguist INSTALL_ROOT=$($(package ) _staging_dir) $(addsuffix -install_subtargets,$(addprefix sub-,$($(package ) _linguist_tools) ) ) && \
263
275
$(MAKE ) -C qttranslations INSTALL_ROOT=$($(package ) _staging_dir) install_subtargets
264
276
endef
0 commit comments