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:
parent
fc3d852054
commit
261dd0eb90
25
musescore-fix_qtwebengine.patch
Normal file
25
musescore-fix_qtwebengine.patch
Normal 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)
|
||||||
|
|
@ -2,7 +2,7 @@
|
|||||||
Fri Jan 4 15:26:32 UTC 2019 - Cor Blom <cornelis@solcon.nl>
|
Fri Jan 4 15:26:32 UTC 2019 - Cor Blom <cornelis@solcon.nl>
|
||||||
|
|
||||||
- Add musescore-fix_build_parameters.patch and musescore-fix_prefix.patch
|
- 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>
|
Fri Jan 4 14:35:14 UTC 2019 - Cor Blom <cornelis@solcon.nl>
|
||||||
|
@ -36,6 +36,7 @@ Source0: https://github.com/musescore/MuseScore/archive/v%{version_lesser
|
|||||||
Source1: %{rname}.desktop
|
Source1: %{rname}.desktop
|
||||||
Patch0: %{name}-fix_prefix.patch
|
Patch0: %{name}-fix_prefix.patch
|
||||||
Patch1: %{name}-fix_build_parameters.patch
|
Patch1: %{name}-fix_build_parameters.patch
|
||||||
|
Patch2: %{name}-fix_qtwebengine.patch
|
||||||
BuildRequires: alsa-devel
|
BuildRequires: alsa-devel
|
||||||
BuildRequires: cmake >= 3.0
|
BuildRequires: cmake >= 3.0
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -77,6 +78,7 @@ Additional fonts for use by the MuseScore music notation program.
|
|||||||
%setup -q -n MuseScore-%{version_lesser}
|
%setup -q -n MuseScore-%{version_lesser}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch2 -p0
|
||||||
|
|
||||||
# remove precompiled binary
|
# remove precompiled binary
|
||||||
rm thirdparty/rtf2html/rtf2html
|
rm thirdparty/rtf2html/rtf2html
|
||||||
|
Loading…
Reference in New Issue
Block a user