forked from pool/musescore
Accepting request 745467 from multimedia:apps
- -DCMAKE_BUILD_TYPE=RELEASE need to be set explicitly (boo#1155809) - 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/request/show/745467 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/musescore?expand=0&rev=12
This commit is contained in:
commit
ad9caa544d
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 5 08:44:37 UTC 2019 - Cor Blom <cornelis@solcon.nl>
|
||||||
|
|
||||||
|
- -DCMAKE_BUILD_TYPE=RELEASE need to be set explicitly
|
||||||
|
(boo#1155809)
|
||||||
|
- 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>
|
Mon Nov 4 07:30:43 UTC 2019 - Cor Blom <cornelis@solcon.nl>
|
||||||
|
|
||||||
|
@ -34,27 +34,48 @@ Source0: https://github.com/musescore/MuseScore/archive/v%{version_lesser
|
|||||||
Source1: %{rname}.desktop
|
Source1: %{rname}.desktop
|
||||||
# PATCH-FIX-UPSTREAM: see https://github.com/musescore/MuseScore/releases
|
# PATCH-FIX-UPSTREAM: see https://github.com/musescore/MuseScore/releases
|
||||||
Patch0: correct-revision.patch
|
Patch0: correct-revision.patch
|
||||||
BuildRequires: alsa-devel
|
BuildRequires: cmake
|
||||||
BuildRequires: cmake >= 3.0
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: freetype2-devel
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: hicolor-icon-theme
|
BuildRequires: libQt5Help5
|
||||||
BuildRequires: jack-devel
|
BuildRequires: libQt5QuickTemplates2-devel
|
||||||
BuildRequires: libQt5WebKitWidgets-devel
|
|
||||||
BuildRequires: libmp3lame-devel
|
BuildRequires: libmp3lame-devel
|
||||||
BuildRequires: libpulse-devel
|
|
||||||
BuildRequires: libqt5-linguist-devel
|
BuildRequires: libqt5-linguist-devel
|
||||||
BuildRequires: libqt5-qtbase-devel
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: libqt5-qtsvg-devel
|
|
||||||
BuildRequires: libqt5-qttools-devel
|
|
||||||
BuildRequires: libqt5-qtwebengine-devel
|
|
||||||
BuildRequires: libqt5-qtxmlpatterns-devel
|
|
||||||
BuildRequires: libsndfile-devel
|
|
||||||
BuildRequires: libvorbis-devel
|
|
||||||
BuildRequires: portaudio-devel
|
|
||||||
BuildRequires: portmidi-devel
|
BuildRequires: portmidi-devel
|
||||||
BuildRequires: update-desktop-files
|
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: %{name}-fonts = %{version}-%{release}
|
||||||
Requires: libqt5-qtgraphicaleffects
|
Requires: libqt5-qtgraphicaleffects
|
||||||
Requires: libqt5-qtquickcontrols2
|
Requires: libqt5-qtquickcontrols2
|
||||||
@ -99,9 +120,9 @@ chmod -x fonts/gootville/readme.txt
|
|||||||
%build
|
%build
|
||||||
%define __builddir build.release
|
%define __builddir build.release
|
||||||
%cmake \
|
%cmake \
|
||||||
|
-DCMAKE_BUILD_TYPE=RELEASE \
|
||||||
-DUSE_SYSTEM_FREETYPE="ON" \
|
-DUSE_SYSTEM_FREETYPE="ON" \
|
||||||
-DBUILD_WEBENGINE="OFF" \
|
-DBUILD_WEBENGINE="OFF"
|
||||||
-DBUILD_CRASH_REPORTER="OFF"
|
|
||||||
%make_jobs lrelease all
|
%make_jobs lrelease all
|
||||||
|
|
||||||
# Put the desktop file in place for the packaging
|
# Put the desktop file in place for the packaging
|
||||||
|
Loading…
x
Reference in New Issue
Block a user