SHA256
1
0
forked from pool/musescore

and musescore-fix_qtwebengine.patch to fix build.

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/musescore?expand=0&rev=9
This commit is contained in:
Cor Blom 2019-01-04 15:40:31 +00:00 committed by Git OBS Bridge
parent fc3d852054
commit 261dd0eb90
3 changed files with 28 additions and 1 deletions

View File

@ -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)

View File

@ -2,7 +2,7 @@
Fri Jan 4 15:26:32 UTC 2019 - Cor Blom <cornelis@solcon.nl>
- 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 <cornelis@solcon.nl>

View File

@ -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