Upgrade to v19_20071207. This is the latest stable release.
The previous tarball portaudio-19.b1175 is dated Feb 11 2007. Note: the ancient port audio/portaudio should be deprecated, but it is still used by several ports; if you are still using it, please consider a migration towards portaudio2. Hint: if your port does not build with portaudio2, it may be outdated!
This commit is contained in:
parent
2258f28656
commit
b02ee49bcf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=229488
@ -6,25 +6,44 @@
|
||||
#
|
||||
|
||||
PORTNAME= portaudio
|
||||
PORTVERSION= 19.b${SNAPREV}
|
||||
DISTVERSION= 19_20071207
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= CENKES
|
||||
# svn export -rSNAPREV https://www.portaudio.com/repos/portaudio/branches/v19-devel
|
||||
LATEST_LINK= ${PORTNAME}2
|
||||
MASTER_SITES= http://www.portaudio.com/archives/
|
||||
DISTNAME= pa_stable_v${DISTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Portable cross-platform Audio API
|
||||
|
||||
SNAPREV= 1175
|
||||
USE_BZIP2= yes
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --disable-static --without-alsa --without-jack --without-asihpi \
|
||||
CONFIGURE_ARGS= --without-alsa \
|
||||
--libdir=${PREFIX}/lib/${PORTNAME}2 --includedir=${PREFIX}/include/${PORTNAME}2
|
||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}2
|
||||
|
||||
post-patch:
|
||||
@${GREP} -lre -lpthread ${WRKSRC}|${XARGS} ${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|'
|
||||
@${REINPLACE_CMD} -e '/pkgconfig/s|$$[(]libdir[)]|${PREFIX}/libdata|' ${WRKSRC}/Makefile.in
|
||||
LATEST_LINK= ${PORTNAME}2
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if exists(${LOCALBASE}/lib/libjack.so)
|
||||
WITH_JACK= yes
|
||||
.endif
|
||||
.if !defined(WITH_JACK)
|
||||
CONFIGURE_ARGS+= --without-jack
|
||||
.else
|
||||
# Avoid a circular dependency
|
||||
CONFIGURE_ARGS+= --with-jack
|
||||
#LIB_DEPENDS+= jack.0:${PORTSDIR}/audio/jack
|
||||
.endif
|
||||
|
||||
pre-configure:
|
||||
# replace obsolete headers, and fix up thread library
|
||||
${FIND} ${WRKSRC} -type f \
|
||||
| ${XARGS} -x -n 10 \
|
||||
${REINPLACE_CMD} -E \
|
||||
-e 's|malloc.h|stdlib.h|' \
|
||||
-e 's|-lpthread|${PTHREAD_LIBS}|'
|
||||
${REINPLACE_CMD} -e '/pkgconfig/s|$$[(]libdir[)]|${PREFIX}/libdata|' ${WRKSRC}/Makefile.in
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (portaudio-19.b1175.tar.bz2) = 64edb465b3997afda3533b2a73582b80
|
||||
SHA256 (portaudio-19.b1175.tar.bz2) = e3e9cd380d0d6ac201042e4e37606c0fc35c39ed7b1af614782c62ba8796a0fc
|
||||
SIZE (portaudio-19.b1175.tar.bz2) = 795225
|
||||
MD5 (pa_stable_v19_20071207.tar.gz) = d2943e4469834b25afe62cc51adc025f
|
||||
SHA256 (pa_stable_v19_20071207.tar.gz) = 06a17727d56d382a69036de2ed9aee9a15cac0329b995b8cfcd69b357f47bf2b
|
||||
SIZE (pa_stable_v19_20071207.tar.gz) = 1113282
|
||||
|
@ -1,4 +1,5 @@
|
||||
include/portaudio2/portaudio.h
|
||||
lib/portaudio2/libportaudio.a
|
||||
lib/portaudio2/libportaudio.la
|
||||
lib/portaudio2/libportaudio.so
|
||||
lib/portaudio2/libportaudio.so.2
|
||||
|
Loading…
Reference in New Issue
Block a user