1 |
|
%ifarch %{ix86} |
2 |
|
%global nosse2_hack 1 |
3 |
|
## TODO: |
4 |
|
# * consider debian's approach of runtime detection instead: |
5 |
|
# https://codereview.qt-project.org/#/c/127354/ |
6 |
|
%endif |
7 |
|
|
8 |
%define snapshot 0 |
%define snapshot 0 |
9 |
|
|
10 |
%ifarch %{arm} |
%ifarch %{arm} |
17 |
%define qtminor 6 |
%define qtminor 6 |
18 |
%define qtsubminor 2 |
%define qtsubminor 2 |
19 |
|
|
20 |
%define rel 1 |
%define rel 2 |
21 |
%define pre rc |
%define pre rc |
22 |
%define qtversion %{qtmajor}.%{qtminor}.%{qtsubminor} |
%define qtversion %{qtmajor}.%{qtminor}.%{qtsubminor} |
23 |
|
|
63 |
Conflicts: %{_lib}qt5qml-private-devel < 5.5.0-3 |
Conflicts: %{_lib}qt5qml-private-devel < 5.5.0-3 |
64 |
|
|
65 |
#Branch Patchs |
#Branch Patchs |
66 |
|
# support no_sse2 CONFIG (i586 builds cannot assume -march=pentium4 -msse2 -mfpmath=sse flags, or the JIT that needs them) |
67 |
|
# https://codereview.qt-project.org/#change,73710 |
68 |
|
Patch1: qtdeclarative-opensource-src-5.7.0-no_sse2.patch |
69 |
|
|
70 |
#Trunk Patchs |
#Trunk Patchs |
71 |
|
|
340 |
%prep |
%prep |
341 |
%setup -q -n qtdeclarative-opensource-src-%{qtversion} |
%setup -q -n qtdeclarative-opensource-src-%{qtversion} |
342 |
|
|
343 |
|
%if 0%{?nosse2_hack} |
344 |
|
%patch1 -p1 -b .no_sse2 |
345 |
|
%endif |
346 |
|
|
347 |
%build |
%build |
348 |
%qmake_qt5 |
%qmake_qt5 |
349 |
|
|