multimedia/MuseScore: build and README update
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
63ba647c7e
commit
f72032fc3b
|
@ -75,28 +75,31 @@ cp $CWD/MuseScore_General.sf3 share/sound
|
||||||
# so turn it off in CMakeLists.txt
|
# so turn it off in CMakeLists.txt
|
||||||
sed -i '/(BUILD_CRASH_REPORTER/s|ON)|OFF)|' CMakeLists.txt
|
sed -i '/(BUILD_CRASH_REPORTER/s|ON)|OFF)|' CMakeLists.txt
|
||||||
sed -i 's|share/man|man|' CMakeLists.txt
|
sed -i 's|share/man|man|' CMakeLists.txt
|
||||||
#musescore doesn't like to build with webengine with qt4 installed
|
|
||||||
#because the qmake finder finds the qt4 version. lets patch this
|
|
||||||
sed -i 's/qmake)/qmake-qt5)/g' build/FindQt5.cmake
|
|
||||||
|
|
||||||
make -j11 revision
|
mkdir b
|
||||||
|
cd b
|
||||||
|
cmake \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DCMAKE_C_FLAGS_RELEASE="$SLKCFLAGS" \
|
||||||
|
-DCMAKE_CXX_FLAGS_RELEASE="$SLKCFLAGS" \
|
||||||
|
-DCMAKE_MODULE_LINKER_FLAGS_RELEASE="-pthread" \
|
||||||
|
-DMUSESCORE_BUILD_CONFIG=release \
|
||||||
|
-DDOWNLOAD_SOUNDFONT=OFF \
|
||||||
|
-DUSE_SYSTEM_FREETYPE=ON \
|
||||||
|
-DBUILD_WEBENGINE=OFF \
|
||||||
|
-DBUILD_TELEMETRY_MODULE=OFF \
|
||||||
|
-DBUILD_PORTAUDIO=ON \
|
||||||
|
-DBUILD_PORTMIDI=ON \
|
||||||
|
-DQMAKE=/usr/lib"${LIBDIRSUFFIX}"/qt5/bin/qmake \
|
||||||
|
-DQT_QMAKE_EXECUTABLE=/usr/lib"${LIBDIRSUFFIX}"/qt5/bin/qmake \
|
||||||
|
..
|
||||||
|
|
||||||
make -j11 release \
|
|
||||||
PREFIX=/usr \
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
|
||||||
LDFLAGS="-pthread" \
|
|
||||||
MUSESCORE_BUILD_CONFIG=release \
|
|
||||||
DOWNLOAD_SOUNDFONT=OFF \
|
|
||||||
USE_SYSTEM_FREETYPE=ON \
|
|
||||||
DBUILD_WEBENGINE=OFF \
|
|
||||||
DBUILD_TELEMETRY_MODULE=OFF \
|
|
||||||
VERBOSE=1
|
|
||||||
make install \
|
make install \
|
||||||
-C build.release \
|
|
||||||
DESTDIR=$PKG \
|
DESTDIR=$PKG \
|
||||||
UPDATE_CACHE=FALSE
|
UPDATE_CACHE=FALSE
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
|
||||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,5 @@ program, licenced under GNU GPL. Features:
|
||||||
* easy and fast note entry with mouse, keyboard or midi
|
* easy and fast note entry with mouse, keyboard or midi
|
||||||
* integrated sequencer and FluidSynth software synthesizer
|
* integrated sequencer and FluidSynth software synthesizer
|
||||||
* import and export of MusicXml and standard midifiles (SMF)
|
* import and export of MusicXml and standard midifiles (SMF)
|
||||||
* platform independent code for Linux, Windows and Mac
|
* platform independent code for Linux, Windows, Mac
|
||||||
|
|
||||||
Optional dependency: portaudio
|
|
||||||
|
|
Loading…
Reference in New Issue