diff --git a/srcpkgs/libsamplerate/template b/srcpkgs/libsamplerate/template index f68be1dedd1..f801dc6cde5 100644 --- a/srcpkgs/libsamplerate/template +++ b/srcpkgs/libsamplerate/template @@ -1,9 +1,8 @@ # Template file for 'libsamplerate' pkgname=libsamplerate version=0.1.8 -revision=2 +revision=3 build_style=gnu-configure -configure_args="CFLAGS=-fPIC" hostmakedepends="pkg-config" makedepends="libsndfile-devel fftw-devel" short_desc="Sample Rate Converter for audio" @@ -12,23 +11,17 @@ 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." +CFLAGS="-fPIC" libsamplerate-devel_package() { - depends="libsndfile-devel ${sourcepkg}>=${version}" + depends="libsndfile-devel ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig vmove "usr/lib/*.a" + vmove "usr/lib/*.so" vmove usr/share/doc } }