1
1
PACKAGE =qt
2
- $(package)_version =5.5.0
3
- $(package)_download_path =http://download.qt.io/official_releases/qt/5.5 /$($(package ) _version) /submodules
2
+ $(package)_version =5.6.1
3
+ $(package)_download_path =http://download.qt.io/official_releases/qt/5.6 /$($(package ) _version) /submodules
4
4
$(package)_suffix =opensource-src-$($(package ) _version) .tar.gz
5
5
$(package)_file_name =qtbase-$($(package ) _suffix)
6
- $(package)_sha256_hash =7e82b1318f88e56a2a9376e069aa608d4fd96b48cb0e1b880ae658b0a1af0561
6
+ $(package)_sha256_hash =0ac67cf8d66d52b995f96c31c4b48117a1afb3db99eaa93e20ccd8f7f55f7fde
7
7
$(package)_dependencies =openssl
8
8
$(package)_linux_dependencies =freetype fontconfig dbus libxcb libX11 xproto libXext
9
9
$(package)_build_subdir =qtbase
10
10
$(package)_qt_libs =corelib network widgets gui plugins testlib
11
- $(package)_patches =mac-qmake.conf fix-xcb-include-order.patch mingw-uuidof.patch pidlist_absolute .patch
11
+ $(package)_patches =mac-qmake.conf mingw-uuidof.patch pidlist_absolute.patch fix-xcb-include-order.patch fix_qt_pkgconfig .patch
12
12
13
13
$(package)_qttranslations_file_name =qttranslations-$($(package ) _suffix)
14
- $(package)_qttranslations_sha256_hash =c4bd6db6e426965c6f8824c54e81f68bbd61e2bae1bcadc328c6e81c45902a0d
14
+ $(package)_qttranslations_sha256_hash =dcc1534d247babca1840cb6d0a000671801a341ea352d0535474f86adadaf028
15
+
15
16
16
17
$(package)_qttools_file_name =qttools-$($(package ) _suffix)
17
- $(package)_qttools_sha256_hash =d9e06bd19ecc86afba5e95d45a906d1bc1ad579aa70001e36143c1aaf695bdd6
18
+ $(package)_qttools_sha256_hash =e0f845de28c31230dfa428f0190ccb3b91d1fc02481b1f064698ae4ef8376aa1
18
19
19
20
$(package)_extra_sources = $($(package ) _qttranslations_file_name)
20
21
$(package)_extra_sources += $($(package ) _qttools_file_name)
21
22
22
23
define $(package)_set_vars
23
24
$(package ) _config_opts_release = -release
24
25
$(package ) _config_opts_debug = -debug
25
- $(package ) _config_opts += -opensource -confirm-license
26
+ $(package ) _config_opts += -bindir $(build_prefix ) /bin
27
+ $(package ) _config_opts += -c++11
28
+ $(package ) _config_opts += -confirm-license
29
+ $(package ) _config_opts += -hostprefix $(build_prefix )
30
+ $(package ) _config_opts += -no-alsa
26
31
$(package ) _config_opts += -no-audio-backend
32
+ $(package ) _config_opts += -no-cups
33
+ $(package ) _config_opts += -no-egl
34
+ $(package ) _config_opts += -no-eglfs
35
+ $(package ) _config_opts += -no-feature-style-windowsmobile
36
+ $(package ) _config_opts += -no-feature-style-windowsce
37
+ $(package ) _config_opts += -no-freetype
38
+ $(package ) _config_opts += -no-gif
27
39
$(package ) _config_opts += -no-glib
40
+ $(package ) _config_opts += -no-gstreamer
28
41
$(package ) _config_opts += -no-icu
29
- $(package ) _config_opts += -no-cups
30
42
$(package ) _config_opts += -no-iconv
31
- $(package ) _config_opts += -no-gif
32
- $(package ) _config_opts += -no-freetype
43
+ $(package ) _config_opts += -no-kms
44
+ $(package ) _config_opts += -no-linuxfb
45
+ $(package ) _config_opts += -no-libudev
46
+ $(package ) _config_opts += -no-mitshm
47
+ $(package ) _config_opts += -no-mtdev
33
48
$(package ) _config_opts += -no-nis
34
- $(package ) _config_opts += -pch
49
+ $(package ) _config_opts += -no-pulseaudio
50
+ $(package ) _config_opts += -no-openvg
51
+ $(package ) _config_opts += -no-reduce-relocations
35
52
$(package ) _config_opts += -no-qml-debug
36
- $(package ) _config_opts += -nomake examples
37
- $(package ) _config_opts += -nomake tests
38
- $(package ) _config_opts += -no-feature-style-windowsmobile
39
- $(package ) _config_opts += -no-feature-style-windowsce
40
53
$(package ) _config_opts += -no-sql-db2
41
54
$(package ) _config_opts += -no-sql-ibase
42
55
$(package ) _config_opts += -no-sql-oci
@@ -46,36 +59,25 @@ $(package)_config_opts += -no-sql-odbc
46
59
$(package ) _config_opts += -no-sql-psql
47
60
$(package ) _config_opts += -no-sql-sqlite
48
61
$(package ) _config_opts += -no-sql-sqlite2
49
- $(package ) _config_opts += -prefix $(host_prefix )
50
- $(package ) _config_opts += -hostprefix $(build_prefix )
51
- $(package ) _config_opts += -bindir $(build_prefix ) /bin
52
- $(package ) _config_opts += -c++11
62
+ $(package ) _config_opts += -no-use-gold-linker
63
+ $(package ) _config_opts += -no-xinput2
64
+ $(package ) _config_opts += -no-xrender
65
+ $(package ) _config_opts += -nomake examples
66
+ $(package ) _config_opts += -nomake tests
67
+ $(package ) _config_opts += -opensource
53
68
$(package ) _config_opts += -openssl-linked
54
- $(package ) _config_opts += -v
55
- $(package ) _config_opts += -static
56
- $(package ) _config_opts += -silent
69
+ $(package ) _config_opts += -optimized-qmake
70
+ $(package ) _config_opts += -pch
57
71
$(package ) _config_opts += -pkg-config
72
+ $(package ) _config_opts += -prefix $(host_prefix )
58
73
$(package ) _config_opts += -qt-libpng
59
74
$(package ) _config_opts += -qt-libjpeg
60
- $(package ) _config_opts += -qt-zlib
61
75
$(package ) _config_opts += -qt-pcre
62
- $(package ) _config_opts += -no-pulseaudio
63
- $(package ) _config_opts += -no-openvg
64
- $(package ) _config_opts += -no-xrender
65
- $(package ) _config_opts += -no-alsa
66
- $(package ) _config_opts += -no-mtdev
67
- $(package ) _config_opts += -no-gstreamer
68
- $(package ) _config_opts += -no-mitshm
69
- $(package ) _config_opts += -no-kms
70
- $(package ) _config_opts += -no-reduce-relocations
71
- $(package ) _config_opts += -no-egl
72
- $(package ) _config_opts += -no-eglfs
73
- $(package ) _config_opts += -no-linuxfb
74
- $(package ) _config_opts += -no-xinput2
75
- $(package ) _config_opts += -no-libudev
76
- $(package ) _config_opts += -no-use-gold-linker
76
+ $(package ) _config_opts += -qt-zlib
77
77
$(package ) _config_opts += -reduce-exports
78
- $(package ) _config_opts += -optimized-qmake
78
+ $(package ) _config_opts += -static
79
+ $(package ) _config_opts += -silent
80
+ $(package ) _config_opts += -v
79
81
80
82
ifneq ($(build_os ) ,darwin)
81
83
$(package)_config_opts_darwin = -xplatform macx-clang-linux
@@ -119,6 +121,7 @@ define $(package)_extract_cmds
119
121
tar --strip-components=1 -xf $($(package ) _source_dir) /$($(package ) _qttools_file_name) -C qttools
120
122
endef
121
123
124
+
122
125
define $(package)_preprocess_cmds
123
126
sed -i.old "s|updateqm.commands = \$$$$\$$$$LRELEASE|updateqm.commands = $($(package ) _extract_dir) /qttools/bin/lrelease|" qttranslations/translations/translations.pro && \
124
127
sed -i.old "s/src_plugins.depends = src_sql src_xml src_network/src_plugins.depends = src_xml src_network/" qtbase/src/src.pro && \
@@ -130,9 +133,10 @@ define $(package)_preprocess_cmds
130
133
cp -f qtbase/mkspecs/macx-clang/Info.plist.app qtbase/mkspecs/macx-clang-linux/ &&\
131
134
cp -f qtbase/mkspecs/macx-clang/qplatformdefs.h qtbase/mkspecs/macx-clang-linux/ &&\
132
135
cp -f $($(package ) _patch_dir) /mac-qmake.conf qtbase/mkspecs/macx-clang-linux/qmake.conf && \
133
- patch -p1 < $($(package ) _patch_dir) /fix-xcb-include-order.patch && \
134
136
patch -p1 < $($(package ) _patch_dir) /mingw-uuidof.patch && \
135
137
patch -p1 < $($(package ) _patch_dir) /pidlist_absolute.patch && \
138
+ patch -p1 < $($(package ) _patch_dir) /fix-xcb-include-order.patch && \
139
+ patch -p1 < $($(package ) _patch_dir) /fix_qt_pkgconfig.patch && \
136
140
echo "QMAKE_CFLAGS += $($(package ) _cflags) $($(package ) _cppflags) " >> qtbase/mkspecs/common/gcc-base.conf && \
137
141
echo "QMAKE_CXXFLAGS += $($(package ) _cxxflags) $($(package ) _cppflags) " >> qtbase/mkspecs/common/gcc-base.conf && \
138
142
echo "QMAKE_LFLAGS += $($(package ) _ldflags) " >> qtbase/mkspecs/common/gcc-base.conf && \
0 commit comments