forked from pool/musescore
- Add musescore-fix_build_parameters.patch and musescore-fix_prefix.patch
to fix build. OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/musescore?expand=0&rev=8
This commit is contained in:
parent
9354aeb274
commit
fc3d852054
13
musescore-fix_build_parameters.patch
Normal file
13
musescore-fix_build_parameters.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: MuseScore-3.0/Makefile
|
||||
===================================================================
|
||||
--- MuseScore-3.0.orig/Makefile
|
||||
+++ MuseScore-3.0/Makefile
|
||||
@@ -38,7 +38,7 @@ USE_SYSTEM_FREETYPE="OFF" # Override wit
|
||||
COVERAGE="OFF" # Override with "ON" to enable.
|
||||
DOWNLOAD_SOUNDFONT="ON" # Override with "OFF" to disable latest soundfont download.
|
||||
|
||||
-UPDATE_CACHE="TRUE"# Override if building a DEB or RPM, or when installing to a non-standard location.
|
||||
+UPDATE_CACHE="FALSE"# Override if building a DEB or RPM, or when installing to a non-standard location.
|
||||
NO_RPATH="FALSE"# Package maintainers may want to override this (e.g. Debian)
|
||||
|
||||
#
|
13
musescore-fix_prefix.patch
Normal file
13
musescore-fix_prefix.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: MuseScore-3.0/Makefile
|
||||
===================================================================
|
||||
--- MuseScore-3.0.orig/Makefile
|
||||
+++ MuseScore-3.0/Makefile
|
||||
@@ -20,7 +20,7 @@
|
||||
REVISION := `cat mscore/revision.h`
|
||||
CPUS := $(shell getconf _NPROCESSORS_ONLN 2>/dev/null || getconf NPROCESSORS_ONLN 2>/dev/null || echo 1)
|
||||
|
||||
-PREFIX = "/usr/local"
|
||||
+PREFIX = "/usr"
|
||||
#VERSION = "3.0b-${REVISION}"
|
||||
VERSION = 3.0.0
|
||||
BUILD_NUMBER=""
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 4 14:35:14 UTC 2019 - Cor Blom <cornelis@solcon.nl>
|
||||
|
||||
|
@ -34,6 +34,8 @@ Group: Productivity/Multimedia/Sound/Editors and Convertors
|
||||
URL: https://musescore.org
|
||||
Source0: https://github.com/musescore/MuseScore/archive/v%{version_lesser}/MuseScore-%{version_lesser}.tar.gz
|
||||
Source1: %{rname}.desktop
|
||||
Patch0: %{name}-fix_prefix.patch
|
||||
Patch1: %{name}-fix_build_parameters.patch
|
||||
BuildRequires: alsa-devel
|
||||
BuildRequires: cmake >= 3.0
|
||||
BuildRequires: gcc-c++
|
||||
@ -73,6 +75,8 @@ Additional fonts for use by the MuseScore music notation program.
|
||||
|
||||
%prep
|
||||
%setup -q -n MuseScore-%{version_lesser}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
# remove precompiled binary
|
||||
rm thirdparty/rtf2html/rtf2html
|
||||
|
Loading…
Reference in New Issue
Block a user