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

(-)audio/audacity/Makefile (-11 / +10 lines)
Lines 33-38 OPTIONS_SINGLE= SAMPLERATED Link Here
33
OPTIONS_SINGLE_SAMPLERATED=	SAMPLERATE #SOXR
33
OPTIONS_SINGLE_SAMPLERATED=	SAMPLERATE #SOXR
34
OPTIONS_DEFAULT=	FFMPEG FLAC ID3TAG LADSPA MAD MIDI NYQUIST \
34
OPTIONS_DEFAULT=	FFMPEG FLAC ID3TAG LADSPA MAD MIDI NYQUIST \
35
			PORTMIXER SBSMS SOUNDTOUCH SAMPLERATE TWOLAME VAMP VORBIS VST
35
			PORTMIXER SBSMS SOUNDTOUCH SAMPLERATE TWOLAME VAMP VORBIS VST
36
OPTIONS_DEFINE_amd64=	SSE
37
OPTIONS_DEFINE_i386=	SSE
38
OPTIONS_DEFAULT_amd64=	SSE
39
OPTIONS_DEFAULT_i386=	${MACHINE_CPU:tu:MSSE}
36
40
37
DEBUG_DESC=	Enable debug support
41
DEBUG_DESC=	Enable debug support
38
LAME_DESC=	Use lame for import and export support
42
LAME_DESC=	Use lame for import and export support
Lines 54-64 CONFIGURE_ENV+= WX_CONFIG="${WX_CONFIG}" Link Here
54
58
55
CONFIGURE_ARGS+=	--with-lib-preference="local system" \
59
CONFIGURE_ARGS+=	--with-lib-preference="local system" \
56
			--enable-portaudio --enable-unicode
60
			--enable-portaudio --enable-unicode
57
.if ${MACHINE_CPU:Msse}
58
CONFIGURE_ARGS+=	--enable-sse
59
.else
60
CONFIGURE_ARGS+=	--disable-sse
61
.endif
62
61
63
DEBUG_CONFIGURE_WITH=	debug
62
DEBUG_CONFIGURE_WITH=	debug
64
63
Lines 103-108 SOUNDTOUCH_LIB_DEPENDS= libSoundTouch.so:${PORTSDI Link Here
103
#SOXR_CONFIGURE_WITH=	libsoxr
102
#SOXR_CONFIGURE_WITH=	libsoxr
104
#SOXR_BUILD_DEPENDS=	cmake:${PORTSDIR}/devel/cmake
103
#SOXR_BUILD_DEPENDS=	cmake:${PORTSDIR}/devel/cmake
105
104
105
SSE_CONFIGURE_ENABLE=	sse
106
106
TWOLAME_CONFIGURE_WITH=	libtwolame
107
TWOLAME_CONFIGURE_WITH=	libtwolame
107
TWOLAME_LIB_DEPENDS=	libtwolame.so:${PORTSDIR}/audio/twolame
108
TWOLAME_LIB_DEPENDS=	libtwolame.so:${PORTSDIR}/audio/twolame
108
109
Lines 113-120 VORBIS_LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio Link Here
113
114
114
VST_CONFIGURE_ENABLE=	vst
115
VST_CONFIGURE_ENABLE=	vst
115
116
116
.include <bsd.port.pre.mk>
117
118
LDFLAGS+=	-lpthread -L${LOCALBASE}/lib
117
LDFLAGS+=	-lpthread -L${LOCALBASE}/lib
119
CPPFLAGS+=	-I${WRKSRC}/lib-src/portsmf
118
CPPFLAGS+=	-I${WRKSRC}/lib-src/portsmf
120
CXXFLAGS+=	-I${WRKSRC}/lib-src/portsmf
119
CXXFLAGS+=	-I${WRKSRC}/lib-src/portsmf
Lines 123-135 CFLAGS+= -I${WRKSRC}/lib-src/portsmf \ Link Here
123
		-I${WRKSRC}/lib-src/lame -I${LOCALBASE}/include
122
		-I${WRKSRC}/lib-src/lame -I${LOCALBASE}/include
124
123
125
post-patch:
124
post-patch:
126
.if ! ${PORT_OPTIONS:MPORTMIXER}
127
	@${REINPLACE_CMD} -e 's/ portmixer / /' ${WRKSRC}/lib-src/Makefile.in
128
.endif
129
	@${REINPLACE_CMD} -e 's|inline void|static inline void|' ${WRKSRC}/lib-src/libnyquist/nyquist/ffts/src/fftlib.c
125
	@${REINPLACE_CMD} -e 's|inline void|static inline void|' ${WRKSRC}/lib-src/libnyquist/nyquist/ffts/src/fftlib.c
130
126
127
post-patch-PORTMIXER-off:
128
	@${REINPLACE_CMD} -e 's/ portmixer / /' ${WRKSRC}/lib-src/Makefile.in
129
131
post-install:
130
post-install:
132
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
131
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
133
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
132
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
134
133
135
.include <bsd.port.post.mk>
134
.include <bsd.port.mk>

Return to bug 202605