1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/audio/dssi/Makefile
Yuri Victorovich 5708ae4005 audio/jack: Update to Jack2: 0.125.0 -> 1.9.16
Big thank you to Florian Walpen <dev@submerge.ch> and
Goran Mekić <meka@tilda.center> for working on Jack2.

PR:		251125
Submitted by:	Florian Walpen <dev@submerge.ch> (original version)
2021-08-02 09:03:15 -07:00

62 lines
1.7 KiB
Makefile

# Created by: trasz <trasz@pin.if.uz.zgora.pl>
PORTNAME= dssi
PORTVERSION= 1.1.1
PORTREVISION= 11
CATEGORIES= audio
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= API for audio processing plugins
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
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
RUN_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa \
${LOCALBASE}/include/alsa/seq_event.h:audio/alsa-lib
USES= gmake pathfix pkgconfig localbase libtool xorg
GNU_CONFIGURE= yes
USE_XORG= x11
PORTDOCS= ChangeLog README
PORTEXAMPLES= *
EXAMPLESSRCDIR= ${WRKSRC}/examples
EXAMPLES_FILES1=dssi_analyse_plugin dssi_list_plugins \
dssi_osc_send dssi_osc_update
EXAMPLES_FILES2=LTS_qt trivial_sampler_qt
OPTIONS_DEFINE= DOCS EXAMPLES
OPTIONS_SUB= yes
post-patch:
@${REINPLACE_CMD} -e \
'/^lts_uidir/s|^|@HAVE_QT_TRUE@|; \
/^trivial_sampler_uidir/s|^|@HAVE_QT_TRUE@|; \
s|-ldl$$||' ${WRKSRC}/examples/Makefile.in
@${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
post-install:
.for l in trivial_synth less_trivial_synth trivial_sampler karplong
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/dssi/${l}.so
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_PROGRAM} ${EXAMPLES_FILES1:S|^|${EXAMPLESSRCDIR}/|} \
${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>