From 72b125cc85309a0c66f5d24df2e3feec6992157afd652ef06394e71d3490a406 Mon Sep 17 00:00:00 2001 From: Cor Blom Date: Sat, 17 Dec 2022 11:20:38 +0000 Subject: [PATCH] - Do not build crashpad and remove the prebuilt crashpad binary OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/musescore?expand=0&rev=113 --- musescore.changes | 5 +++++ musescore.spec | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/musescore.changes b/musescore.changes index 2c556ad..1931c9d 100644 --- a/musescore.changes +++ b/musescore.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Dec 17 11:19:50 UTC 2022 - Cor Blom + +- Do not build crashpad and remove the prebuilt crashpad binary + ------------------------------------------------------------------- Fri Dec 16 21:35:50 UTC 2022 - Cor Blom diff --git a/musescore.spec b/musescore.spec index c79d821..bfccc82 100644 --- a/musescore.spec +++ b/musescore.spec @@ -133,8 +133,8 @@ mv -f tmpfile thirdparty/rtf2html/README.ru -DCMAKE_BUILD_TYPE=RELEASE \ -DMUSESCORE_BUILD_CONFIG=release \ -DBUILD_UNIT_TESTS=OFF \ - -DUSE_SYSTEM_FREETYPE="ON" \ - -DBUILD_TELEMETRY_MODULE=OFF \ + -DUSE_SYSTEM_FREETYPE=ON \ + -DBUILD_CRASHPAD_CLIENT=OFF \ -DMUSESCORE_REVISION=%{revision} %make_jobs @@ -168,6 +168,8 @@ install -p -m 644 demos/*.mscz %{buildroot}%{_datadir}/%{rname}-%{version_lesser # Remove opus devel files, they are provided by system rm -rf %{buildroot}%{_includedir}/opus +# Delete crashpad binary +rm -rf %{buildroot}/usr/bin/crashpad_handler # collect doc files install -d -m 755 %{buildroot}%docdir @@ -208,7 +210,6 @@ install -p -m 644 share/wallpapers/COPYRIGHT %{buildroot}%docdir/COPYIN %files %license LICENSE.GPL -%{_bindir}/crashpad_handler %{_bindir}/%{rname} %{_datadir}/metainfo/org.musescore.MuseScore.appdata.xml %{_datadir}/applications/org.musescore.MuseScore.desktop