mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
83 lines
1.9 KiB
Bash
83 lines
1.9 KiB
Bash
SUMMARY="An audio time-stretching and pitch-shifting library"
|
|
DESCRIPTION="Rubber Band is a library and utility program that permits \
|
|
changing the tempo and pitch of an audio recording independently of one \
|
|
another."
|
|
HOMEPAGE="http://www.breakfastquay.com/rubberband/"
|
|
COPYRIGHT="2007-2012 Particular Programs Ltd"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="http://code.breakfastquay.com/attachments/download/34/rubberband-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="ff0c63b0b5ce41f937a8a3bc560f27918c5fe0b90c6bc1cb70829b86ada82b75"
|
|
PATCHES="rubberband-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
rubberband$secondaryArchSuffix = $portVersion
|
|
cmd:rubberband
|
|
lib:librubberband$secondaryArchSuffix = 2.1.0 compat >= 2
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libfftw3$secondaryArchSuffix
|
|
lib:libsamplerate$secondaryArchSuffix
|
|
lib:libsndfile$secondaryArchSuffix
|
|
lib:libvamp_sdk$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
rubberband${secondaryArchSuffix}_devel = $portVersion
|
|
devel:librubberband$secondaryArchSuffix = 2.1.0 compat >= 2
|
|
"
|
|
REQUIRES_devel="
|
|
rubberband$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libfftw3$secondaryArchSuffix
|
|
devel:libsamplerate$secondaryArchSuffix
|
|
devel:libsndfile$secondaryArchSuffix
|
|
devel:libvamp_sdk$secondaryArchSuffix
|
|
ladspa_sdk${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -fi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
mkdir -p $(dirname $includeDir) $dataDir
|
|
mv $prefix/include $includeDir
|
|
mv $prefix/share/ladspa $dataDir
|
|
|
|
prepareInstalledDevelLibs librubberband
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|