SHA256
1
0
forked from pool/musescore

- Update to 3.3.2:

* "Save online" failed in some cases
- Add patches to make qtwebengine work: use-qtmake-qt5.patch and
  use-system-qtwebengine-files.patch

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/musescore?expand=0&rev=63
This commit is contained in:
Cor Blom
2019-11-15 11:31:17 +00:00
committed by Git OBS Bridge
parent 5b2fbe726f
commit 75a1fd01dc
3 changed files with 36 additions and 11 deletions

View File

@@ -35,8 +35,9 @@ Source1: %{rname}.desktop
# PATCH-FIX-UPSTREAM: see https://github.com/musescore/MuseScore/releases
Patch0: correct-revision.patch
# PATCH-FIX-OPENSUSE: really use qmake-qt5
# This is necessary to build QtWebEngineProcess
Patch1: use-qtmake-qt5.patch
# PATC-FIX-OPENSUSE: don't install qtwebengine files, they are not needed
Patch2: use-system-qtwebengine-files.patch
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gcc-c++
@@ -99,8 +100,7 @@ Additional fonts for use by the MuseScore music notation program.
%prep
%setup -q -n MuseScore-%{version}
%patch0 -p1
%patch1 -p1
%autopatch -p1
# fix EOL encoding
sed 's/\r$//' fonts/bravura/OFL-FAQ.txt > tmpfile
@@ -199,14 +199,6 @@ install -p -m 644 zerberus/README %{buildroot}%docdir/README
%files
%{_bindir}/%{name}
%{_bindir}/%{rname}
%{_bindir}/QtWebEngineProcess
%dir /usr/lib/qt5
%dir /usr/lib/qt5/resources
%dir /usr/lib/qt5/translations
%dir /usr/lib/qt5/translations/qtwebengine_locales
#/usr/lib/qt5/resources/icudtl.dat
/usr/lib/qt5/resources/qtwebengine*.pak
/usr/lib/qt5/translations/qtwebengine_locales/*.pak
%{_datadir}/metainfo/org.musescore.MuseScore.appdata.xml
%{_datadir}/applications/%{rname}.desktop
%{_datadir}/mime/packages/*