pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/vamp-plugin-sdk vamp-plugin-sdk: Update to 2.8.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/574752a0c1f1
branches:  trunk
changeset: 336862:574752a0c1f1
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Jul 26 15:31:08 2019 +0000

description:
vamp-plugin-sdk: Update to 2.8.0

Version 2.8, 2019-02-07 (maintenance and minor feature release)

  * When running in a 32-bit process within 64-bit Windows (WoW64),
    use the VAMP_PATH_32 environment variable instead of VAMP_PATH
    (hosts running in this context already use "Program Files (x86)"
    instead of Program Files)
  * Fix off-by-one rounding errors in frame-to-ns conversions. Unlike
    the other changes here which are invisible to plugin code, this
    change can lead to different results in the lowest significant
    figures from existing plugins if relinked against the newer code
  * Fix path environment variable character encoding handling on
    Windows
  * Fix theoretical possibility of integer overflow in RealTime
    constructor
  * Fix use of undefined behaviour in PluginRateExtractor

Version 2.7.1, 2017-03-06 (maintenance release)

  * Fix inclusion mechanism for FFTs which could cause a host
    application to crash in certain circumstances due to
    conflicting versions of C-linkage symbols

Version 2.7, 2017-02-24 (maintenance and minor feature release)

  * Add ability to PluginLoader to list plugins only in (or not in)
    certain library files
  * Fix fixed-sample-rate output timestamps in printout from the
    simple host, and add regression test script using test plugin
  * Switch the convenience FFT interface for plugin usage from the
    very slow reference implementation previously provided, to the
    somewhat faster KissFFT
  * Add a top-secret compiler flag to switch internal FFTs to single-
    precision only
  * Fix some small but long-standing memory leaks and minor bugs

diffstat:

 audio/vamp-plugin-sdk/Makefile      |   24 ++----
 audio/vamp-plugin-sdk/PLIST         |   13 +-
 audio/vamp-plugin-sdk/distinfo      |   10 +-
 audio/vamp-plugin-sdk/files/wscript |  134 ------------------------------------
 4 files changed, 19 insertions(+), 162 deletions(-)

diffs (223 lines):

diff -r c58d81a01613 -r 574752a0c1f1 audio/vamp-plugin-sdk/Makefile
--- a/audio/vamp-plugin-sdk/Makefile    Fri Jul 26 11:47:00 2019 +0000
+++ b/audio/vamp-plugin-sdk/Makefile    Fri Jul 26 15:31:08 2019 +0000
@@ -1,31 +1,23 @@
-# $NetBSD: Makefile,v 1.1 2015/12/27 23:35:33 kamil Exp $
+# $NetBSD: Makefile,v 1.2 2019/07/26 15:31:08 nia Exp $
 
-# During upgrade please adjust files/wscript and doublecheck libs major/minor
-DISTNAME=      vamp-plugin-sdk-2.6
+DISTNAME=      vamp-plugin-sdk-2.8.0
 CATEGORIES=    audio
-MASTER_SITES=  https://code.soundsoftware.ac.uk/attachments/download/1520/
+MASTER_SITES=  https://code.soundsoftware.ac.uk/attachments/download/2450/
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://www.vamp-plugins.org/
+HOMEPAGE=      https://www.vamp-plugins.org/
 COMMENT=       The Vamp audio analysis plugin system
 LICENSE=       x11
 
-USE_TOOLS+=    pkg-config
+USE_TOOLS+=    pkg-config gmake
 USE_LANGUAGES= c c++
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
 
 PKGCONFIG_OVERRIDE+=   pkgconfig/vamp-hostsdk.pc.in
 PKGCONFIG_OVERRIDE+=   pkgconfig/vamp-sdk.pc.in
 PKGCONFIG_OVERRIDE+=   pkgconfig/vamp.pc.in
 
-BUILD_DEPENDS+=        waf-[0-9]*:../../devel/waf
-
-pre-patch:
-       ${RUN} cp ${FILESDIR}/wscript ${WRKSRC}
-
-.include "../../devel/waf/waf.mk"
-# Missing --mandir
-WAF_ARGS=
-.include "../../math/fftw/buildlink3.mk"
-.include "../../math/fftwf/buildlink3.mk"
 .include "../../audio/libsndfile/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r c58d81a01613 -r 574752a0c1f1 audio/vamp-plugin-sdk/PLIST
--- a/audio/vamp-plugin-sdk/PLIST       Fri Jul 26 11:47:00 2019 +0000
+++ b/audio/vamp-plugin-sdk/PLIST       Fri Jul 26 15:31:08 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2015/12/27 23:35:33 kamil Exp $
+@comment $NetBSD: PLIST,v 1.2 2019/07/26 15:31:08 nia Exp $
 bin/vamp-rdf-template-generator
 bin/vamp-simple-host
 include/vamp-hostsdk/Plugin.h
@@ -22,12 +22,11 @@
 include/vamp-sdk/plugguard.h
 include/vamp-sdk/vamp-sdk.h
 include/vamp/vamp.h
-lib/libvamp-hostsdk.so
-lib/libvamp-hostsdk.so.3
-lib/libvamp-hostsdk.so.3.6.0
-lib/libvamp-sdk.so
-lib/libvamp-sdk.so.2
-lib/libvamp-sdk.so.${PKGVERSION}.0
+lib/libvamp-hostsdk.la
+lib/libvamp-sdk.la
 lib/pkgconfig/vamp-hostsdk.pc
 lib/pkgconfig/vamp-sdk.pc
 lib/pkgconfig/vamp.pc
+lib/vamp/vamp-example-plugins.cat
+lib/vamp/vamp-example-plugins.n3
+lib/vamp/vamp-example-plugins.so
diff -r c58d81a01613 -r 574752a0c1f1 audio/vamp-plugin-sdk/distinfo
--- a/audio/vamp-plugin-sdk/distinfo    Fri Jul 26 11:47:00 2019 +0000
+++ b/audio/vamp-plugin-sdk/distinfo    Fri Jul 26 15:31:08 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2015/12/27 23:35:33 kamil Exp $
+$NetBSD: distinfo,v 1.2 2019/07/26 15:31:08 nia Exp $
 
-SHA1 (vamp-plugin-sdk-2.6.tar.gz) = 79e098682c6f7610ab29581b081db003d987b2cb
-RMD160 (vamp-plugin-sdk-2.6.tar.gz) = 527bbd09cfb753719ae41b393b5a5b8364df8631
-SHA512 (vamp-plugin-sdk-2.6.tar.gz) = 31e59f9082f775b476f04c0020ddbfcf9f893d9a60e9ae68bd76e6038dd9f0dcb719aedb883cca4366f994b88d92453f65cae8ef1b8aa758b5cabe12444700a8
-Size (vamp-plugin-sdk-2.6.tar.gz) = 174943 bytes
+SHA1 (vamp-plugin-sdk-2.8.0.tar.gz) = 6a1400a47eb067ea6a8f459bb9fc9270e6efba14
+RMD160 (vamp-plugin-sdk-2.8.0.tar.gz) = 834d2ce234ce09dac1740df32afb955f98a7a2ba
+SHA512 (vamp-plugin-sdk-2.8.0.tar.gz) = abc009dab8d1ae4549640aba4a1341942b5a868479b4a9b2a435556a1bf1ce350d8aec94ee5b403fe8fff4175f40778a8fc12ceaf602dd0f176f9215e4a3f8f8
+Size (vamp-plugin-sdk-2.8.0.tar.gz) = 308972 bytes
diff -r c58d81a01613 -r 574752a0c1f1 audio/vamp-plugin-sdk/files/wscript
--- a/audio/vamp-plugin-sdk/files/wscript       Fri Jul 26 11:47:00 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,134 +0,0 @@
-#!/usr/bin/env python
-# Ardour developers (c) 2015
-# This file is redistributed with the same license as vamp-plugin-sdk (x11)
-
-from waflib import TaskGen
-import re
-
-# Get waf to do %FOO% substitution rather than @FOO@
-TaskGen.re_m4 = re.compile('%%(\w+)%%', re.M)
-
-def options(opt):
-    opt.load('compiler_cxx')
-    pass
-
-def configure(conf):
-    conf.load('compiler_cxx')
-    conf.check_cfg (package='fftw3', uselib_store='FFTW3', args=['--cflags', '--libs'], mandatory=True)
-    conf.check_cfg (package='fftw3f', uselib_store='FFTW3F',  args=['--cflags', '--libs'], mandatory=True)
-    conf.check_cfg (package='sndfile', uselib_store='SNDFILE', args=['--cflags', '--libs'], mandatory=True)
-    conf.env.append_value('CXXFLAGS', '-DHAVE_FFTW3')
-
-def build(bld):
-    # Host Library
-    host_sources = '''
-            src/vamp-hostsdk/Files.cpp
-            src/vamp-hostsdk/PluginBufferingAdapter.cpp
-            src/vamp-hostsdk/PluginChannelAdapter.cpp
-            src/vamp-hostsdk/PluginHostAdapter.cpp
-            src/vamp-hostsdk/PluginInputDomainAdapter.cpp
-            src/vamp-hostsdk/PluginLoader.cpp
-            src/vamp-hostsdk/PluginSummarisingAdapter.cpp
-            src/vamp-hostsdk/PluginWrapper.cpp
-            src/vamp-hostsdk/RealTime.cpp
-            src/vamp-hostsdk/host-c.cpp
-    '''
-    sdk_sources = '''
-            src/vamp-sdk/PluginAdapter.cpp
-            src/vamp-sdk/RealTime.cpp
-    '''
-
-    bld.shlib (source = host_sources,
-               includes = '.',
-               target = 'vamp-hostsdk',
-               name = 'vamp-hostsdk',
-               uselib = 'FFTW3 FFTW3F',
-               features = 'cxx cxxshlib',
-               vnum = '3.6.0',
-               )
-    
-    bld.shlib (source = sdk_sources,
-               includes = '.',
-               target = 'vamp-sdk',
-               name = 'vamp-sdk',
-               uselib = 'FFTW3 FFTW3F',
-               features = 'cxx cxxshlib',
-               vnum = '2.6.0',
-               )
-
-    rdf_sources = '''
-        rdf/generator/vamp-rdf-template-generator.cpp
-    '''
-
-    simple_host_sources = '''
-        host/vamp-simple-host.cpp
-    '''
-
-    bld.program (source = rdf_sources,
-               includes = '.',
-               target = 'vamp-rdf-template-generator',
-               name = 'rdf-generator',
-               use = 'vamp-hostsdk vamp-sdk',
-               features = 'cxx'
-               )
-
-    bld.program (source = simple_host_sources,
-               includes = '.',
-               target = 'vamp-simple-host',
-               name = 'simple-host-generator',
-               use = 'vamp-hostsdk vamp-sdk SNDFILE',
-               features = 'cxx'
-               )
-
-    sdk_headers = '''
-         vamp-sdk/Plugin.h
-         vamp-sdk/PluginAdapter.h
-         vamp-sdk/PluginBase.h
-         vamp-sdk/RealTime.h
-         vamp-sdk/FFT.h
-         vamp-sdk/plugguard.h
-         vamp-sdk/vamp-sdk.h
-    '''
-    hostsdk_headers = '''
-         vamp-hostsdk/Plugin.h
-         vamp-hostsdk/PluginBase.h
-         vamp-hostsdk/PluginHostAdapter.h
-         vamp-hostsdk/RealTime.h
-         vamp-hostsdk/PluginBufferingAdapter.h
-         vamp-hostsdk/PluginChannelAdapter.h
-         vamp-hostsdk/PluginInputDomainAdapter.h
-         vamp-hostsdk/PluginLoader.h
-         vamp-hostsdk/PluginSummarisingAdapter.h
-         vamp-hostsdk/PluginWrapper.h
-         vamp-hostsdk/host-c.h
-         vamp-hostsdk/hostguard.h
-         vamp-hostsdk/vamp-hostsdk.h
-    '''
-    api_headers = '''
-       vamp/vamp.h
-    '''
-    bld.install_files ('${PREFIX}/include/vamp', api_headers)
-    bld.install_files ('${PREFIX}/include/vamp-sdk', sdk_headers)
-    bld.install_files ('${PREFIX}/include/vamp-hostsdk', hostsdk_headers)
-
-    pc = bld (features = 'subst',
-              source = 'pkgconfig/vamp.pc.in',
-              target = 'vamp.pc',
-              install_path = '${PREFIX}/lib/pkgconfig',
-              dict = {'PREFIX' : bld.env.PREFIX },
-              )
-
-    pc = bld (features = 'subst',
-              source = 'pkgconfig/vamp-sdk.pc.in',
-              target = 'vamp-sdk.pc',
-              install_path = '${PREFIX}/lib/pkgconfig',
-              dict = {'PREFIX' : bld.env.PREFIX },
-              )
-
-    pc = bld (features = 'subst',
-              source = 'pkgconfig/vamp-hostsdk.pc.in',
-              target = 'vamp-hostsdk.pc',
-              install_path = '${PREFIX}/lib/pkgconfig',
-              dict = {'PREFIX' : bld.env.PREFIX },
-              )
-    



Home | Main Index | Thread Index | Old Index