From owner-svn-ports-head@freebsd.org Sun Oct 4 08:41:20 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F9ADA0E294; Sun, 4 Oct 2015 08:41:20 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8F7881928; Sun, 4 Oct 2015 08:41:20 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t948fKY5009201; Sun, 4 Oct 2015 08:41:20 GMT (envelope-from riggs@FreeBSD.org) Received: (from riggs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t948fJ7p009197; Sun, 4 Oct 2015 08:41:19 GMT (envelope-from riggs@FreeBSD.org) Message-Id: <201510040841.t948fJ7p009197@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: riggs set sender to riggs@FreeBSD.org using -f From: Thomas Zander Date: Sun, 4 Oct 2015 08:41:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r398565 - in head/audio/aubio: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Oct 2015 08:41:20 -0000 Author: riggs Date: Sun Oct 4 08:41:18 2015 New Revision: 398565 URL: https://svnweb.freebsd.org/changeset/ports/398565 Log: Update to upstream version 0.4.2, port cleanup - Simplify fft handling: Only allow single precision fftw3 (recommended by upstream) or built-in ooula (fallback) - Use OPTION helpers - Add LICENSE_FILE - Pet portlint PR: 203239 Submitted by: tkato432@yahoo.com Reviewed by: riggs Modified: head/audio/aubio/Makefile head/audio/aubio/distinfo head/audio/aubio/files/patch-wscript head/audio/aubio/pkg-plist Modified: head/audio/aubio/Makefile ============================================================================== --- head/audio/aubio/Makefile Sun Oct 4 08:28:44 2015 (r398564) +++ head/audio/aubio/Makefile Sun Oct 4 08:41:18 2015 (r398565) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= aubio -PORTVERSION= 0.4.1 +PORTVERSION= 0.4.2 CATEGORIES= audio MASTER_SITES= http://aubio.org/pub/ @@ -10,74 +10,43 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Library for audio labelling LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= txt2man:${PORTSDIR}/textproc/txt2man USES= pkgconfig tar:bzip2 waf -USE_LDCONFIG= yes - CONFIGURE_ARGS= --mandir=${MANPREFIX}/man +USE_LDCONFIG= yes -OPTIONS_DEFINE= COMPLEX DOXYGEN FFMPEG JACK SAMPLERATE SNDFILE -OPTIONS_DEFAULT= FFTW JACK SAMPLERATE SNDFILE SINGLE +OPTIONS_DEFINE= COMPLEX DOXYGEN FFMPEG FFTW JACK SAMPLERATE SNDFILE +OPTIONS_DEFAULT= JACK SAMPLERATE SNDFILE FFTW +OPTIONS_SUB= yes -COMPLEX_DESC= Compile with C99 complex.h +COMPLEX_DESC= Compile with C99 complex.h COMPLEX_CONFIGURE_ENABLE= complex - -DOXYGEN_CONFIGURE_OFF= --disable-doxygen DOXYGEN_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen - -FFMPEG_CONFIGURE_ENABLE= avcodec +DOXYGEN_CONFIGURE_OFF= --disable-doxygen FFMPEG_LIB_DEPENDS= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg - -JACK_CONFIGURE_ENABLE= jack +FFMPEG_CONFIGURE_ENABLE= avcodec JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack - -SAMPLERATE_CONFIGURE_ENABLE= samplerate +JACK_CONFIGURE_ENABLE= jack SAMPLERATE_LIB_DEPENDS= libsamplerate.so:${PORTSDIR}/audio/libsamplerate - -SNDFILE_CONFIGURE_ENABLE= sndfile +SAMPLERATE_CONFIGURE_ENABLE= samplerate +FFTW_DESC= Use single precision FFTW3 instead of built-in OOURA +FFTW_CONFIGURE_ENABLE= fftw3f +FFTW_BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3 +FFTW_LIB_DEPENDS= libfftw3f.so:${PORTSDIR}/math/fftw3-float SNDFILE_LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile - -OPTIONS_SINGLE= FFT PRECISION -OPTIONS_SINGLE_FFT= FFTW OOURA -OPTIONS_SINGLE_PRECISION= DOUBLE SINGLE - -FFT_DESC= FFT implementation -FFTW_DESC= FFTW3/FFTW3F (depending on precision) -OOURA_DESC= Ooura (last resort) - -PRECISION_DESC= Precision -DOUBLE_DESC= Double precision mode -SINGLE_DESC= Single precision mode -DOUBLE_CONFIGURE_ENABLE= double - -.include - -.if ${PORT_OPTIONS:MDOXYGEN} -PLIST_SUB+= DOXYGEN="" -.else -PLIST_SUB+= DOXYGEN="@comment " -.endif - -.if ${PORT_OPTIONS:MFFTW} -. if ${PORT_OPTIONS:MDOUBLE} -LIB_DEPENDS+= libfftw3.so:${PORTSDIR}/math/fftw3 -. else -LIB_DEPENDS+= libfftw3f.so:${PORTSDIR}/math/fftw3-float -. endif -.endif +SNDFILE_CONFIGURE_ENABLE= sndfile post-patch: - @${REINPLACE_CMD} -e '/pkgconfig/s,$${LIBDIR},&data,' \ - ${WRKSRC}/waflib/TaskGen.py + @${REINPLACE_CMD} -e \ + '/pkgconfig/s|$${LIBDIR}|&data|' ${WRKSRC}/waflib/TaskGen.py -.if !defined(WITH_DEBUG) || defined(WITHOUT_DEBUG) || defined(INSTALL_STRIPPED) post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so -. for b in mfcc notes onset pitch quiet track - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${b} -. endfor -.endif +.for b in mfcc notes onset pitch quiet track + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/aubio${b} +.endfor + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libaubio.so .include Modified: head/audio/aubio/distinfo ============================================================================== --- head/audio/aubio/distinfo Sun Oct 4 08:28:44 2015 (r398564) +++ head/audio/aubio/distinfo Sun Oct 4 08:41:18 2015 (r398565) @@ -1,2 +1,2 @@ -SHA256 (aubio-0.4.1.tar.bz2) = 25d7df0a9cd6366fda764a803424caddf5fb819fc75b42a7a03e1e6f8eb3c695 -SIZE (aubio-0.4.1.tar.bz2) = 288136 +SHA256 (aubio-0.4.2.tar.bz2) = 1cc58e0fed2b9468305b198ad06b889f228b797a082c2ede716dc30fcb4f8f1f +SIZE (aubio-0.4.2.tar.bz2) = 304216 Modified: head/audio/aubio/files/patch-wscript ============================================================================== --- head/audio/aubio/files/patch-wscript Sun Oct 4 08:28:44 2015 (r398564) +++ head/audio/aubio/files/patch-wscript Sun Oct 4 08:41:18 2015 (r398565) @@ -1,16 +1,16 @@ ---- wscript.orig 2014-03-12 15:19:28 UTC +--- wscript.orig 2015-08-01 10:24:35 UTC +++ wscript -@@ -72,6 +72,9 @@ def options(ctx): - add_option_enable_disable(ctx, 'double', default = False, - help_str = 'compile in double precision mode', - help_disable_str = 'compile in single precision mode (default)') +@@ -75,6 +75,9 @@ def options(ctx): + add_option_enable_disable(ctx, 'fat', default = False, + help_str = 'build fat binaries (darwin only)', + help_disable_str = 'do not build fat binaries (default)') + ctx.add_option('--disable-doxygen', action = 'store_true', + dest = 'disable_doxygen', + help = 'disable doxygen even if found') ctx.add_option('--with-target-platform', type='string', help='set target platform for cross-compilation', dest='target_platform') -@@ -254,6 +257,9 @@ def configure(ctx): +@@ -258,6 +261,9 @@ def configure(ctx): # check if doxygen is installed, optional try: ctx.find_program('doxygen', var='DOXYGEN') @@ -20,7 +20,7 @@ except ctx.errors.ConfigurationError: ctx.to_log('doxygen was not found (ignoring)') -@@ -291,11 +297,11 @@ def build(bld): +@@ -295,11 +301,11 @@ def build(bld): bld( source = bld.path.ant_glob('doc/*.txt') ) # build documentation from source files using doxygen Modified: head/audio/aubio/pkg-plist ============================================================================== --- head/audio/aubio/pkg-plist Sun Oct 4 08:28:44 2015 (r398564) +++ head/audio/aubio/pkg-plist Sun Oct 4 08:41:18 2015 (r398565) @@ -51,10 +51,9 @@ include/aubio/utils/hist.h include/aubio/utils/parameter.h include/aubio/utils/scale.h include/aubio/vecutils.h -lib/libaubio.a lib/libaubio.so lib/libaubio.so.4 -lib/libaubio.so.4.1.1 +lib/libaubio.so.4.2.2 libdata/pkgconfig/aubio.pc man/man1/aubiocut.1.gz man/man1/aubiomfcc.1.gz