Accepting request 1107806 from multimedia:apps

OBS-URL: https://build.opensuse.org/request/show/1107806
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/musescore?expand=0&rev=37
This commit is contained in:
Ana Guerrero 2023-08-30 08:19:35 +00:00 committed by Git OBS Bridge
commit 6c6a3750c3
2 changed files with 25 additions and 2 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Aug 28 14:11:38 UTC 2023 - Cor Blom <cornelis@solcon.nl>
- Add comment to exludearchline
-------------------------------------------------------------------
Wed Aug 16 18:13:55 UTC 2023 - Cor Blom <cornelis@solcon.nl>
- Build on 15.5 and older with newer gcc to make it build
- Build without explicitly setting revision. This is set automatically.
- Exclude not supported archs: aarch64 ppc64 ppc64le
-------------------------------------------------------------------
Tue Aug 15 19:15:21 UTC 2023 - Cor Blom <cornelis@solcon.nl>

View File

@ -22,7 +22,6 @@
%define _lto_cflags %{nil}
%define rname mscore
%define version_lesser 4.1
%define revision 5485621
%define fontdir %{_datadir}/fonts/%{name}
%define docdir %{_docdir}/%{name}
Name: musescore
@ -65,7 +64,12 @@ Source5: README.SUSE
Patch0: use-qtmake-qt5.patch
BuildRequires: cmake
BuildRequires: fdupes
%if 0%{?suse_version} < 1550 && 0%{?sle_version} <= 150500
BuildRequires: gcc12
BuildRequires: gcc12-c++
%else
BuildRequires: gcc-c++
%endif
BuildRequires: libqt5-linguist-devel
BuildRequires: libqt5-qtbase-private-headers-devel
%ifarch ppc64 ppc64le
@ -111,6 +115,9 @@ Requires: libqt5-qtgraphicaleffects
Requires: libqt5-qtquickcontrols2
Requires: ( alsa-plugins-pulse if pulseaudio )
Requires: ( pipewire-alsa if pipewire )
# For the following arch build fails in the crashpad client,
# Maybe repairable? Disabled until a solution is found by someone.
ExcludeArch: aarch64 ppc64 ppc64le
%description
MuseScore is a graphical music typesetter. It allows for note entry on a
@ -158,6 +165,11 @@ mv -f tmpfile thirdparty/rtf2html/README.ru
%limit_build -m 2000
%endif
%if 0%{?suse_version} < 1550 && 0%{?sle_version} <= 150500
export CC=gcc-12
export CXX=g++-12
%endif
%define __builddir build.release
# TODO:
# find out what those do:
@ -173,7 +185,6 @@ mv -f tmpfile thirdparty/rtf2html/README.ru
-DBUILD_JACK:BOOL=ON \
-DBUILD_UPDATE_MODULE:BOOL=OFF \
-DBUILD_CRASHPAD_CLIENT=OFF \
-DMUSESCORE_REVISION=%{revision} \
-Wno-dev
%cmake_build