- Update to version 1.4.0

- Utilize PORTDOCS
- Improve on comments
This commit is contained in:
Alexey Dokuchaev 2009-08-25 11:57:51 +00:00
parent 2bda9e9fdc
commit c6205df4c8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=240316
3 changed files with 16 additions and 23 deletions

View File

@ -6,28 +6,27 @@
#
PORTNAME= soundtouch
DISTVERSION= 1.3.1
PORTREVISION= 3
DISTVERSION= 1.4.0
CATEGORIES= audio
MASTER_SITES= http://www.surina.net/soundtouch/
MAINTAINER= danfe@FreeBSD.org
COMMENT= An open-source audio processing library
WRKSRC= ${WRKDIR}/${PORTNAME}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared=yes
USE_AUTOTOOLS= autoconf:262 automake:19:env libtool:22
USE_LDCONFIG= yes
PORTDOCS= README.html
pre-configure:
cd ${WRKSRC} && ${TOUCH} NEWS README AUTHORS ChangeLog && ${AUTORECONF} -i
${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g; \
s|-O3[^I]*|${CXXFLAGS} -|; s|$$(prefix)/doc|$$(datadir)/doc|; \
s|COPYING.TXT||'
# Fix for GCC 4.x
${REINPLACE_CMD} -e 's|SoundTouch::||' ${WRKSRC}/include/SoundTouch.h
# Better SSE detection
${REINPLACE_CMD} -e '135s|__x86_64__|&) \&\& defined(__SSE__|' \
post-patch: .SILENT
# Adjust some paths for FreBSD, respect CFLAGS, and get rid of GPL
${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -E \
's|\(libdir\)/pkgconfig|(prefix)/libdata/pkgconfig|g; \
s| -O3( -[mf][[:graph:]]*)*||; \
s|\(prefix\)/doc|(datadir)/doc|; s|COPYING\.TXT||'
# Fix SSE detection
${REINPLACE_CMD} -e 's|__x86_64__|&) \&\& defined(__SSE__|' \
${WRKSRC}/include/STTypes.h
.if defined(NOPORTDOCS)
${REINPLACE_CMD} -e 's|[[:blank:]]install-pkgdocDATA$$||' \

View File

@ -1,3 +1,3 @@
MD5 (soundtouch-1.3.1.tar.gz) = 5e0185e81dbba2f2eed8581b7664ab04
SHA256 (soundtouch-1.3.1.tar.gz) = f268fb05200fc55e50e88772765a822628f1a0157a4a57cc9545ac50a0d4fd9c
SIZE (soundtouch-1.3.1.tar.gz) = 314641
MD5 (soundtouch-1.4.0.tar.gz) = fc4bb10401624899efe4fb554d4fd3ed
SHA256 (soundtouch-1.4.0.tar.gz) = d7f40b1acf24789b3d24316e368859df2784135c29d244181020f94d803a11fb
SIZE (soundtouch-1.4.0.tar.gz) = 413183

View File

@ -6,15 +6,9 @@ include/soundtouch/STTypes.h
include/soundtouch/SoundTouch.h
include/soundtouch/soundtouch_config.h
@dirrm include/soundtouch
lib/libBPM.a
lib/libBPM.la
lib/libBPM.so.0
lib/libBPM.so
lib/libSoundTouch.a
lib/libSoundTouch.la
lib/libSoundTouch.so.0
lib/libSoundTouch.so
share/aclocal/soundtouch.m4
libdata/pkgconfig/soundtouch-1.0.pc
%%PORTDOCS%%%%DOCSDIR%%/README.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%
libdata/pkgconfig/soundtouch-1.4.pc