SHA256
1
0
forked from pool/musescore

- Convert BuildRequires to pkgconfig style and updated them according

to recommendations of upstream. It solves a couple of cmake errors
- Added reminder to look into qtwebengine support, which is not
  essential but nice to have. Enabling it gives a build error

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/musescore?expand=0&rev=52
This commit is contained in:
Cor Blom 2019-11-05 11:40:47 +00:00 committed by Git OBS Bridge
parent 83db088ba6
commit bca001fcbd
2 changed files with 37 additions and 27 deletions

View File

@ -3,9 +3,10 @@ Tue Nov 5 08:44:37 UTC 2019 - Cor Blom <cornelis@solcon.nl>
- -DCMAKE_BUILD_TYPE=RELEASE need to be set explicitly
(boo#1155809)
- Change libqt5-qtquickcontrols2 to BuildRequires (is needed for
build)
- Add BuildRequires: libQt5QuickTemplates-devel
- Convert BuildRequires to pkgconfig style and updated them according
to recommendations of upstream. It solves a couple of cmake errors
- Added reminder to look into qtwebengine support, which is not
essential but nice to have. Enabling it gives a build error
-------------------------------------------------------------------
Mon Nov 4 07:30:43 UTC 2019 - Cor Blom <cornelis@solcon.nl>

View File

@ -34,39 +34,48 @@ Source0: https://github.com/musescore/MuseScore/archive/v%{version_lesser
Source1: %{rname}.desktop
# PATCH-FIX-UPSTREAM: see https://github.com/musescore/MuseScore/releases
Patch0: correct-revision.patch
# TODO: move to pkgconfig style BuildRequires
BuildRequires: alsa-devel
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: freetype2-devel
BuildRequires: gcc-c++
BuildRequires: libQt5Concurrent-devel
BuildRequires: libQt5Core-devel
BuildRequires: libQt5Gui-devel
BuildRequires: libQt5Help5
BuildRequires: libQt5Network-devel
BuildRequires: libQt5OpenGL-devel
BuildRequires: libQt5PrintSupport-devel
BuildRequires: libQt5QuickControls2-devel
BuildRequires: libQt5QuickTemplates2-devel
BuildRequires: libQt5Sql-devel
BuildRequires: libQt5Test-devel
BuildRequires: libQt5Widgets-devel
BuildRequires: libQt5Xml-devel
BuildRequires: libjack-devel
BuildRequires: libmp3lame-devel
BuildRequires: libpulse-devel
BuildRequires: libqt5-linguist-devel
BuildRequires: libqt5-qtsvg-devel
BuildRequires: libqt5-qttools-devel
# TODO: why does it fail with qtwebengine?
#BuildRequires: libqt5-qtwebengine-devel
BuildRequires: libqt5-qtxmlpatterns-devel
BuildRequires: libsndfile-devel
BuildRequires: libvorbis-devel
BuildRequires: portaudio-devel
BuildRequires: pkgconfig
BuildRequires: portmidi-devel
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(Qt5Concurrent)
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Designer)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Help)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(Qt5OpenGL)
BuildRequires: pkgconfig(Qt5PrintSupport)
BuildRequires: pkgconfig(Qt5QuickControls2)
BuildRequires: pkgconfig(Qt5Sql)
BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(Qt5Test)
BuildRequires: pkgconfig(Qt5UiTools)
# TODO: why does it fail with qtwebengine?
#BuildRequires: pkgconfig(Qt5WebEngine)
BuildRequires: pkgconfig(Qt5WebEngineCore)
BuildRequires: pkgconfig(Qt5WebEngineWidgets)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5Xml)
BuildRequires: pkgconfig(Qt5XmlPatterns)
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(libpulse-mainloop-glib)
BuildRequires: pkgconfig(libpulse-simple)
BuildRequires: pkgconfig(portaudio-2.0)
BuildRequires: pkgconfig(portaudiocpp)
BuildRequires: pkgconfig(sndfile)
BuildRequires: pkgconfig(vorbis)
BuildRequires: pkgconfig(vorbisenc)
BuildRequires: pkgconfig(vorbisfile)
Requires: %{name}-fonts = %{version}-%{release}
Requires: libqt5-qtgraphicaleffects