libbs2b, new recipe for bs2b without plugin vst (#2638)

This commit is contained in:
Schrijvers Luc
2018-06-16 23:30:51 +02:00
committed by waddlesplash
parent a77ad4ff74
commit 8c08cd23e4
2 changed files with 98 additions and 0 deletions

View File

@@ -0,0 +1,72 @@
SUMMARY="Bauer stereophonic-to-binaural DSP library"
DESCRIPTION="The Bauer stereophonic-to-binaural DSP (bs2b) library and \
plugins is designed to improve headphone listening of stereo audio records. \
Recommended for headphone prolonged listening to disable superstereo \
fatigue without essential distortions."
HOMEPAGE="http://bs2b.sourceforge.net/"
COPYRIGHT="2009 Boris Mikhaylov"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://downloads.sourceforge.net/bs2b/libbs2b-$portVersion.tar.bz2"
CHECKSUM_SHA256="4799974becdeeedf0db00115bc63f60ea3fe4b25f1dfdb6903505839a720e46f"
PATCHES="libbs2b-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
libbs2b$secondaryArchSuffix = $portVersion
cmd:bs2bconvert$secondaryArchSuffix
cmd:bs2bstream$secondaryArchSuffix
lib:libbs2b$secondaryArchSuffix = 0.0.0 compat >= 0
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libsndfile$secondaryArchSuffix
"
PROVIDES_devel="
libbs2b${secondaryArchSuffix}_devel = $portVersion
devel:libbs2b$secondaryArchSuffix = 0.0.0 compat >= 0
"
REQUIRES_devel="
libbs2b$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libsndfile$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoreconf
cmd:g++$secondaryArchSuffix
cmd:make
cmd:libtoolize$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
"
defineDebugInfoPackage libbs2b$secondaryArchSuffix \
"$libDir"/libbs2b.so.0.0.0 \
"$binDir"/bs2bconvert \
"$binDir"/bs2bstream
BUILD()
{
autoreconf -vfi
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
rm "$libDir"/*.la
prepareInstalledDevelLib libbs2b
fixPkgconfig
packageEntries devel \
$developDir
}