aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-02-07 13:05:57 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-02-07 13:05:57 +0000
commit857a5908b9a6c4bcdee882d38e51c9b09247e217 (patch)
treea1098b34037d4a3a35c8cee76a601551bf9da15c /audio
parent686a0c997fff797b0726fed951f9ecbcd729c052 (diff)
downloadports-857a5908b9a6c4bcdee882d38e51c9b09247e217.tar.gz
ports-857a5908b9a6c4bcdee882d38e51c9b09247e217.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/soundtouch/Makefile40
-rw-r--r--audio/soundtouch/distinfo4
2 files changed, 22 insertions, 22 deletions
diff --git a/audio/soundtouch/Makefile b/audio/soundtouch/Makefile
index f98dfdec833b..1a824c8d4ca5 100644
--- a/audio/soundtouch/Makefile
+++ b/audio/soundtouch/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= soundtouch
-PORTVERSION= 1.7.1
+PORTVERSION= 1.8.0
CATEGORIES= audio
MASTER_SITES= http://www.surina.net/soundtouch/
@@ -11,37 +11,37 @@ COMMENT= Open-source audio processing library
LICENSE= LGPL21
-OPTIONS_DEFINE= INTEGER_SAMPLES DOCS
-INTEGER_SAMPLES_DESC= Use integer sample format
-
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_AUTOTOOLS= libtoolize aclocal autoheader automake autoconf
-NO_STAGE= yes
ACLOCAL_ARGS= -I config/m4
AUTOMAKE_ARGS= --add-missing --copy --foreign
+CONFIGURE_ARGS= --disable-silent-rules
USE_LDCONFIG= yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= INTEGER_SAMPLES DOCS
+OPTIONS_DEFINE_amd64= SSE
+OPTIONS_DEFINE_i386= SSE
-.if ${PORT_OPTIONS:MINTEGER_SAMPLES}
-CONFIGURE_ARGS+= --enable-integer-samples
-.endif
+INTEGER_SAMPLES_DESC= Use integer sample format
+INTEGER_SAMPLES_CONFIGURE_ENABLE= integer-samples
+SSE_CONFIGURE_ENABLE= x86-optimizations
+
+.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e \
- 's|^pkgdoc_DATA|#pkgdoc_DATA| ; \
+ '/^pkgdoc_DATA/s|COPYING.TXT|| ; \
s|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|' \
${WRKSRC}/Makefile.am
- @${FIND} ${WRKSRC}/source -name "Makefile.am" | ${XARGS} \
- ${REINPLACE_CMD} -e \
- 's|-O[0-9]|| ; \
- s|-msse||'
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.html ${DOCSDIR}
-.endif
+ @${REINPLACE_CMD} -e \
+ 's|^INCLUDES|AM_CPPFLAGS| ; \
+ s|$$(prefix)/doc|$$(datadir)/doc|' \
+ ${WRKSRC}/config/am_include.mk
+.for i in SoundStretch SoundTouch
+ @${REINPLACE_CMD} -e \
+ 's|-O[0-9]||' \
+ ${WRKSRC}/source/${i}/Makefile.am
+.endfor
.include <bsd.port.mk>
diff --git a/audio/soundtouch/distinfo b/audio/soundtouch/distinfo
index ecc5d94a30f4..af8a480c1ee9 100644
--- a/audio/soundtouch/distinfo
+++ b/audio/soundtouch/distinfo
@@ -1,2 +1,2 @@
-SHA256 (soundtouch-1.7.1.tar.gz) = 385eafa438a9d31ddf84b8d2f713097a3f1fc93d7abdb2fc54c484b777ee0267
-SIZE (soundtouch-1.7.1.tar.gz) = 101274
+SHA256 (soundtouch-1.8.0.tar.gz) = 3d4161d74ca25c5a98c69dbb8ea10fd2be409ba1a3a0bf81db407c4c261f166b
+SIZE (soundtouch-1.8.0.tar.gz) = 106229