mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
60 lines
1.5 KiB
Bash
60 lines
1.5 KiB
Bash
SUMMARY="Fast audio sample rate conversion"
|
|
DESCRIPTION="Library for resampling audio.
|
|
Like other audio resampling libraries, it is based on the bandlimited interpolation algorithm \
|
|
described by Julius Orion Smith. LibFResample is designed to use SIMD operations where available. \
|
|
Currently, LibFResample supports SSE2 and AltiVec."
|
|
HOMEPAGE="https://github.com/depp/libfresample"
|
|
COPYRIGHT="2012-2022 Dietrich Epp"
|
|
LICENSE="BSD (2-clause)"
|
|
SOURCE_URI="https://github.com/depp/libfresample/archive/5563f416d53cb7f8f369eb16c3c6549c7ec6a2a9.tar.gz"
|
|
CHECKSUM_SHA256="592882e9e6d888e82f33b53f47793c41bb372915c199076e3c76141793ac5ba9"
|
|
SOURCE_DIR="libfresample-5563f416d53cb7f8f369eb16c3c6549c7ec6a2a9"
|
|
REVISION="1"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libfresample$secondaryArchSuffix = $portVersion
|
|
lib:libfresample$secondaryArchSuffix
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libfresample${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libfresample$secondaryArchSuffix
|
|
"
|
|
REQUIRES_devel="
|
|
haiku${secondaryArchSuffix}_devel
|
|
libfresample$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autom4te
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:python3
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
sh autogen.sh
|
|
runConfigure ./configure --disable-static
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
rm $libDir/*.a
|
|
|
|
prepareInstalledDevelLibs libfresample
|
|
packageEntries devel $developDir
|
|
}
|