275985571f
changes from 6.14.0 include: - new opcodes: randc, mp3out, metro2, ftexists, schedulek, lastcycle, and strstrip - new array based channel opcodes: chngeti, chngetk, chngeta, chngets, chnseti, chnsetk, chnseta, and chnsets - terniary expressions only evaluate the chosen path now - orchestra macros persist in more places - modified opcodes: squinewave, pindex, sflooper, event_i, fluidControl, bpf, stsend, stecv, pvstrace, lpfreson, syncloop, bpfcs, zacl, outvalue, chnget, chnset, copya2ftab, syncloop, lowresx, and outch - // style comments allowed changes from 6.15.0 include: - new opcodes: ftset, lufs, bob (Moog analog based filter), sterrain, wterrain2, count, count_i, cntCreate, cntRead, cntReset, cntCycles, cntState, println, rndseed, arduinoStart, arduinoRead, arduinoStop, lpcfilter, lpcanal, allpole, pvslpc, pvscfs, apoleparams, resonbnk, gauss, pvsbandwidth, and vps - many orchestra fixes - modified opcodes: cent, semitone, taninv2, ftslice, ptable, GEN20, fprint(k)s, lastcycle, chn_k, trim, GEN16, scale, schedule, schedulek, GEN11, partials, ctrlinit, fin, and fink. - many bugs fixed this also fixes the build which broke recently for reasons i can't quite figure out. also PR#55696.
53 lines
1.3 KiB
Makefile
53 lines
1.3 KiB
Makefile
# $NetBSD: options.mk,v 1.3 2020/10/06 00:26:51 mrg Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.csound6
|
|
PKG_SUPPORTED_OPTIONS= jack portaudio pulseaudio
|
|
|
|
.include "../../mk/bsd.fast.prefs.mk"
|
|
|
|
.if ${OPSYS} == "Linux"
|
|
PKG_SUPPORTED_OPTIONS+= alsa
|
|
PKG_SUGGESTED_OPTIONS+= alsa
|
|
.elif ${OPSYS} != "Darwin" && ${OPSYS} != "Haiku"
|
|
PKG_SUGGESTED_OPTIONS+= portaudio
|
|
.endif
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PLIST_VARS+= alsa
|
|
.if !empty(PKG_OPTIONS:Malsa)
|
|
.include "../../audio/alsa-lib/buildlink3.mk"
|
|
CMAKE_ARGS+= -DUSE_ALSA=ON
|
|
PLIST.alsa= yes
|
|
.else
|
|
CMAKE_ARGS+= -DUSE_ALSA=OFF
|
|
.endif
|
|
|
|
PLIST_VARS+= jack
|
|
.if !empty(PKG_OPTIONS:Mjack)
|
|
.include "../../audio/jack/buildlink3.mk"
|
|
CMAKE_ARGS+= -DUSE_JACK=ON
|
|
PLIST.jack= yes
|
|
.else
|
|
CMAKE_ARGS+= -DUSE_JACK=OFF
|
|
.endif
|
|
|
|
PLIST_VARS+= portaudio
|
|
.if !empty(PKG_OPTIONS:Mportaudio)
|
|
.include "../../audio/portaudio/buildlink3.mk"
|
|
CMAKE_ARGS+= -DUSE_PORTAUDIO=ON
|
|
CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH=${BUILDLINK_PREFIX.portaudio}/include/portaudio2
|
|
CMAKE_ARGS+= -DCMAKE_LIBRARY_PATH=${BUILDLINK_PREFIX.portaudio}/lib/portaudio2
|
|
PLIST.portaudio= yes
|
|
.else
|
|
CMAKE_ARGS+= -DUSE_PORTAUDIO=OFF
|
|
.endif
|
|
|
|
PLIST_VARS+= pulseaudio
|
|
.if !empty(PKG_OPTIONS:Mpulseaudio)
|
|
.include "../../audio/pulseaudio/buildlink3.mk"
|
|
CMAKE_ARGS+= -DUSE_PULSEAUDIO=ON
|
|
PLIST.pulseaudio= yes
|
|
.else
|
|
CMAKE_ARGS+= -DUSE_PULSEAUDIO=OFF
|
|
.endif
|