MFH: r552297

audio/fabla2-lv2: Unbreak

Approved by:	ports-secteam (fluffy)
This commit is contained in:
Yuri Victorovich 2020-10-14 07:57:40 +00:00
parent 895771cafb
commit 910a4811bc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q4/; revision=552307

View File

@ -12,8 +12,6 @@ COMMENT= Sampler with multiple layers, banks, pads, integrated FX and routing
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN= ui.cxx:442:2: error: cannot initialize a member subobject of type 'LV2UI_Handle'
BUILD_DEPENDS= lv2>0:audio/lv2
LIB_DEPENDS= libsamplerate.so:audio/libsamplerate \
libsndfile.so:audio/libsndfile
@ -35,5 +33,8 @@ PLIST_FILES= lib/lv2/fabla2.lv2/fabla2.so \
post-patch:
@${REINPLACE_CMD} -e 's|GLOB srcUI |GLOB srcUI ${FILESDIR}/mntent_compat.c++ |' ${WRKSRC}/CMakeLists.txt
.for f in src/ui.cxx src/ui/avtk/lv2/testUi.cxx
@cd ${WRKSRC} && ${REINPLACE_CMD} -e 's/ _LV2UI_Descriptor/ LV2UI_Descriptor/' ${f} # fix for audio/lv2 1.18.0
.endfor
.include <bsd.port.mk>