mixxx: Enable support for vamp plugins.

Bump PKGREVISION.
This commit is contained in:
nia 2019-07-26 23:35:09 +00:00
parent 17e6d4adb1
commit 2f8402bc48
5 changed files with 40 additions and 5 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.4 2019/07/20 10:39:18 nia Exp $
# $NetBSD: Makefile,v 1.5 2019/07/26 23:35:09 nia Exp $
DISTNAME= mixxx-2.2.1
PKGREVISION= 1
PKGREVISION= 2
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_GITHUB:=mixxxdj/}
GITHUB_TAG= release-${PKGVERSION_NOREV}
@ -36,7 +36,6 @@ SUBST_VARS.base= LOCALBASE
SCONS_ARGS+= faad=1
SCONS_ARGS+= modplug=1
SCONS_ARGS+= vamp=0 # XXX needs vamp-plugin-sdk update
SCONS_ARGS+= build="release"
@ -94,6 +93,7 @@ do-install:
.include "../../audio/rubberband/buildlink3.mk"
.include "../../audio/soundtouch/buildlink3.mk"
.include "../../audio/taglib/buildlink3.mk"
.include "../../audio/vamp-plugin-sdk/buildlink3.mk"
.include "../../comms/libhidapi/buildlink3.mk"
.include "../../devel/libusb1/buildlink3.mk"
.include "../../devel/protobuf/buildlink3.mk"

View file

@ -1,7 +1,8 @@
@comment $NetBSD: PLIST,v 1.2 2019/07/20 10:39:18 nia Exp $
@comment $NetBSD: PLIST,v 1.3 2019/07/26 23:35:09 nia Exp $
bin/mixxx
lib/mixxx/plugins/soundsourceqt5/libsoundsourcem4a.so
${PLIST.wavpack}lib/mixxx/plugins/soundsourceqt5/libsoundsourcewv.so
lib/mixxx/plugins/vampqt5/libmixxxminimal.so
share/appdata/mixxx.appdata.xml
share/applications/mixxx.desktop
share/doc/mixxx/LICENSE

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.1 2019/07/08 16:46:32 nia Exp $
$NetBSD: distinfo,v 1.2 2019/07/26 23:35:09 nia Exp $
SHA1 (mixxx-2.2.1.tar.gz) = b6da5dff30c8cdbccd84d55801fcbd67bd337b06
RMD160 (mixxx-2.2.1.tar.gz) = 919d19785d8ee17ae8cb380ffe8df9ffe30ae93c
@ -6,7 +6,9 @@ SHA512 (mixxx-2.2.1.tar.gz) = 16f0f4f6a83cd18501fdba3cb8d4f7fe4ac14b980d390406cb
Size (mixxx-2.2.1.tar.gz) = 34763333 bytes
SHA1 (patch-build_depends.py) = 0025d32ac9c57a65253fd3c59ea04b244b0f3cd4
SHA1 (patch-build_features.py) = 52471069ffcda271f52cf8d87388ffbf3c1a3dc8
SHA1 (patch-lib_vamp_src_vamp-hostsdk_PluginHostAdapter.cpp) = 656f09d146a81ea143af2ddd85cc66392fa3fce8
SHA1 (patch-src_controllers_controllermanager.cpp) = df7cf07336a6fd511bc09a4253bb409511056938
SHA1 (patch-src_encoder_encodermp3.cpp) = 2cbd5b4351fe88a6841857817081163ce5c01bb7
SHA1 (patch-src_util_screensaver.cpp) = da16ba829646298af7a57567894c732ef1ecd53e
SHA1 (patch-src_util_screensaver.h) = 8bea9c3365219fd52db60f38af4fdcab4be40b81
SHA1 (patch-vamp-plugins_SConscript) = 91840864b658e2cd9a5cfcb1d9c4f7a35a156824

View file

@ -0,0 +1,17 @@
$NetBSD: patch-lib_vamp_src_vamp-hostsdk_PluginHostAdapter.cpp,v 1.1 2019/07/26 23:35:09 nia Exp $
Remove silly version checking.
--- lib/vamp/src/vamp-hostsdk/PluginHostAdapter.cpp.orig 2019-04-22 07:50:04.000000000 +0000
+++ lib/vamp/src/vamp-hostsdk/PluginHostAdapter.cpp
@@ -37,10 +37,6 @@
#include <vamp-hostsdk/PluginHostAdapter.h>
#include <cstdlib>
-#if ( VAMP_SDK_MAJOR_VERSION != 2 || VAMP_SDK_MINOR_VERSION != 7 )
-#error Unexpected version of Vamp SDK header included
-#endif
-
_VAMP_SDK_HOSTSPACE_BEGIN(PluginHostAdapter.cpp)
namespace Vamp

View file

@ -0,0 +1,15 @@
$NetBSD: patch-vamp-plugins_SConscript,v 1.1 2019/07/26 23:35:09 nia Exp $
Correct pkg-config identifier.
--- vamp-plugins/SConscript.orig 2019-04-22 07:50:04.000000000 +0000
+++ vamp-plugins/SConscript
@@ -54,7 +54,7 @@ if int(build.flags['vamp']):
# If there is no system vamp-sdk is installed or if the version
# of the installed vamp-sdk is less than the bundled version,
# then we'll directly link the bundled vamp-sdk.
- if not conf.CheckLib('vamp-sdk') or not conf.CheckForPKG('vamp-plugin-sdk', '2.7.1'):
+ if not conf.CheckLib('vamp-hostsdk') or not conf.CheckForPKG('vamp-sdk', '2.7.1'):
INTERNAL_VAMP_PATH = '#lib/vamp'
# For header includes
env.Append(CPPPATH=[INTERNAL_VAMP_PATH])