SUMMARY="An audio component framework and library" DESCRIPTION="BoCA is the component framework behind the fre:ac audio \ converter. It provides unified interfaces for components like encoders, \ decoders, taggers and extensions as well as code to support communication \ between applications and their components." HOMEPAGE="https://github.com/enzo1982/BoCA" COPYRIGHT="2007-2026 Robert Kausch" LICENSE="GNU GPL v2" REVISION="1" SOURCE_URI="https://github.com/enzo1982/BoCA/releases/download/v${portVersion}/boca-${portVersion}.tar.gz" CHECKSUM_SHA256="" SOURCE_DIR="boca-${portVersion}" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" libVersion="${portVersion%.*}" libVersionCompat="3 compat >= 2" PROVIDES=" boca$secondaryArchSuffix = $portVersion lib:libboca_${libVersion}$secondaryArchSuffix = $libVersionCompat " REQUIRES=" haiku$secondaryArchSuffix smooth$secondaryArchSuffix >= 0.9.10 lib:libsmooth_0.9$secondaryArchSuffix >= 0 lib:libexpat$secondaryArchSuffix lib:liburiparser$secondaryArchSuffix lib:libz$secondaryArchSuffix " PROVIDES_devel=" boca${secondaryArchSuffix}_devel = $portVersion devel:libboca_${libVersion}$secondaryArchSuffix = $libVersionCompat " REQUIRES_devel=" boca$secondaryArchSuffix == $portVersion base smooth${secondaryArchSuffix}_devel >= 0.9.10 devel:libsmooth_0.9$secondaryArchSuffix >= 0 " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel smooth${secondaryArchSuffix}_devel >= 0.9.10 devel:libsmooth_0.9$secondaryArchSuffix devel:libexpat$secondaryArchSuffix devel:liburiparser$secondaryArchSuffix devel:libz$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:g++$secondaryArchSuffix cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix cmd:make cmd:pkg_config$secondaryArchSuffix " BUILD() { make $jobArgs } INSTALL() { make prefix="$prefix" libdir="$libDir" includedir="$includeDir" install mkdir -p "$developLibDir" ln -r -s "$libDir"/libboca-$libVersion.so.3 \ "$developLibDir"/libboca-$libVersion.so ln -r -s "$libDir"/libboca-$libVersion.so.3 \ "$developLibDir"/libboca-$libVersion.so.3 packageEntries devel \ "$developDir" }