- 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
This commit is contained in:
Cor Blom 2022-12-17 11:20:38 +00:00 committed by Git OBS Bridge
parent 6675fcbfc0
commit 72b125cc85
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Dec 17 11:19:50 UTC 2022 - Cor Blom <cornelis@solcon.nl>
- Do not build crashpad and remove the prebuilt crashpad binary
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 16 21:35:50 UTC 2022 - Cor Blom <cornelis@solcon.nl> Fri Dec 16 21:35:50 UTC 2022 - Cor Blom <cornelis@solcon.nl>

View File

@ -133,8 +133,8 @@ mv -f tmpfile thirdparty/rtf2html/README.ru
-DCMAKE_BUILD_TYPE=RELEASE \ -DCMAKE_BUILD_TYPE=RELEASE \
-DMUSESCORE_BUILD_CONFIG=release \ -DMUSESCORE_BUILD_CONFIG=release \
-DBUILD_UNIT_TESTS=OFF \ -DBUILD_UNIT_TESTS=OFF \
-DUSE_SYSTEM_FREETYPE="ON" \ -DUSE_SYSTEM_FREETYPE=ON \
-DBUILD_TELEMETRY_MODULE=OFF \ -DBUILD_CRASHPAD_CLIENT=OFF \
-DMUSESCORE_REVISION=%{revision} -DMUSESCORE_REVISION=%{revision}
%make_jobs %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 # Remove opus devel files, they are provided by system
rm -rf %{buildroot}%{_includedir}/opus rm -rf %{buildroot}%{_includedir}/opus
# Delete crashpad binary
rm -rf %{buildroot}/usr/bin/crashpad_handler
# collect doc files # collect doc files
install -d -m 755 %{buildroot}%docdir install -d -m 755 %{buildroot}%docdir
@ -208,7 +210,6 @@ install -p -m 644 share/wallpapers/COPYRIGHT %{buildroot}%docdir/COPYIN
%files %files
%license LICENSE.GPL %license LICENSE.GPL
%{_bindir}/crashpad_handler
%{_bindir}/%{rname} %{_bindir}/%{rname}
%{_datadir}/metainfo/org.musescore.MuseScore.appdata.xml %{_datadir}/metainfo/org.musescore.MuseScore.appdata.xml
%{_datadir}/applications/org.musescore.MuseScore.desktop %{_datadir}/applications/org.musescore.MuseScore.desktop