mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
libsbsms: new recipe (#9641)
This commit is contained in:
60
media-libs/libsbsms/libsbsms-2.3.0.recipe
Normal file
60
media-libs/libsbsms/libsbsms-2.3.0.recipe
Normal file
@@ -0,0 +1,60 @@
|
||||
SUMMARY="A library for high quality time and pitch scale modification"
|
||||
DESCRIPTION="libsbsms is a library for high quality time and pitch scale \
|
||||
modification. It is based on octave subband sinusoidal modeling and \
|
||||
resynthesis. It stitches tracks between subbands, and it has multiple \
|
||||
stages of analysis and resynthesis."
|
||||
HOMEPAGE="https://github.com/claytonotey/libsbsms"
|
||||
COPYRIGHT="2021 Clayton Otey"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/claytonotey/libsbsms/archive/refs/tags/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="4f88d152bc06fedbda9d5d65517d40254a7310c9050601a93122309d45afd2c9"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
portVersionCompat="$portVersion compat >= ${portVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
libsbsms$secondaryArchSuffix = $portVersion
|
||||
lib:libsbsms$secondaryArchSuffix = $portVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libsbsms${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libsbsms$secondaryArchSuffix = $portVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libsbsms$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:ninja
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake -S . -B build -G Ninja \
|
||||
$cmakeDirArgs \
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
cmake --build build $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cmake --install build
|
||||
prepareInstalledDevelLibs libsbsms
|
||||
fixPkgconfig
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
Reference in New Issue
Block a user