[packages/musescore] Version: 3.0.4
jajcus
jajcus at pld-linux.org
Sun Mar 10 17:19:07 CET 2019
commit 24e787ac5c576e21de6fa3930a707ecc6fbdeb55
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sun Mar 10 17:18:55 2019 +0100
Version: 3.0.4
do_not_bundle_qtwebengine.patch | 25 +++++++++++++++++++++++++
musescore.spec | 27 +++++++++++++++++----------
2 files changed, 42 insertions(+), 10 deletions(-)
---
diff --git a/musescore.spec b/musescore.spec
index 74980ac..64f4f1f 100644
--- a/musescore.spec
+++ b/musescore.spec
@@ -3,23 +3,24 @@
# http://ftp.osuosl.org/pub/musescore/soundfont/MuseScore_General/VERSION
%define soundfont_version 0.1.3
-%define min_qt_version 5.4.0
+%define min_qt_version 5.8.0
Summary: MuseScore - music notation software
Summary(pl.UTF-8): MuseScore - oprogramowanie do notacji muzycznej
Name: musescore
-Version: 2.3.2
-Release: 2
+Version: 3.0.4
+Release: 1
License: GPL v2
Group: Applications
Source0: https://github.com/musescore/MuseScore/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: db0370d384858653b3ea0670efb8b069
+# Source0-md5: d2d3cfb28c3da501118e5367eea389f2
Source1: http://ftp.osuosl.org/pub/musescore/soundfont/MuseScore_General/MuseScore_General.sf3
# Source1-md5: 3e02cc70ae6df3077d0003bbcb95456c
Source2: http://ftp.osuosl.org/pub/musescore/soundfont/MuseScore_General/MuseScore_General-License.md
# Source2-md5: 6ab9352030223f909bb36b8f067c7d26
Source3: http://ftp.osuosl.org/pub/musescore/soundfont/MuseScore_General/MuseScore_General-changelog.txt
# Source3-md5: 765c42a6d1186ae2a68873ade1ff829c
+Patch0: do_not_bundle_qtwebengine.patch
URL: https://musescore.org/
BuildRequires: Qt5Concurrent-devel >= %{min_qt_version}
BuildRequires: Qt5Core-devel >= %{min_qt_version}
@@ -35,12 +36,12 @@ BuildRequires: Qt5Sql-devel >= %{min_qt_version}
BuildRequires: Qt5Svg-devel >= %{min_qt_version}
BuildRequires: Qt5Test-devel >= %{min_qt_version}
BuildRequires: Qt5UiTools-devel >= %{min_qt_version}
-BuildRequires: Qt5WebKit-devel
+BuildRequires: Qt5WebEngine-devel >= %{min_qt_version}
BuildRequires: Qt5Widgets-devel >= %{min_qt_version}
BuildRequires: Qt5Xml-devel >= %{min_qt_version}
BuildRequires: Qt5XmlPatterns-devel >= %{min_qt_version}
BuildRequires: alsa-lib-devel
-BuildRequires: cmake >= 2.8.7
+BuildRequires: cmake >= 3.3.0
BuildRequires: doxygen
BuildRequires: freetype-devel >= 2.5.2
BuildRequires: jack-audio-connection-kit-devel >= 0.98
@@ -54,6 +55,11 @@ BuildRequires: qt5-linguist
BuildRequires: texlive-latex
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+# broken:
+# extracting debug info from /home/users/jajcus/tmp/musescore-3.0.4-root-jajcus/usr/bin/mscore
+# /usr/lib/rpm/bin/debugedit: canonicalization unexpectedly shrank by one character
+%define _enable_debug_packages 0
+
%description
MuseScore is an open source and free music notation software.
@@ -73,6 +79,8 @@ Features:
%prep
%setup -q -n MuseScore-%{version}
+%patch0 -p1
+
cp -p %{SOURCE1} %{SOURCE2} %{SOURCE3} share/sound
echo "%{soundfont_version}" > share/sound/VERSION
@@ -93,9 +101,7 @@ CXXFLAGS="%{rpmcxxflags} -DNDEBUG -DQT_NO_DEBUG -fPIC" \
-DDOWNLOAD_SOUNDFONT="OFF" \
-DUSE_SYSTEM_FREETYPE="ON" \
-DBUILD_PORTMIDI="OFF" \
-%ifarch x32
- -DBUILD_WEBKIT="OFF" \
-%endif
+ -DBUILD_CRASH_REPORTER="FALSE" \
..
%{__make} lrelease
@@ -129,10 +135,11 @@ rm -rf $RPM_BUILD_ROOT
%doc README.md Compatibility
%attr(755,root,root) %{_bindir}/mscore
%attr(755,root,root) %{_bindir}/musescore
-%{_datadir}/mscore-2.3
+%{_datadir}/mscore-3.0
%{_desktopdir}/mscore.desktop
%{_iconsdir}/*/*/apps/*
%{_iconsdir}/*/*/mimetypes/*
%{_mandir}/man1/mscore.1*
%{_mandir}/man1/musescore.1*
%{_datadir}/mime/packages/musescore.xml
+%{_datadir}/appdata/mscore.appdata.xml
diff --git a/do_not_bundle_qtwebengine.patch b/do_not_bundle_qtwebengine.patch
new file mode 100644
index 0000000..2c11b4b
--- /dev/null
+++ b/do_not_bundle_qtwebengine.patch
@@ -0,0 +1,25 @@
+diff -dur MuseScore-3.0.4.orig/mscore/CMakeLists.txt MuseScore-3.0.4/mscore/CMakeLists.txt
+--- MuseScore-3.0.4.orig/mscore/CMakeLists.txt 2019-02-28 12:31:10.000000000 +0100
++++ MuseScore-3.0.4/mscore/CMakeLists.txt 2019-03-10 16:43:03.375054036 +0100
+@@ -699,21 +699,6 @@
+ else (MINGW)
+
+ if ( NOT MSVC )
+-## install qwebengine core
+- if (NOT APPLE AND USE_WEBENGINE)
+- install(FILES
+- ${QT_INSTALL_LIBEXECS}/QtWebEngineProcess
+- DESTINATION bin
+- )
+- install(DIRECTORY
+- ${QT_INSTALL_DATA}/resources
+- DESTINATION lib/qt5
+- )
+- install(DIRECTORY
+- ${QT_INSTALL_TRANSLATIONS}/qtwebengine_locales
+- DESTINATION lib/qt5/translations
+- )
+- endif(NOT APPLE AND USE_WEBENGINE)
+
+ target_link_libraries(mscore
+ ${ALSA_LIB}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/musescore.git/commitdiff/24e787ac5c576e21de6fa3930a707ecc6fbdeb55
More information about the pld-cvs-commit
mailing list