audio/pandaresampler: New port: Fast factor 2 resampler for audio signals

This commit is contained in:
Yuri Victorovich 2024-06-09 10:04:07 -07:00
parent 4d1c6bfa5e
commit fb61bef598
4 changed files with 37 additions and 0 deletions

View file

@ -591,6 +591,7 @@
SUBDIR += padthv1-lv2
SUBDIR += paman
SUBDIR += pamixer
SUBDIR += pandaresampler
SUBDIR += paprefs
SUBDIR += pasystray
SUBDIR += patchage

View file

@ -0,0 +1,31 @@
PORTNAME= pandaresampler
DISTVERSION= 0.2.0
CATEGORIES= audio
MASTER_SITES= https://github.com/swesterfeld/pandaresampler/releases/download/${DISTVERSION}/
MAINTAINER= yuri@FreeBSD.org
COMMENT= Fast factor 2 resampler for audio signals
WWW= https://github.com/swesterfeld/pandaresampler
LICENSE= MPL20
BUILD_DEPENDS= fftw3>0:math/fftw3 \
fftw3-float>0:math/fftw3-float \
zita-resampler>0:audio/zita-resampler # only for tests, see https://github.com/swesterfeld/pandaresampler/issues/2
USES= gmake localbase:ldflags pkgconfig
GNU_CONFIGURE= yes
PLIST_FILES= include/pandaresampler.hh \
lib/libpandaresampler.a
do-install: # workaround for https://github.com/swesterfeld/pandaresampler/issues/1
${INSTALL_DATA} ${WRKSRC}/lib/pandaresampler.hh ${STAGEDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/lib/.libs/libpandaresampler.a ${STAGEDIR}${PREFIX}/lib
# relevant issues:
# * https://github.com/swesterfeld/pandaresampler/issues/3: Please allow to build a shared library with --enable-shared
# * https://github.com/swesterfeld/pandaresampler/issues/2: Please don't build tests by default
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1717950020
SHA256 (pandaresampler-0.2.0.tar.gz) = 5319f403467365768d3ff1634fda0d4ace72196c6f30e51a656b67803a07aad7
SIZE (pandaresampler-0.2.0.tar.gz) = 422783

View file

@ -0,0 +1,2 @@
PandaResampler is a fast C++ (SSEified) factor 2 resampler for audio signals.
It is easy to integrate into projects since it supports header only mode.