- Do not build with qtwebengine on ppc and ppcle
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/musescore?expand=0&rev=95
This commit is contained in:
parent
cf6e155696
commit
1cc46fec4d
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 25 12:38:29 UTC 2021 - Cor Blom <cornelis@solcon.nl>
|
||||
|
||||
- Do not build with qtwebengine on ppc and ppcle
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 25 12:13:06 UTC 2021 - Cor Blom <cornelis@solcon.nl>
|
||||
|
||||
|
@ -16,6 +16,12 @@
|
||||
#
|
||||
|
||||
|
||||
%ifarch ppc64 ppc64le
|
||||
%define qtwebengine 0
|
||||
%else
|
||||
%define qtwebengine 1
|
||||
%endif
|
||||
|
||||
# Internal QML imports
|
||||
%global __requires_exclude qmlimport\\((MuseScore|FileIO).*
|
||||
|
||||
@ -66,9 +72,11 @@ BuildRequires: pkgconfig(Qt5Sql)
|
||||
BuildRequires: pkgconfig(Qt5Svg)
|
||||
BuildRequires: pkgconfig(Qt5Test)
|
||||
BuildRequires: pkgconfig(Qt5UiTools)
|
||||
%if %qtwebengine
|
||||
BuildRequires: pkgconfig(Qt5WebEngine)
|
||||
BuildRequires: pkgconfig(Qt5WebEngineCore)
|
||||
BuildRequires: pkgconfig(Qt5WebEngineWidgets)
|
||||
%endif
|
||||
BuildRequires: pkgconfig(Qt5Widgets)
|
||||
BuildRequires: pkgconfig(Qt5Xml)
|
||||
BuildRequires: pkgconfig(Qt5XmlPatterns)
|
||||
@ -128,7 +136,9 @@ mv -f tmpfile thirdparty/portmidi/README.txt
|
||||
-DCMAKE_BUILD_TYPE=RELEASE \
|
||||
-DMUSESCORE_BUILD_CONFIG=release \
|
||||
-DUSE_SYSTEM_FREETYPE="ON" \
|
||||
%if %qtwebengine
|
||||
-DBUILD_WEBENGINE="ON" \
|
||||
%endif
|
||||
-DBUILD_TELEMETRY_MODULE=OFF \
|
||||
-DMUSESCORE_REVISION=%{revision}
|
||||
%make_jobs lrelease all
|
||||
|
Loading…
Reference in New Issue
Block a user