mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
* less Remove "." from SUMMARY. Minor cosmetics. * lftp Remove "." from SUMMARY. Moved _devel block up. Minor cosmetics. * libaacs Moved _devel block up. Minor cosmetics. * libarchive Remove "." from SUMMARY. Moved _devel block up. Minor cosmetics. * libavlduptree Shortened SUMMARY. Moved _devel block up. Minor cosmetics. * libbdplus Remove "." from SUMMARY. Moved _devel block up. Minor cosmetics. * libdwarf Shortened SUMMARY. Moved _devel block up. Minor cosmetics. * libebml Changed SUMMARY. Moved _devel block up. Minor cosmetics. * libffi Remove "." from SUMMARY. Moved _devel block up. Minor cosmetics. * libgcrypt Remove "." from SUMMARY. Moved _devel block up. Minor cosmetics. * libgeotiff Remove "." from SUMMARY. Moved _devel block up. Minor cosmetics. * libid3tag Improved DESCRIPTION. Moved _devel block up. Minor cosmetics. * libidn Remove "." from SUMMARY. Moved _devel block up. Minor cosmetics. * liblo Moved _devel block up. Minor cosmetics. * libmatroska Remove "." from SUMMARY. Moved _devel block up. Minor cosmetics. * libmdi Remove "." and improved SUMMARY. Sorted _devel blocks. Minor cosmetics. * libmetalink Remove "." from SUMMARY. Moved _devel block up. Minor cosmetics. * libmicro Improved SUMMARY. Added cmd:hg to BUILD_PREREQUIRES. * libmng Remove "." from SUMMARY. Moved _devel block up. Minor cosmetics. * libmmp4v2 Improved SUMMARY and DESCRIPTION. Moved _devel block up. Minor cosmetics. * libpurple Remove "." from SUMMARY. Moved _devel and _finch block up. Minor cosmetics. * libquicktime Improved SUMMARY and DESCRIPTION. Moved _devel block up. Minor cosmetics. * libsdl Improved SUMMARY and DESCRIPTION. Moved _devel block up. Minor cosmetics. * libsoundtouch Improved DESCRIPTION. Moved _devel block up. Minor cosmetics. * libtar Remove "." from SUMMARY. Moved _devel block up. Minor cosmetics. * libtommath Remove "." from SUMMARY. Minor cosmetics.
80 lines
2.1 KiB
Bash
80 lines
2.1 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"
|
|
LICENSE="GNU LGPL v2.1"
|
|
REVISION="1"
|
|
|
|
ARCHITECTURES="x86 x86_64"
|
|
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
|
# x86_gcc2 is fine as primary target architecture as long as we're building
|
|
# for a different secondary architecture.
|
|
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
|
fi
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
SOURCE_URI="http://www.surina.net/soundtouch/soundtouch-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="3d4161d74ca25c5a98c69dbb8ea10fd2be409ba1a3a0bf81db407c4c261f166b"
|
|
COPYRIGHT="2001-2014 Olli Parviainen"
|
|
SOURCE_DIR="soundtouch"
|
|
PATCHES="libsoundtouch-$portVersion.patchset"
|
|
|
|
PROVIDES="
|
|
libsoundtouch$secondaryArchSuffix = $portVersion compat >= 1
|
|
cmd:soundstretch$secondaryArchSuffix
|
|
lib:libSoundTouch$secondaryArchSuffix = 0.0.0 compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
PROVIDES_devel="
|
|
libsoundtouch${secondaryArchSuffix}_devel = $portVersion compat >= 1
|
|
devel:libSoundTouch$secondaryArchSuffix = 0.0.0 compat >= 0
|
|
"
|
|
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
|
|
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
|
|
}
|