pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/mixxx mixxx: Enable support for vamp plugins.
details: https://anonhg.NetBSD.org/pkgsrc/rev/baddf501460a
branches: trunk
changeset: 336871:baddf501460a
user: nia <nia%pkgsrc.org@localhost>
date: Fri Jul 26 23:35:09 2019 +0000
description:
mixxx: Enable support for vamp plugins.
Bump PKGREVISION.
diffstat:
audio/mixxx/Makefile | 6 +-
audio/mixxx/PLIST | 3 +-
audio/mixxx/distinfo | 4 +-
audio/mixxx/patches/patch-lib_vamp_src_vamp-hostsdk_PluginHostAdapter.cpp | 17 ++++++++++
audio/mixxx/patches/patch-vamp-plugins_SConscript | 15 ++++++++
5 files changed, 40 insertions(+), 5 deletions(-)
diffs (101 lines):
diff -r 671a9424d54e -r baddf501460a audio/mixxx/Makefile
--- a/audio/mixxx/Makefile Fri Jul 26 23:30:16 2019 +0000
+++ b/audio/mixxx/Makefile Fri Jul 26 23:35:09 2019 +0000
@@ -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 @@
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 @@
.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"
diff -r 671a9424d54e -r baddf501460a audio/mixxx/PLIST
--- a/audio/mixxx/PLIST Fri Jul 26 23:30:16 2019 +0000
+++ b/audio/mixxx/PLIST Fri Jul 26 23:35:09 2019 +0000
@@ -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
diff -r 671a9424d54e -r baddf501460a audio/mixxx/distinfo
--- a/audio/mixxx/distinfo Fri Jul 26 23:30:16 2019 +0000
+++ b/audio/mixxx/distinfo Fri Jul 26 23:35:09 2019 +0000
@@ -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 @@
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
diff -r 671a9424d54e -r baddf501460a audio/mixxx/patches/patch-lib_vamp_src_vamp-hostsdk_PluginHostAdapter.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/mixxx/patches/patch-lib_vamp_src_vamp-hostsdk_PluginHostAdapter.cpp Fri Jul 26 23:35:09 2019 +0000
@@ -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
diff -r 671a9424d54e -r baddf501460a audio/mixxx/patches/patch-vamp-plugins_SConscript
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/mixxx/patches/patch-vamp-plugins_SConscript Fri Jul 26 23:35:09 2019 +0000
@@ -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])
Home |
Main Index |
Thread Index |
Old Index