SUMMARY="Library to seek, decode, and playback Opus streams" DESCRIPTION="Opus is a totally open, royalty-free, highly versatile audio \ codec. Opus is unmatched for interactive speech and music transmission over \ the Internet, but is also intended for storage and streaming applications. \ It is standardized by the Internet Engineering Task Force (IETF) as RFC 6716 \ which incorporated technology from Skype's SILK codec and Xiph.Org's CELT \ codec. The opusfile library provides seeking, decode, and playback of Opus streams \ in the Ogg container (.opus files) including over http(s) on posix and \ windows systems." HOMEPAGE="http://www.opus-codec.org" COPYRIGHT="2001-2014 Xiph.org" LICENSE="BSD (3-clause)" SOURCE_URI="http://downloads.xiph.org/releases/opus/opusfile-$portVersion.tar.gz" CHECKSUM_SHA256="2428717b356e139f18ed2fdb5ad990b5654a238907a0058200b39c46a7d03ea6" REVISION="1" ARCHITECTURES="x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86_gcc2 x86" PROVIDES=" opusfile$secondaryArchSuffix = $portVersion compat >= 0 lib:libopusfile$secondaryArchSuffix = 0.3.1 compat >= 0 lib:libopusurl$secondaryArchSuffix = 0.3.1 compat >= 0 " REQUIRES=" haiku$secondaryArchSuffix lib:libogg$secondaryArchSuffix lib:libopus$secondaryArchSuffix lib:libssl$secondaryArchSuffix " PROVIDES_devel=" opusfile${secondaryArchSuffix}_devel = $portVersion compat >= 1 devel:libopusfile$secondaryArchSuffix = 0.3.1 compat >= 0 devel:libopusurl$secondaryArchSuffix = 0.3.1 compat >= 0 " REQUIRES_devel=" opusfile$secondaryArchSuffix == $portVersion base " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libogg$secondaryArchSuffix devel:libopus$secondaryArchSuffix devel:libssl$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:aclocal cmd:autoconf cmd:automake cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix cmd:make cmd:sed cmd:awk cmd:libtool$secondaryArchSuffix cmd:pkg_config$secondaryArchSuffix " BUILD() { autoreconf -fi runConfigure ./configure make } INSTALL() { make install # remove libtool library file rm $libDir/libopusfile.la $libDir/libopusurl.la prepareInstalledDevelLibs libopusfile libopusurl fixPkgconfig packageEntries devel $developDir }