void-packages/srcpkgs/libsamplerate/template

25 lines
1.0 KiB
Plaintext
Raw Normal View History

# Template file for 'libsamplerate'
pkgname=libsamplerate
version=0.1.8
revision=2
subpackages="${pkgname}-devel"
build_style=gnu-configure
configure_args="CFLAGS=-fPIC"
hostmakedepends="pkg-config"
makedepends="libsndfile-devel fftw-devel"
short_desc="Sample Rate Converter for audio"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.mega-nerd.com/SRC/index.html"
license="GPL-2"
distfiles="http://www.mega-nerd.com/SRC/$pkgname-$version.tar.gz"
checksum=93b54bdf46d5e6d2354b7034395fe329c222a966790de34520702bb9642f1c06
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."