diff --git a/musescore.changes b/musescore.changes index c3268f1..4cb8986 100644 --- a/musescore.changes +++ b/musescore.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Apr 25 12:38:29 UTC 2021 - Cor Blom + +- Do not build with qtwebengine on ppc and ppcle + ------------------------------------------------------------------- Sun Apr 25 12:13:06 UTC 2021 - Cor Blom diff --git a/musescore.spec b/musescore.spec index 2a5f33a..280a4b0 100644 --- a/musescore.spec +++ b/musescore.spec @@ -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