mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
76 lines
1.9 KiB
Bash
76 lines
1.9 KiB
Bash
SUMMARY="A library to adjust the sound tempo, pitch and playback rate"
|
|
DESCRIPTION="SoundTouch is an open-source audio processing library for \
|
|
changing the tempo, pitch and playback rates of audio streams or audio files. \
|
|
The library additionally supports estimating stable beats-per-minute rates for \
|
|
audio tracks.
|
|
|
|
- Tempo (time stretch): Changes the sound to play at faster or slower tempo \
|
|
than originally without affecting the sound pitch.
|
|
- Pitch (key) : Changes the sound pitch or key while keeping the original \
|
|
tempo (speed).
|
|
Playback Rate : Changes both tempo and pitch together as if a vinyl disc was \
|
|
played at different RPM rate."
|
|
HOMEPAGE="http://www.surina.net/soundtouch"
|
|
COPYRIGHT="2001-2014 Olli Parviainen"
|
|
LICENSE="GNU LGPL v2.1"
|
|
REVISION="2"
|
|
SOURCE_URI="http://www.surina.net/soundtouch/soundtouch-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="caeb86511e81420eeb454cb5db53f56d96b8451d37d89af6e55b12eb4da1c513"
|
|
SOURCE_DIR="soundtouch"
|
|
PATCHES="libsoundtouch-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libsoundtouch$secondaryArchSuffix = $portVersion compat >= 1
|
|
cmd:soundstretch$secondaryArchSuffix
|
|
lib:libSoundTouch$secondaryArchSuffix = 1.0.0 compat >= 1
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libsoundtouch${secondaryArchSuffix}_devel = $portVersion compat >= 1
|
|
devel:libSoundTouch$secondaryArchSuffix = 1.0.0 compat >= 1
|
|
"
|
|
REQUIRES_devel="
|
|
libsoundtouch$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
mkdir -p config/m4
|
|
autoreconf -fi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libSoundTouch
|
|
fixPkgconfig
|
|
|
|
rm -Rf $prefix/doc
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|