# Compiling Time: 0.09 SBU
# Maintainer: DeX77 <dex77@frugalware.org>

pkgname=soundtouch
pkgver=2.4.0
pkgrel=1
pkgdesc="An open-source audio processing library for changing the Tempo, Pitch and Playback Rates of audio streams or files."
url="http://www.surina.net/soundtouch/"
depends=('libstdc++>=11.2')
groups=('multimedia')
archs=("x86_64")
up2date="Flasttar https://codeberg.org/soundtouch/soundtouch"
source=("https://codeberg.org/soundtouch/soundtouch/archive/$pkgver.tar.gz")
sha1sums=('04779030c015f7c0e7d089725faad5694ef84efe')
_F_cd_path="$pkgname"

build()
{
	Fcd
	Fsed AM_CONFIG_HEADER AC_CONFIG_HEADERS configure.ac
	Fautoreconf

	local i
	for i in `find . -iname "Makefile*"`
	do
		Fsed "-O3" "${CXXFLAGS}" $i
	done

	Fbuild --enable-shared
}


# optimization OK
