diff options
author | nia <nia@pkgsrc.org> | 2019-10-16 23:22:08 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2019-10-16 23:22:08 +0000 |
commit | defa169dfab54415626062bb1358f0abcf4c9913 (patch) | |
tree | a50aeb0c969d1a24b88523a310bc55e358b385ad /audio/musescore/patches | |
parent | ff66107da312cd3b33a4a114a50a26f55045ab26 (diff) | |
download | pkgsrc-defa169dfab54415626062bb1358f0abcf4c9913.tar.gz |
Add audio/musescore.
MuseScore is an open source and free music notation software.
Features:
* WYSIWYG design, notes are entered on a "virtual notepaper"
* TrueType font(s) for printing & display allows for high quality scaling
to all sizes
* Easy & fast note entry
* Many editing functions
* MusicXML import/export
* MIDI (SMF) import/export
* MuseData import
* MIDI input for note entry
* Integrated sequencer and software synthesizer to play the score
* Print or create pdf files
Diffstat (limited to 'audio/musescore/patches')
-rw-r--r-- | audio/musescore/patches/patch-CMakeLists.txt | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/audio/musescore/patches/patch-CMakeLists.txt b/audio/musescore/patches/patch-CMakeLists.txt new file mode 100644 index 00000000000..988f9cbfd06 --- /dev/null +++ b/audio/musescore/patches/patch-CMakeLists.txt @@ -0,0 +1,47 @@ +$NetBSD: patch-CMakeLists.txt,v 1.1 2019/10/16 23:22:08 nia Exp $ + +Never compress man pages. + +Use CMAKE_INSTALL_MANDIR. + +--- CMakeLists.txt.orig 2019-07-06 09:44:00.000000000 +0000 ++++ CMakeLists.txt +@@ -663,7 +663,7 @@ if (NOT MINGW AND NOT MSVC AND NOT APPLE + # Compress man pages if gzip is installed (don't on OpenBSD) + # Note: Compressing man pages is normal on Linux but not OpenBSD + find_program( GZIP_EXECUTABLE gzip DOC "A tool for compressing manpages (optional)." ) +- if (GZIP_EXECUTABLE AND NOT CMAKE_SYSTEM_NAME MATCHES "OpenBSD") ++ if (FALSE) + message(STATUS "Found 'gzip'. Man pages will be compressed.") + set(MAN_TARGET ${MAN_BUILD}) + set(MAN_EXTENSION ${MAN_EXTENSION}.gz) +@@ -680,7 +680,7 @@ if (NOT MINGW AND NOT MSVC AND NOT APPLE + COMMAND echo "Man pages have been compressed ready for installation." + VERBATIM + ) +- else (GZIP_EXECUTABLE AND NOT CMAKE_SYSTEM_NAME MATCHES "OpenBSD") ++ else (FALSE) + if (CMAKE_SYSTEM_NAME MATCHES "OpenBSD") + message(STATUS "System is OpenBSD: Man pages will not be compressed.") + else (CMAKE_SYSTEM_NAME MATCHES "OpenBSD") +@@ -690,9 +690,9 @@ if (NOT MINGW AND NOT MSVC AND NOT APPLE + COMMAND echo "Man pages will be installed uncompressed." + VERBATIM + ) +- endif (GZIP_EXECUTABLE AND NOT CMAKE_SYSTEM_NAME MATCHES "OpenBSD") ++ endif (FALSE) + # Install man pages in either compressed or uncompressed form +- install( FILES ${MAN_BUILD} DESTINATION share/man/man1 COMPONENT doc) ++ install( FILES ${MAN_BUILD} DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 COMPONENT doc) + # Create symlink alias for man pages so `man musescore` = `man mscore` + find_program( LN_EXECUTABLE ln DOC "A tool for creating symbolic link aliases (optional)." ) + if (LN_EXECUTABLE) +@@ -703,7 +703,7 @@ if (NOT MINGW AND NOT MSVC AND NOT APPLE + COMMAND ${LN_EXECUTABLE} -sf "${MAN_FULL_NAME}" "${MAN_FULL_ALIAS}" + COMMAND echo 'Symlink alias: ${MAN_FULL_ALIAS} -> ${MAN_FULL_NAME}' + ) +- install( FILES ${PROJECT_BINARY_DIR}/${MAN_FULL_ALIAS} DESTINATION share/man/man1 COMPONENT doc) ++ install( FILES ${PROJECT_BINARY_DIR}/${MAN_FULL_ALIAS} DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 COMPONENT doc) + else (LN_EXECUTABLE) + message(STATUS "'ln' not found (it is optional). No symlink aliases will be created.") + endif (LN_EXECUTABLE) |