diff --git a/musescore-fix_qtwebengine.patch b/musescore-fix_qtwebengine.patch new file mode 100644 index 0000000..67afb63 --- /dev/null +++ b/musescore-fix_qtwebengine.patch @@ -0,0 +1,25 @@ +--- mscore/CMakeLists.txt 2018-09-22 09:46:34.000000000 +0200 ++++ mscore/CMakeLists.txt 2018-09-25 13:49:14.487388370 +0200 +@@ -663,16 +663,16 @@ + ## install qwebengine core + if (NOT APPLE AND USE_WEBENGINE) + install(FILES +- ${QT_INSTALL_LIBEXECS}/QtWebEngineProcess +- DESTINATION bin ++ /usr/lib64/qt5/libexec/QtWebEngineProcess ++ DESTINATION /usr/lib64/qt5/libexec/ + ) + install(DIRECTORY +- ${QT_INSTALL_DATA}/resources +- DESTINATION lib/qt5 ++ /usr/share/qt5/resources ++ DESTINATION /usr/share/qt5/ + ) + install(DIRECTORY +- ${QT_INSTALL_TRANSLATIONS}/qtwebengine_locales +- DESTINATION lib/qt5/translations ++ /usr/share/qt5/translations/qtwebengine_locales ++ DESTINATION /usr/share/qt5/translations/ + ) + endif(NOT APPLE AND USE_WEBENGINE) + diff --git a/musescore.changes b/musescore.changes index 2deadff..5982c70 100644 --- a/musescore.changes +++ b/musescore.changes @@ -2,7 +2,7 @@ Fri Jan 4 15:26:32 UTC 2019 - Cor Blom - Add musescore-fix_build_parameters.patch and musescore-fix_prefix.patch - to fix build. + and musescore-fix_qtwebengine.patch to fix build. ------------------------------------------------------------------- Fri Jan 4 14:35:14 UTC 2019 - Cor Blom diff --git a/musescore.spec b/musescore.spec index 81295e6..f3e4b42 100644 --- a/musescore.spec +++ b/musescore.spec @@ -36,6 +36,7 @@ Source0: https://github.com/musescore/MuseScore/archive/v%{version_lesser Source1: %{rname}.desktop Patch0: %{name}-fix_prefix.patch Patch1: %{name}-fix_build_parameters.patch +Patch2: %{name}-fix_qtwebengine.patch BuildRequires: alsa-devel BuildRequires: cmake >= 3.0 BuildRequires: gcc-c++ @@ -77,6 +78,7 @@ Additional fonts for use by the MuseScore music notation program. %setup -q -n MuseScore-%{version_lesser} %patch0 -p1 %patch1 -p1 +%patch2 -p0 # remove precompiled binary rm thirdparty/rtf2html/rtf2html