2007-01-13 22:38:30 +01:00
|
|
|
PORTNAME= dssi
|
2012-01-28 20:10:10 +01:00
|
|
|
PORTVERSION= 1.1.1
|
2023-04-25 17:15:30 +02:00
|
|
|
PORTREVISION= 12
|
2007-01-13 22:38:30 +01:00
|
|
|
CATEGORIES= audio
|
2009-08-22 02:13:26 +02:00
|
|
|
MASTER_SITES= SF
|
2007-01-13 22:38:30 +01:00
|
|
|
|
2014-05-06 21:08:39 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2007-01-13 22:38:30 +01:00
|
|
|
COMMENT= API for audio processing plugins
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= http://dssi.sourceforge.net/
|
2007-01-13 22:38:30 +01:00
|
|
|
|
2014-01-31 20:53:37 +01:00
|
|
|
LICENSE= LGPL21
|
2017-08-14 00:31:58 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2012-01-28 20:10:10 +01:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa
|
|
|
|
LIB_DEPENDS= libdssialsacompat.so:audio/libdssialsacompat \
|
|
|
|
liblo.so:audio/liblo \
|
|
|
|
libsamplerate.so:audio/libsamplerate \
|
|
|
|
libsndfile.so:audio/libsndfile \
|
|
|
|
libjack.so:audio/jack
|
2021-05-10 06:29:55 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa \
|
|
|
|
${LOCALBASE}/include/alsa/seq_event.h:audio/alsa-lib
|
2007-01-13 22:38:30 +01:00
|
|
|
|
2019-11-04 21:39:51 +01:00
|
|
|
USES= gmake pathfix pkgconfig localbase libtool xorg
|
2012-01-28 20:10:10 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2017-08-14 00:31:58 +02:00
|
|
|
USE_XORG= x11
|
2012-01-28 20:10:10 +01:00
|
|
|
|
2013-11-08 13:36:59 +01:00
|
|
|
PORTDOCS= ChangeLog README
|
|
|
|
|
|
|
|
PORTEXAMPLES= *
|
2017-08-14 00:31:58 +02:00
|
|
|
EXAMPLESSRCDIR= ${WRKSRC}/examples
|
|
|
|
EXAMPLES_FILES1=dssi_analyse_plugin dssi_list_plugins \
|
|
|
|
dssi_osc_send dssi_osc_update
|
|
|
|
EXAMPLES_FILES2=LTS_qt trivial_sampler_qt
|
2013-11-08 13:36:59 +01:00
|
|
|
|
2019-03-16 15:53:51 +01:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
2013-11-08 13:36:59 +01:00
|
|
|
OPTIONS_SUB= yes
|
2012-01-28 20:10:10 +01:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
2014-01-31 20:53:37 +01:00
|
|
|
'/^lts_uidir/s|^|@HAVE_QT_TRUE@|; \
|
|
|
|
/^trivial_sampler_uidir/s|^|@HAVE_QT_TRUE@|; \
|
|
|
|
s|-ldl$$||' ${WRKSRC}/examples/Makefile.in
|
2012-01-28 20:10:10 +01:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|-ldl$$||' ${WRKSRC}/jack-dssi-host/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
'/alsa >=/s|$$PKG_CONFIG|${FALSE}|' ${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
'/QtCore >=/s|$$PKG_CONFIG|${FALSE}|' ${WRKSRC}/configure
|
2011-02-22 03:19:30 +01:00
|
|
|
|
2013-11-08 13:36:59 +01:00
|
|
|
post-install:
|
2014-01-31 20:53:37 +01:00
|
|
|
.for l in trivial_synth less_trivial_synth trivial_sampler karplong
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/dssi/${l}.so
|
|
|
|
.endfor
|
2013-11-08 13:36:59 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
2014-01-31 20:53:37 +01:00
|
|
|
${INSTALL_PROGRAM} ${EXAMPLES_FILES1:S|^|${EXAMPLESSRCDIR}/|} \
|
|
|
|
${STAGEDIR}${EXAMPLESDIR}
|
2013-11-08 13:36:59 +01:00
|
|
|
|
2007-01-23 21:47:57 +01:00
|
|
|
.include <bsd.port.mk>
|