freebsd-ports/audio/dragonfly-reverb-lv2/Makefile
Yuri Victorovich a47043a2cc audio/dragonfly-reverb-lv2: Update 3.2.9 → 3.2.10
Reported by:	portscout
2023-06-12 17:41:20 -07:00

62 lines
1.6 KiB
Makefile

PORTNAME= dragonfly-reverb
DISTVERSION= 3.2.10
CATEGORIES= audio multimedia
MAINTAINER= yuri@FreeBSD.org
COMMENT= Bundle of free audio effects
WWW= https://github.com/michaelwillis/dragonfly-reverb
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= lv2>0:audio/lv2 \
bash:shells/bash
LIB_DEPENDS= libdbus-1.so:devel/dbus \
libpulse.so:audio/pulseaudio
USES= compiler:c++11-lang gl gmake localbase pkgconfig shebangfix xorg
USE_GL= gl
USE_XORG= x11 xext xrandr
USE_GITHUB= yes
GH_ACCOUNT= michaelwillis
GH_TUPLE= DISTRHO:DPF:dc6557a:DISTRHO_DPF/dpf \
DISTRHO:pugl:844528e:pugl/dpf/dgl/src/pugl-upstream
SHEBANG_FILES= dpf/utils/generate-ttl.sh
MAKE_ARGS= LINUX=true # it fails to set it for BSD for some reason even though the code seems to intend to do this
CXXFLAGS+= -I${FILESDIR}
EFFECTS= DragonflyEarlyReflections DragonflyHallReverb DragonflyPlateReverb DragonflyRoomReverb
OPTIONS_DEFINE= APPS VST
OPTIONS_DEFAULT= APPS VST
OPTIONS_SUB= yes
APPS_DESC= Install apps instantiating effects in Jack sound server
APPS_LIB_DEPENDS= libjack.so:audio/jack
VST_DESC= Install VST plugins
# project doesn't have the install target: https://github.com/michaelwillis/dragonfly-reverb/issues/80
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/lv2
.for r in ${EFFECTS}
cd ${WRKSRC}/bin && ${COPYTREE_SHARE} ${r}.lv2 ${STAGEDIR}${PREFIX}/lib/lv2
.endfor
do-install-APPS-on:
.for r in ${EFFECTS}
${INSTALL_PROGRAM} ${WRKSRC}/bin/${r} ${STAGEDIR}${PREFIX}/bin
.endfor
do-install-VST-on:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/vst
.for r in ${EFFECTS}
${INSTALL_LIB} ${WRKSRC}/bin/${r}-vst.so ${STAGEDIR}${PREFIX}/lib/vst
.endfor
.include <bsd.port.mk>