Hi,
Please find attached 2 patches:
1. vamp.patch for vamp-plugin-sdk; this fixes a typo (extra white space) in the
content of /usr/local/lib/libvamp-hostsdk.la
2. audacity.patch: this enables building audacity --with-libvamp once the
previous patch is applied.
I am not a member of the mailing list, please reach out to me directly if
needed.
Regards,
Septi
? audacity.patch
Index: Makefile
===================================================================
RCS file: /cvs/ports/audio/audacity/Makefile,v
retrieving revision 1.71
diff -u -p -u -p -r1.71 Makefile
--- Makefile 26 Sep 2019 13:54:54 -0000 1.71
+++ Makefile 16 Nov 2019 10:07:54 -0000
@@ -5,6 +5,7 @@ COMMENT= free audio editor
V= 2.3.2
DISTNAME= Audacity-${V}
PKGNAME= audacity-${V}
+REVISION= 0
CATEGORIES= audio
MASTER_SITES= https://github.com/audacity/audacity/archive/
@@ -21,7 +22,7 @@ WANTLIB += cairo-gobject epoxy expat ffi
WANTLIB += gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
WANTLIB += graphite2 gthread-2.0 gtk-3 harfbuzz iconv id3tag intl
WANTLIB += jpeg m mad mspack notify ogg pango-1.0 pangocairo-1.0
-WANTLIB += pangoft2-1.0 pcre pixman-1 png portaudio portmidi
+WANTLIB += pangoft2-1.0 pcre pixman-1 png portaudio portmidi vamp-hostsdk
WANTLIB += samplerate sndfile sndio soxr tiff usbhid vorbis vorbisenc
WANTLIB += vorbisfile wx_baseu-3.0 wx_baseu_net-3.0 wx_baseu_xml-3.0
WANTLIB += wx_gtk3u_adv-3.0 wx_gtk3u_core-3.0 wx_gtk3u_html-3.0
@@ -49,7 +50,8 @@ LIB_DEPENDS= x11/wxWidgets>=3.0.4 \
audio/libmad \
audio/portaudio-svn>=1406p1 \
audio/portmidi \
- audio/soundtouch
+ audio/soundtouch \
+ audio/vamp-plugin-sdk
RUN_DEPENDS= devel/desktop-file-utils \
misc/shared-mime-info \
x11/gtk+3,-guic
@@ -95,9 +97,8 @@ CONFIGURE_ARGS= --enable-unicode \
--without-ffmpeg \
--without-redland \
--without-liblrdf \
- --without-portmixer
-# XXX libtool/ld(1) fail to find libvamp-hostsdk.so
-CONFIGURE_ARGS+= --without-libvamp
+ --without-portmixer \
+ --with-libvamp=system
.if ${MACHINE_ARCH} != "amd64"
CONFIGURE_ARGS+= --disable-sse
? vamp.patch
Index: Makefile
===================================================================
RCS file: /cvs/ports/audio/vamp-plugin-sdk/Makefile,v
retrieving revision 1.20
diff -u -p -u -p -r1.20 Makefile
--- Makefile 12 Jul 2019 20:43:42 -0000 1.20
+++ Makefile 16 Nov 2019 10:05:30 -0000
@@ -4,7 +4,7 @@ COMMENT = audio plugin API
VERSION = 2.2.1
DISTNAME = vamp-plugin-sdk-${VERSION}
-REVISION = 4
+REVISION = 5
CATEGORIES = audio
SHARED_LIBS += vamp-sdk 1.0
Index: patches/patch-Makefile_in
===================================================================
RCS file: /cvs/ports/audio/vamp-plugin-sdk/patches/patch-Makefile_in,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 patch-Makefile_in
--- patches/patch-Makefile_in 10 Jan 2016 17:28:55 -0000 1.3
+++ patches/patch-Makefile_in 16 Nov 2019 10:05:30 -0000
@@ -17,7 +17,7 @@ $OpenBSD: patch-Makefile_in,v 1.3 2016/0
-INSTALL_HOSTSDK_LIBNAME = libvamp-hostsdk.so.3.2.0
-INSTALL_HOSTSDK_LINK_ABI = libvamp-hostsdk.so.3
-INSTALL_HOSTSDK_LINK_DEV = libvamp-hostsdk.so
-+INSTALL_HOSTSDK_LIBNAME = libvamp-hostsdk.so.${LIBvamp-hostsdk_VERSION}
++INSTALL_HOSTSDK_LIBNAME = libvamp-hostsdk.so.${LIBvamp-hostsdk_VERSION}
+INSTALL_HOSTSDK_LINK_ABI = ${INSTALL_HOSTSDK_LIBNAME}
+INSTALL_HOSTSDK_LINK_DEV = ${INSTALL_HOSTSDK_LIBNAME}
INSTALL_HOSTSDK_STATIC = libvamp-hostsdk.a