|
|
@ -1,21 +1,21 @@ |
|
|
|
PACKAGE=qt |
|
|
|
PACKAGE=qt |
|
|
|
$(package)_version=5.6.1 |
|
|
|
$(package)_version=5.7.1 |
|
|
|
$(package)_download_path=http://download.qt.io/official_releases/qt/5.6/$($(package)_version)/submodules |
|
|
|
$(package)_download_path=http://download.qt.io/official_releases/qt/5.7/$($(package)_version)/submodules |
|
|
|
$(package)_suffix=opensource-src-$($(package)_version).tar.gz |
|
|
|
$(package)_suffix=opensource-src-$($(package)_version).tar.gz |
|
|
|
$(package)_file_name=qtbase-$($(package)_suffix) |
|
|
|
$(package)_file_name=qtbase-$($(package)_suffix) |
|
|
|
$(package)_sha256_hash=0ac67cf8d66d52b995f96c31c4b48117a1afb3db99eaa93e20ccd8f7f55f7fde |
|
|
|
$(package)_sha256_hash=95f83e532d23b3ddbde7973f380ecae1bac13230340557276f75f2e37984e410 |
|
|
|
$(package)_dependencies=openssl |
|
|
|
$(package)_dependencies=openssl |
|
|
|
$(package)_linux_dependencies=freetype fontconfig libxcb libX11 xproto libXext |
|
|
|
$(package)_linux_dependencies=freetype fontconfig libxcb libX11 xproto libXext |
|
|
|
$(package)_build_subdir=qtbase |
|
|
|
$(package)_build_subdir=qtbase |
|
|
|
$(package)_qt_libs=corelib network widgets gui plugins testlib |
|
|
|
$(package)_qt_libs=corelib network widgets gui plugins testlib |
|
|
|
$(package)_patches=mac-qmake.conf configure-xcoderun.patch mingw-uuidof.patch pidlist_absolute.patch fix-xcb-include-order.patch fix_qt_pkgconfig.patch |
|
|
|
$(package)_patches=mac-qmake.conf mingw-uuidof.patch pidlist_absolute.patch fix-xcb-include-order.patch fix_qt_pkgconfig.patch |
|
|
|
|
|
|
|
|
|
|
|
$(package)_qttranslations_file_name=qttranslations-$($(package)_suffix) |
|
|
|
$(package)_qttranslations_file_name=qttranslations-$($(package)_suffix) |
|
|
|
$(package)_qttranslations_sha256_hash=dcc1534d247babca1840cb6d0a000671801a341ea352d0535474f86adadaf028 |
|
|
|
$(package)_qttranslations_sha256_hash=3a15aebd523c6d89fb97b2d3df866c94149653a26d27a00aac9b6d3020bc5a1d |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(package)_qttools_file_name=qttools-$($(package)_suffix) |
|
|
|
$(package)_qttools_file_name=qttools-$($(package)_suffix) |
|
|
|
$(package)_qttools_sha256_hash=e0f845de28c31230dfa428f0190ccb3b91d1fc02481b1f064698ae4ef8376aa1 |
|
|
|
$(package)_qttools_sha256_hash=22d67de915cb8cd93e16fdd38fa006224ad9170bd217c2be1e53045a8dd02f0f |
|
|
|
|
|
|
|
|
|
|
|
$(package)_extra_sources = $($(package)_qttranslations_file_name) |
|
|
|
$(package)_extra_sources = $($(package)_qttranslations_file_name) |
|
|
|
$(package)_extra_sources += $($(package)_qttools_file_name) |
|
|
|
$(package)_extra_sources += $($(package)_qttools_file_name) |
|
|
@ -24,7 +24,7 @@ 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++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 += -dbus-runtime |
|
|
|
$(package)_config_opts += -hostprefix $(build_prefix) |
|
|
|
$(package)_config_opts += -hostprefix $(build_prefix) |
|
|
@ -46,7 +46,6 @@ $(package)_config_opts += -no-linuxfb |
|
|
|
$(package)_config_opts += -no-libudev |
|
|
|
$(package)_config_opts += -no-libudev |
|
|
|
$(package)_config_opts += -no-mitshm |
|
|
|
$(package)_config_opts += -no-mitshm |
|
|
|
$(package)_config_opts += -no-mtdev |
|
|
|
$(package)_config_opts += -no-mtdev |
|
|
|
$(package)_config_opts += -no-nis |
|
|
|
|
|
|
|
$(package)_config_opts += -no-pulseaudio |
|
|
|
$(package)_config_opts += -no-pulseaudio |
|
|
|
$(package)_config_opts += -no-openvg |
|
|
|
$(package)_config_opts += -no-openvg |
|
|
|
$(package)_config_opts += -no-reduce-relocations |
|
|
|
$(package)_config_opts += -no-reduce-relocations |
|
|
@ -125,6 +124,7 @@ endef |
|
|
|
|
|
|
|
|
|
|
|
define $(package)_preprocess_cmds |
|
|
|
define $(package)_preprocess_cmds |
|
|
|
sed -i.old "s|updateqm.commands = \$$$$\$$$$LRELEASE|updateqm.commands = $($(package)_extract_dir)/qttools/bin/lrelease|" qttranslations/translations/translations.pro && \
|
|
|
|
sed -i.old "s|updateqm.commands = \$$$$\$$$$LRELEASE|updateqm.commands = $($(package)_extract_dir)/qttools/bin/lrelease|" qttranslations/translations/translations.pro && \
|
|
|
|
|
|
|
|
sed -i.old "/updateqm.depends =/d" qttranslations/translations/translations.pro && \
|
|
|
|
sed -i.old "s/src_plugins.depends = src_sql src_xml src_network/src_plugins.depends = src_xml src_network/" qtbase/src/src.pro && \
|
|
|
|
sed -i.old "s/src_plugins.depends = src_sql src_xml src_network/src_plugins.depends = src_xml src_network/" qtbase/src/src.pro && \
|
|
|
|
sed -i.old "s|X11/extensions/XIproto.h|X11/X.h|" qtbase/src/plugins/platforms/xcb/qxcbxsettings.cpp && \
|
|
|
|
sed -i.old "s|X11/extensions/XIproto.h|X11/X.h|" qtbase/src/plugins/platforms/xcb/qxcbxsettings.cpp && \
|
|
|
|
sed -i.old 's/if \[ "$$$$XPLATFORM_MAC" = "yes" \]; then xspecvals=$$$$(macSDKify/if \[ "$$$$BUILD_ON_MAC" = "yes" \]; then xspecvals=$$$$(macSDKify/' qtbase/configure && \
|
|
|
|
sed -i.old 's/if \[ "$$$$XPLATFORM_MAC" = "yes" \]; then xspecvals=$$$$(macSDKify/if \[ "$$$$BUILD_ON_MAC" = "yes" \]; then xspecvals=$$$$(macSDKify/' qtbase/configure && \
|
|
|
@ -134,7 +134,6 @@ define $(package)_preprocess_cmds |
|
|
|
cp -f qtbase/mkspecs/macx-clang/Info.plist.app qtbase/mkspecs/macx-clang-linux/ &&\
|
|
|
|
cp -f qtbase/mkspecs/macx-clang/Info.plist.app qtbase/mkspecs/macx-clang-linux/ &&\
|
|
|
|
cp -f qtbase/mkspecs/macx-clang/qplatformdefs.h qtbase/mkspecs/macx-clang-linux/ &&\
|
|
|
|
cp -f qtbase/mkspecs/macx-clang/qplatformdefs.h qtbase/mkspecs/macx-clang-linux/ &&\
|
|
|
|
cp -f $($(package)_patch_dir)/mac-qmake.conf qtbase/mkspecs/macx-clang-linux/qmake.conf && \
|
|
|
|
cp -f $($(package)_patch_dir)/mac-qmake.conf qtbase/mkspecs/macx-clang-linux/qmake.conf && \
|
|
|
|
patch -p1 < $($(package)_patch_dir)/configure-xcoderun.patch && \
|
|
|
|
|
|
|
|
patch -p1 < $($(package)_patch_dir)/mingw-uuidof.patch && \
|
|
|
|
patch -p1 < $($(package)_patch_dir)/mingw-uuidof.patch && \
|
|
|
|
patch -p1 < $($(package)_patch_dir)/pidlist_absolute.patch && \
|
|
|
|
patch -p1 < $($(package)_patch_dir)/pidlist_absolute.patch && \
|
|
|
|
patch -p1 < $($(package)_patch_dir)/fix-xcb-include-order.patch && \
|
|
|
|
patch -p1 < $($(package)_patch_dir)/fix-xcb-include-order.patch && \
|
|
|
|