py-jsonpickle is one of two choices available to serialize py-music21 objects. Add it by default, since it's a very small dependency. While here, add another explanatory comment to options.mk.
24 lines
812 B
Makefile
24 lines
812 B
Makefile
# $NetBSD: options.mk,v 1.3 2020/09/05 00:07:17 gutteridge Exp $
|
|
|
|
# print/lilypond and devel/py-game are optional because they pull in
|
|
# large and complex dependency chains that don't presently build in
|
|
# some environments.
|
|
|
|
# audio/musescore is also an application dependency that gets called
|
|
# by music21's show() method, but it's a pretty heavy dependency for
|
|
# some edge functionality, so it's been left off here.
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.py-music21
|
|
PKG_SUPPORTED_OPTIONS= lilypond py-game
|
|
PKG_SUGGESTED_OPTIONS= lilypond py-game
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mlilypond)
|
|
DEPENDS+= lilypond-[0-9]*:../../print/lilypond
|
|
.endif
|
|
|
|
# py-game is required for MIDI realtime playback.
|
|
.if !empty(PKG_OPTIONS:Mpy-game)
|
|
DEPENDS+= ${PYPKGPREFIX}-game-[0-9]*:../../devel/py-game
|
|
.endif
|