Files

44 lines
1.6 KiB
Plaintext

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup github 1.0
github.setup libsndfile libsamplerate 0.2.2
revision 0
categories audio
license BSD
maintainers nomaintainer
description library for sample rate conversion of audio data
long_description \
${name} is a Sample Rate Converter for audio. \
The library is capable of arbitrary and time-varying \
conversions from downsampling by a factor of 256 \
to upsampling by the same factor. Arbitrary \
in this case means that the ratio of input \
and output sample rates can be an irrational number. \
The conversion ratio can also vary with time \
for speeding up and slowing down effects.
homepage https://libsndfile.github.io/libsamplerate
checksums rmd160 b265c9bc1167dddc1f1b643ddca73a58ea295957 \
sha256 16e881487f184250deb4fcb60432d7556ab12cb58caea71ef23960aec6c0405a \
size 3954784
github.tarball_from archive
use_autoreconf yes
depends_build-append \
path:bin/pkg-config:pkgconfig
depends_lib port:libsndfile
configure.args --disable-cpu-clip \
--disable-fftw \
--disable-silent-rules \
--enable-option-checking \
--enable-sndfile
post-destroot {
set docdir ${destroot}${prefix}/share/doc/${name}
xinstall -d ${docdir}
xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README.md ${docdir}
}