mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
libaubio, bump version (#2606)
This commit is contained in:
committed by
waddlesplash
parent
df843078ed
commit
1f68698a7f
88
media-libs/libaubio/libaubio-0.4.6.recipe
Normal file
88
media-libs/libaubio/libaubio-0.4.6.recipe
Normal file
@@ -0,0 +1,88 @@
|
||||
SUMMARY="A library to label music and sounds"
|
||||
DESCRIPTION="aubio is a library to label music and sounds. It listens to \
|
||||
audio signals and attempts to detect events. For instance, when a drum is \
|
||||
hit, at which frequency is a note, or at what tempo is a rhythmic melody.
|
||||
|
||||
Its features include segmenting a sound file before each of its attacks, \
|
||||
performing pitch detection, tapping the beat and producing midi streams from \
|
||||
live audio."
|
||||
HOMEPAGE="http://aubio.org"
|
||||
COPYRIGHT="2003-2013 Paul Brossier"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://aubio.org/pub/aubio-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="bdc73be1f007218d3ea6d2a503b38a217815a0e2ccc4ed441f6e850ed5d47cfb"
|
||||
SOURCE_DIR="aubio-$portVersion"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="5.3.7"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
libaubio$secondaryArchSuffix = $portVersion
|
||||
lib:libaubio$secondaryArchSuffix = $libVersionCompat
|
||||
cmd:aubiomfcc$secondaryArchSuffix
|
||||
cmd:aubionotes$secondaryArchSuffix
|
||||
cmd:aubioonset$secondaryArchSuffix
|
||||
cmd:aubiopitch$secondaryArchSuffix
|
||||
cmd:aubioquiet$secondaryArchSuffix
|
||||
cmd:aubiotrack$secondaryArchSuffix
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
ffmpeg$secondaryArchSuffix
|
||||
lib:libsndfile$secondaryArchSuffix
|
||||
lib:libsamplerate$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libaubio${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libaubio$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libaubio$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
ffmpeg${secondaryArchSuffix}_devel
|
||||
devel:libsndfile$secondaryArchSuffix
|
||||
devel:libsamplerate$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:python
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
defineDebugInfoPackage libaubio$secondaryArchSuffix \
|
||||
"$libDir"/libaubio.so.$libVersion \
|
||||
"$binDir"/aubiomfcc \
|
||||
"$binDir"/aubionotes \
|
||||
"$binDir"/aubioonset \
|
||||
"$binDir"/aubiopitch \
|
||||
"$binDir"/aubioquiet \
|
||||
"$binDir"/aubiotrack
|
||||
|
||||
BUILD()
|
||||
{
|
||||
echo $includeDir
|
||||
runConfigure --omit-buildspec ./waf configure \
|
||||
--with-target-platform=$effectiveTargetMachineTriple
|
||||
./waf build
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
./waf install
|
||||
|
||||
prepareInstalledDevelLibs libaubio
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
Reference in New Issue
Block a user