Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2014 03:25:42 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/185941: audio/soundtouch: Update to version 1.8.0
Message-ID:  <20140121032542.0c3d36b6fd1a7a55d707febe@yahoo.com>
Resent-Message-ID: <201401201840.s0KIe6Ki005319@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185941
>Category:       ports
>Synopsis:       audio/soundtouch: Update to version 1.8.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 20 18:40:06 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE-p7 i386
>Organization:
>Environment:
>Description:
- Update to version 1.8.0

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/soundtouch/Makefile audio/soundtouch/Makefile
--- /usr/ports/audio/soundtouch/Makefile	2013-11-06 21:52:10.000000000 +0900
+++ audio/soundtouch/Makefile	2014-01-21 00:00:00.000000000 +0900
@@ -2,7 +2,7 @@
 # $FreeBSD: head/audio/soundtouch/Makefile 327706 2013-09-20 14:36:35Z bapt $
 
 PORTNAME=	soundtouch
-PORTVERSION=	1.7.1
+PORTVERSION=	1.8.0
 CATEGORIES=	audio
 MASTER_SITES=	http://www.surina.net/soundtouch/
 
@@ -11,37 +11,37 @@
 
 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 -urN /usr/ports/audio/soundtouch/distinfo audio/soundtouch/distinfo
--- /usr/ports/audio/soundtouch/distinfo	2013-11-06 21:52:10.000000000 +0900
+++ audio/soundtouch/distinfo	2014-01-21 00:00:00.000000000 +0900
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140121032542.0c3d36b6fd1a7a55d707febe>