From 1cc46fec4ddd4acf9721cfea7ce4a48e8c2c82f9963c67ff82df7339ebe243a0 Mon Sep 17 00:00:00 2001 From: Cor Blom Date: Sun, 25 Apr 2021 12:38:42 +0000 Subject: [PATCH] - Do not build with qtwebengine on ppc and ppcle OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/musescore?expand=0&rev=95 --- musescore.changes | 5 +++++ musescore.spec | 10 ++++++++++ 2 files changed, 15 insertions(+) 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