update csound to 6.15.0.
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.
2020-10-06 02:26:51 +02:00
|
|
|
# $NetBSD: options.mk,v 1.3 2020/10/06 00:26:51 mrg Exp $
|
2019-12-07 11:24:02 +01:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.csound6
|
2019-12-08 03:01:07 +01:00
|
|
|
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
|
2019-12-07 11:24:02 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
2019-12-08 03:01:07 +01:00
|
|
|
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
|
update csound to 6.15.0.
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.
2020-10-06 02:26:51 +02:00
|
|
|
CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH=${BUILDLINK_PREFIX.portaudio}/include/portaudio2
|
2019-12-08 03:01:07 +01:00
|
|
|
CMAKE_ARGS+= -DCMAKE_LIBRARY_PATH=${BUILDLINK_PREFIX.portaudio}/lib/portaudio2
|
|
|
|
PLIST.portaudio= yes
|
|
|
|
.else
|
|
|
|
CMAKE_ARGS+= -DUSE_PORTAUDIO=OFF
|
|
|
|
.endif
|
|
|
|
|
2019-12-07 11:24:02 +01:00
|
|
|
PLIST_VARS+= pulseaudio
|
|
|
|
.if !empty(PKG_OPTIONS:Mpulseaudio)
|
|
|
|
.include "../../audio/pulseaudio/buildlink3.mk"
|
2019-12-08 03:01:07 +01:00
|
|
|
CMAKE_ARGS+= -DUSE_PULSEAUDIO=ON
|
2019-12-07 11:24:02 +01:00
|
|
|
PLIST.pulseaudio= yes
|
2019-12-08 03:01:07 +01:00
|
|
|
.else
|
|
|
|
CMAKE_ARGS+= -DUSE_PULSEAUDIO=OFF
|
2019-12-07 11:24:02 +01:00
|
|
|
.endif
|