View | Details | Raw Unified | Return to bug 203239
Collapse All | Expand All

(-)audio/aubio/Makefile (-42 / +26 lines)
Lines 2-8 Link Here
2
# $FreeBSD: head/audio/aubio/Makefile 392609 2015-07-21 02:00:40Z danfe $
2
# $FreeBSD: head/audio/aubio/Makefile 392609 2015-07-21 02:00:40Z danfe $
3
3
4
PORTNAME=	aubio
4
PORTNAME=	aubio
5
PORTVERSION=	0.4.1
5
PORTVERSION=	0.4.2
6
CATEGORIES=	audio
6
CATEGORIES=	audio
7
MASTER_SITES=	http://aubio.org/pub/
7
MASTER_SITES=	http://aubio.org/pub/
8
8
Lines 14-65 Link Here
14
BUILD_DEPENDS=	txt2man:${PORTSDIR}/textproc/txt2man
14
BUILD_DEPENDS=	txt2man:${PORTSDIR}/textproc/txt2man
15
15
16
USES=		pkgconfig tar:bzip2 waf
16
USES=		pkgconfig tar:bzip2 waf
17
USE_LDCONFIG=	yes
18
19
CONFIGURE_ARGS=	--mandir=${MANPREFIX}/man
17
CONFIGURE_ARGS=	--mandir=${MANPREFIX}/man
18
USE_LDCONFIG=	yes
20
19
21
OPTIONS_DEFINE=	COMPLEX DOXYGEN FFMPEG JACK SAMPLERATE SNDFILE
20
OPTIONS_DEFINE=		COMPLEX DOXYGEN FFMPEG JACK SAMPLERATE SNDFILE
21
OPTIONS_SINGLE=		FFT PRECISION
22
OPTIONS_SINGLE_FFT=	FFTW OOURA
23
OPTIONS_SINGLE_PRECISION=	DOUBLE SINGLE
22
OPTIONS_DEFAULT=	FFTW JACK SAMPLERATE SNDFILE SINGLE
24
OPTIONS_DEFAULT=	FFTW JACK SAMPLERATE SNDFILE SINGLE
25
OPTIONS_SUB=		yes
23
26
24
COMPLEX_DESC=	Compile with C99 complex.h
27
COMPLEX_DESC=		Compile with C99 complex.h
25
COMPLEX_CONFIGURE_ENABLE=	complex
28
COMPLEX_CONFIGURE_ENABLE=	complex
26
29
DOUBLE_DESC=		Double precision mode
27
DOXYGEN_CONFIGURE_OFF=	--disable-doxygen
30
DOUBLE_CONFIGURE_ENABLE=	double
28
DOXYGEN_BUILD_DEPENDS=	doxygen:${PORTSDIR}/devel/doxygen
31
DOXYGEN_BUILD_DEPENDS=	doxygen:${PORTSDIR}/devel/doxygen
29
32
DOXYGEN_CONFIGURE_OFF=	--disable-doxygen
30
FFMPEG_CONFIGURE_ENABLE=	avcodec
31
FFMPEG_LIB_DEPENDS=	libavcodec.so:${PORTSDIR}/multimedia/ffmpeg
33
FFMPEG_LIB_DEPENDS=	libavcodec.so:${PORTSDIR}/multimedia/ffmpeg
32
34
FFMPEG_CONFIGURE_ENABLE=	avcodec
33
JACK_CONFIGURE_ENABLE=	jack
35
FFT_DESC=		FFT implementation
36
FFTW_DESC=		FFTW3/FFTW3F (depending on precision)
34
JACK_LIB_DEPENDS=	libjack.so:${PORTSDIR}/audio/jack
37
JACK_LIB_DEPENDS=	libjack.so:${PORTSDIR}/audio/jack
35
38
JACK_CONFIGURE_ENABLE=	jack
36
SAMPLERATE_CONFIGURE_ENABLE=	samplerate
39
OOURA_DESC=		Ooura (last resort)
40
PRECISION_DESC=		Precision
37
SAMPLERATE_LIB_DEPENDS=	libsamplerate.so:${PORTSDIR}/audio/libsamplerate
41
SAMPLERATE_LIB_DEPENDS=	libsamplerate.so:${PORTSDIR}/audio/libsamplerate
38
42
SAMPLERATE_CONFIGURE_ENABLE=	samplerate
39
SNDFILE_CONFIGURE_ENABLE=	sndfile
43
SINGLE_DESC=		Single precision mode
40
SNDFILE_LIB_DEPENDS=	libsndfile.so:${PORTSDIR}/audio/libsndfile
44
SNDFILE_LIB_DEPENDS=	libsndfile.so:${PORTSDIR}/audio/libsndfile
41
45
SNDFILE_CONFIGURE_ENABLE=	sndfile
42
OPTIONS_SINGLE=	FFT PRECISION
43
OPTIONS_SINGLE_FFT=	FFTW OOURA
44
OPTIONS_SINGLE_PRECISION=	DOUBLE SINGLE
45
46
FFT_DESC=	FFT implementation
47
FFTW_DESC=	FFTW3/FFTW3F (depending on precision)
48
OOURA_DESC=	Ooura (last resort)
49
50
PRECISION_DESC=	Precision
51
DOUBLE_DESC=	Double precision mode
52
SINGLE_DESC=	Single precision mode
53
DOUBLE_CONFIGURE_ENABLE=	double
54
46
55
.include <bsd.port.options.mk>
47
.include <bsd.port.options.mk>
56
48
57
.if ${PORT_OPTIONS:MDOXYGEN}
58
PLIST_SUB+=	DOXYGEN=""
59
.else
60
PLIST_SUB+=	DOXYGEN="@comment "
61
.endif
62
63
.if ${PORT_OPTIONS:MFFTW}
49
.if ${PORT_OPTIONS:MFFTW}
64
.  if ${PORT_OPTIONS:MDOUBLE}
50
.  if ${PORT_OPTIONS:MDOUBLE}
65
LIB_DEPENDS+=	libfftw3.so:${PORTSDIR}/math/fftw3
51
LIB_DEPENDS+=	libfftw3.so:${PORTSDIR}/math/fftw3
Lines 69-83 Link Here
69
.endif
55
.endif
70
56
71
post-patch:
57
post-patch:
72
	@${REINPLACE_CMD} -e '/pkgconfig/s,$${LIBDIR},&data,' \
58
	@${REINPLACE_CMD} -e \
73
		${WRKSRC}/waflib/TaskGen.py
59
		'/pkgconfig/s|$${LIBDIR}|&data|' ${WRKSRC}/waflib/TaskGen.py
74
60
75
.if !defined(WITH_DEBUG) || defined(WITHOUT_DEBUG) || defined(INSTALL_STRIPPED)
76
post-install:
61
post-install:
77
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so
62
.for b in mfcc notes onset pitch quiet track
78
.  for b in mfcc notes onset pitch quiet track
63
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/aubio${b}
79
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${b}
64
.endfor
80
.  endfor
65
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libaubio.so
81
.endif
82
66
83
.include <bsd.port.mk>
67
.include <bsd.port.mk>
(-)audio/aubio/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (aubio-0.4.1.tar.bz2) = 25d7df0a9cd6366fda764a803424caddf5fb819fc75b42a7a03e1e6f8eb3c695
1
SHA256 (aubio-0.4.2.tar.bz2) = 1cc58e0fed2b9468305b198ad06b889f228b797a082c2ede716dc30fcb4f8f1f
2
SIZE (aubio-0.4.1.tar.bz2) = 288136
2
SIZE (aubio-0.4.2.tar.bz2) = 304216
(-)audio/aubio/files/patch-wscript (-7 / +7 lines)
Lines 1-16 Link Here
1
--- wscript.orig	2014-03-12 15:19:28 UTC
1
--- wscript.orig	2015-08-01 10:24:35 UTC
2
+++ wscript
2
+++ wscript
3
@@ -72,6 +72,9 @@ def options(ctx):
3
@@ -75,6 +75,9 @@ def options(ctx):
4
     add_option_enable_disable(ctx, 'double', default = False,
4
     add_option_enable_disable(ctx, 'fat', default = False,
5
             help_str = 'compile in double precision mode',
5
             help_str = 'build fat binaries (darwin only)',
6
             help_disable_str = 'compile in single precision mode (default)')
6
             help_disable_str = 'do not build fat binaries (default)')
7
+    ctx.add_option('--disable-doxygen', action = 'store_true',
7
+    ctx.add_option('--disable-doxygen', action = 'store_true',
8
+            dest = 'disable_doxygen',
8
+            dest = 'disable_doxygen',
9
+            help = 'disable doxygen even if found')
9
+            help = 'disable doxygen even if found')
10
 
10
 
11
     ctx.add_option('--with-target-platform', type='string',
11
     ctx.add_option('--with-target-platform', type='string',
12
             help='set target platform for cross-compilation', dest='target_platform')
12
             help='set target platform for cross-compilation', dest='target_platform')
13
@@ -254,6 +257,9 @@ def configure(ctx):
13
@@ -258,6 +261,9 @@ def configure(ctx):
14
     # check if doxygen is installed, optional
14
     # check if doxygen is installed, optional
15
     try:
15
     try:
16
       ctx.find_program('doxygen', var='DOXYGEN')
16
       ctx.find_program('doxygen', var='DOXYGEN')
Lines 20-26 Link Here
20
     except ctx.errors.ConfigurationError:
20
     except ctx.errors.ConfigurationError:
21
       ctx.to_log('doxygen was not found (ignoring)')
21
       ctx.to_log('doxygen was not found (ignoring)')
22
 
22
 
23
@@ -291,11 +297,11 @@ def build(bld):
23
@@ -295,11 +301,11 @@ def build(bld):
24
         bld( source = bld.path.ant_glob('doc/*.txt') )
24
         bld( source = bld.path.ant_glob('doc/*.txt') )
25
 
25
 
26
     # build documentation from source files using doxygen
26
     # build documentation from source files using doxygen
(-)audio/aubio/pkg-plist (-2 / +1 lines)
Lines 51-60 Link Here
51
include/aubio/utils/parameter.h
51
include/aubio/utils/parameter.h
52
include/aubio/utils/scale.h
52
include/aubio/utils/scale.h
53
include/aubio/vecutils.h
53
include/aubio/vecutils.h
54
lib/libaubio.a
55
lib/libaubio.so
54
lib/libaubio.so
56
lib/libaubio.so.4
55
lib/libaubio.so.4
57
lib/libaubio.so.4.1.1
56
lib/libaubio.so.4.2.2
58
libdata/pkgconfig/aubio.pc
57
libdata/pkgconfig/aubio.pc
59
man/man1/aubiocut.1.gz
58
man/man1/aubiocut.1.gz
60
man/man1/aubiomfcc.1.gz
59
man/man1/aubiomfcc.1.gz

Return to bug 203239