- 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:
Cor Blom 2021-04-25 12:38:42 +00:00 committed by Git OBS Bridge
parent cf6e155696
commit 1cc46fec4d
2 changed files with 15 additions and 0 deletions

View File

@ -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> Sun Apr 25 12:13:06 UTC 2021 - Cor Blom <cornelis@solcon.nl>

View File

@ -16,6 +16,12 @@
# #
%ifarch ppc64 ppc64le
%define qtwebengine 0
%else
%define qtwebengine 1
%endif
# Internal QML imports # Internal QML imports
%global __requires_exclude qmlimport\\((MuseScore|FileIO).* %global __requires_exclude qmlimport\\((MuseScore|FileIO).*
@ -66,9 +72,11 @@ BuildRequires: pkgconfig(Qt5Sql)
BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(Qt5Test) BuildRequires: pkgconfig(Qt5Test)
BuildRequires: pkgconfig(Qt5UiTools) BuildRequires: pkgconfig(Qt5UiTools)
%if %qtwebengine
BuildRequires: pkgconfig(Qt5WebEngine) BuildRequires: pkgconfig(Qt5WebEngine)
BuildRequires: pkgconfig(Qt5WebEngineCore) BuildRequires: pkgconfig(Qt5WebEngineCore)
BuildRequires: pkgconfig(Qt5WebEngineWidgets) BuildRequires: pkgconfig(Qt5WebEngineWidgets)
%endif
BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5Xml) BuildRequires: pkgconfig(Qt5Xml)
BuildRequires: pkgconfig(Qt5XmlPatterns) BuildRequires: pkgconfig(Qt5XmlPatterns)
@ -128,7 +136,9 @@ mv -f tmpfile thirdparty/portmidi/README.txt
-DCMAKE_BUILD_TYPE=RELEASE \ -DCMAKE_BUILD_TYPE=RELEASE \
-DMUSESCORE_BUILD_CONFIG=release \ -DMUSESCORE_BUILD_CONFIG=release \
-DUSE_SYSTEM_FREETYPE="ON" \ -DUSE_SYSTEM_FREETYPE="ON" \
%if %qtwebengine
-DBUILD_WEBENGINE="ON" \ -DBUILD_WEBENGINE="ON" \
%endif
-DBUILD_TELEMETRY_MODULE=OFF \ -DBUILD_TELEMETRY_MODULE=OFF \
-DMUSESCORE_REVISION=%{revision} -DMUSESCORE_REVISION=%{revision}
%make_jobs lrelease all %make_jobs lrelease all