void-packages/srcpkgs/libsamplerate/template

25 lines
982 B
Plaintext
Raw Normal View History

# Template file for 'libsamplerate'
pkgname=libsamplerate
version=0.1.7
revision=1
distfiles="http://www.mega-nerd.com/SRC/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="CFLAGS=-fPIC"
short_desc="Sample Rate Converter for audio"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=78ed5d9ff1bf162c4a078f6a3e7432a537dd2f22dc58872b081fb01156027fcc
long_desc="
One example of where such a thing would be useful is converting audio from
the CD sample rate of 44.1kHz to the 48kHz sample rate used by DAT players.
SRC 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."
subpackages="$pkgname-devel"
Add_dependency run glibc
Add_dependency run libsndfile
Add_dependency build libsndfile-devel