mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
libsamplerate: bump version.
* fix library versioning: dependencies need a rebuild.
This commit is contained in:
74
media-libs/libsamplerate/libsamplerate-0.1.9.recipe
Normal file
74
media-libs/libsamplerate/libsamplerate-0.1.9.recipe
Normal file
@@ -0,0 +1,74 @@
|
||||
SUMMARY="Samplerate converter for audio"
|
||||
DESCRIPTION="Secret Rabbit Code (aka libsamplerate) is a samplerate \
|
||||
converter for audio. One example of where such a thing would be useful is \
|
||||
converting audio from the CD sample rate of 44.1kHz to the 48kHz sample rate \
|
||||
used by DAT players.
|
||||
|
||||
SRC is capable of arbitrary and time varying conversions, from downsampling \
|
||||
by a factor of 256 to upsampling by the same factor. Arbitrary in this case \
|
||||
means that the ratio of input and output sample rates can be an irrational \
|
||||
number. The conversion ratio can also vary with time for speeding up and \
|
||||
slowing down effects."
|
||||
HOMEPAGE="http://www.mega-nerd.com/SRC/"
|
||||
COPYRIGHT="2002-2011 Erik de Castro Lopo"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://www.mega-nerd.com/SRC/libsamplerate-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="0a7eb168e2f21353fb6d84da152e4512126f7dc48ccb0be80578c565413444c1"
|
||||
PATCHES="libsamplerate-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
libsamplerate$secondaryArchSuffix = $portVersion compat >= 0
|
||||
cmd:sndfile_resample$secondaryArchSuffix
|
||||
lib:libsamplerate$secondaryArchSuffix = 0.1.8 compat >= 0
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libsamplerate${secondaryArchSuffix}_devel = $portVersion compat >= 0
|
||||
devel:libsamplerate$secondaryArchSuffix = 0.1.8 compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libsamplerate$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
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -fi
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm $libDir/libsamplerate.la
|
||||
|
||||
prepareInstalledDevelLibs libsamplerate
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$docDir \
|
||||
$developDir
|
||||
}
|
||||
Reference in New Issue
Block a user