libvorbis: added recipe for version 1.3.4

This commit is contained in:
Jerome Duval
2014-04-15 17:47:47 +00:00
parent 2851af416a
commit a8ea8d69df
2 changed files with 169 additions and 0 deletions

View File

@@ -0,0 +1,86 @@
SUMMARY="Ogg Vorbis audio compression format library"
DESCRIPTION="
Ogg Vorbis is a fully open, non-proprietary, patent-and-royalty-free, \
general-purpose compressed audio format for mid to high quality (8kHz-48.0kHz, \
16+ bit, polyphonic) audio and music at fixed and variable bitrates from 16 to \
128 kbps/channel. This places Vorbis in the same competitive class as audio \
representations such as MPEG-4 (AAC), and similar to, but higher performance \
than MPEG-1/2 audio layer 3, MPEG-4 audio (TwinVQ), WMA and PAC.
The bitstream format for Vorbis I was frozen Monday, May 8th 2000. All \
bitstreams encoded since will remain compatible with all future releases of \
Vorbis.
"
HOMEPAGE="http://www.xiph.org/vorbis/"
LICENSE="BSD (3-clause)"
COPYRIGHT="1994-2010 Xiph.Org Foundation"
SRC_URI="http://downloads.xiph.org/releases/vorbis/libvorbis-$portVersion.tar.gz"
CHECKSUM_SIZE="1632091"
CHECKSUM_RMD160="3dd9530cff06bcb31adab220906f9c47644b0919"
CHECKSUM_SHA512="5d380cdd2f36b1fe74d7ede0747d3176f951a23bf462a237f2910a2dd9af11a48dc88d8927d0d54831ee6e0c2f5dbbdd606bf3da54d61c26187c7e728decc660"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PATCHES="libvorbis-1.3.4.patchset"
PROVIDES="
libvorbis$secondaryArchSuffix = $portVersion
lib:libvorbis$secondaryArchSuffix = 0.4.7 compat >= 0
lib:libvorbisenc$secondaryArchSuffix = 2.0.10 compat >= 2
lib:libvorbisfile$secondaryArchSuffix = 3.3.6 compat >= 3
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libogg$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libogg$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
cmd:make
cmd:pkg_config
"
BUILD()
{
libtoolize -fci
mkdir -p m4
aclocal --install -I m4
autoconf
automake
runConfigure ./configure \
--docdir $developDocDir
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLibs libvorbis libvorbisenc libvorbisfile
fixPkgconfig
# devel package
packageEntries devel \
$dataDir \
$developDir
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
libvorbis${secondaryArchSuffix}_devel = $portVersion
devel:libvorbis$secondaryArchSuffix = 0.4.7 compat >= 0
devel:libvorbisenc$secondaryArchSuffix = 2.0.10 compat >= 2
devel:libvorbisfile$secondaryArchSuffix = 3.3.6 compat >= 3
"
REQUIRES_devel="
libvorbis$secondaryArchSuffix == $portVersion
"