diff options
Diffstat (limited to 'audio/stk/Makefile')
-rw-r--r-- | audio/stk/Makefile | 34 |
1 files changed, 24 insertions, 10 deletions
diff --git a/audio/stk/Makefile b/audio/stk/Makefile index 2a41aaff0f85..d42978ae4002 100644 --- a/audio/stk/Makefile +++ b/audio/stk/Makefile @@ -1,29 +1,43 @@ -# Created by: Yuri Victorovich <yuri@rawbw.com> - PORTNAME= stk -PORTVERSION= 4.6.1 -PORTREVISION= 2 +DISTVERSION= 5.0.1 CATEGORIES= audio MASTER_SITES= http://ccrma.stanford.edu/software/stk/release/ MAINTAINER= yuri@FreeBSD.org COMMENT= Synthesis ToolKit in C++ +WWW= https://ccrma.stanford.edu/software/stk LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -LIB_DEPENDS= libjack.so:audio/jack - -USES= autoreconf compiler:c++11-lang dos2unix gmake localbase pkgconfig +USES= compiler:c++11-lang dos2unix gmake localbase pkgconfig USE_LDCONFIG= yes -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-jack --with-oss + DOS2UNIX_GLOB= *.cpp *.h + +GNU_CONFIGURE= yes + MAKE_ARGS= RAWWAVES=${DATADIR}/rawwaves/ +LDFLAGS+= -pthread + +OPTIONS_RADIO= BACKEND +OPTIONS_RADIO_BACKEND= JACK OSS +OPTIONS_DEFAULT= JACK + +BACKEND_DESC= Audio Backend + +JACK_CONFIGURE_WITH= jack +JACK_LIB_DEPENDS= libjack.so:audio/jack + +OSS_CONFIGURE_WITH= oss +# OSS option appears to make real-time functionality in STK broken +# (example https://www.music.mcgill.ca/~gary/618/week2/node16.html), +# also see https://github.com/thestk/stk/issues/141#issuecomment-1673488078 + post-install: @cd ${WRKSRC} && ${COPYTREE_SHARE} rawwaves ${STAGEDIR}${DATADIR} @${RM} ${STAGEDIR}${DATADIR}/rawwaves/._* ${STAGEDIR}${DATADIR}/rawwaves/*.c - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libstk-${PORTVERSION}.so + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libstk-5.0.0.so .include <bsd.port.mk> |