mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Add recipe for audiofile.
This commit is contained in:
88
media-libs/audiofile/audiofile-0.3.6.recipe
Normal file
88
media-libs/audiofile/audiofile-0.3.6.recipe
Normal file
@@ -0,0 +1,88 @@
|
||||
SUMMARY="Audio file library"
|
||||
DESCRIPTION="library for reading and writing audio files in many common formats.
|
||||
|
||||
The Audio File Library provides a uniform API which abstracts away details of \
|
||||
file formats and data formats. The same calls for opening a file, accessing \
|
||||
and manipulating audio metadata (e.g. sample rate, sample format, textual \
|
||||
information, MIDI parameters), and reading and writing sample data will work \
|
||||
with any supported audio file format. The Audio File Library lets you work \
|
||||
with audio data in whatever format is most convenient for you.
|
||||
|
||||
Supported file formats:
|
||||
* AIFF/AIFF-C (.aiff, .aifc)
|
||||
* WAVE (.wav)
|
||||
* NeXT .snd/Sun .au (.snd, .au)
|
||||
* Berkeley/IRCAM/CARL Sound File (.sf)
|
||||
* Audio Visual Research (.avr)
|
||||
* Amiga IFF/8SVX (.iff)
|
||||
* Sample Vision (.smp)
|
||||
* Creative Voice File (.voc)
|
||||
* NIST SPHERE (.wav)
|
||||
* Core Audio Format (.caf)
|
||||
* FLAC (.flac)
|
||||
|
||||
Supported compression formats:
|
||||
* G.711 mu-law and A-law
|
||||
* IMA ADPCM
|
||||
* Microsoft ADPCM
|
||||
* FLAC
|
||||
* ALAC (Apple Lossless Audio Codec)
|
||||
"
|
||||
HOMEPAGE="http://audiofile.68k.org/"
|
||||
REVISION="1"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
COPYRIGHT="1998-2013 Michael Pruett, Chris Pirazzi, Scott Porter, Doug Scott"
|
||||
ARCHITECTURES=""
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
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
|
||||
|
||||
SRC_URI="http://audiofile.68k.org/audiofile-0.3.6.tar.gz"
|
||||
CHECKSUM_SHA256="cdc60df19ab08bfe55344395739bb08f50fc15c92da3962fac334d3bff116965"
|
||||
|
||||
PROVIDES="
|
||||
audiofile$secondaryArchSuffix = $portVersion
|
||||
cmd:sfconvert$secondaryArchSuffix
|
||||
cmd:sfinfo$secondaryArchSuffix
|
||||
lib:libaudiofile$secondaryArchSuffix = 1.0.0 compat >= 1
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
audiofile${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libaudiofile$secondaryArchSuffix
|
||||
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libgcc_s$secondaryArchSuffix
|
||||
lib:libstdc++$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:awk
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLib libaudiofile
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
Reference in New Issue
Block a user