mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
libopus 1.1
This commit is contained in:
51
media-libs/libopus/libopus-1.1.recipe
Normal file
51
media-libs/libopus/libopus-1.1.recipe
Normal file
@@ -0,0 +1,51 @@
|
||||
SUMMARY="Opus Interactive Audio Codec"
|
||||
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.
|
||||
"
|
||||
HOMEPAGE="http://www.opus-codec.org"
|
||||
COPYRIGHT="2001-2014 Xiph.org"
|
||||
LICENSE="BSD (3-clause)"
|
||||
SRC_URI="http://downloads.xiph.org/releases/opus/opus-1.1.tar.gz"
|
||||
CHECKSUM_MD5="c5a8cf7c0b066759542bc4ca46817ac6"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
||||
PROVIDES="
|
||||
libopus$secondaryArchSuffix = $portVersion
|
||||
lib:libopus$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
SOURCE_DIR="opus-1.1"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure
|
||||
make
|
||||
}
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
prepareInstalledDevelLibs libopus
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
PROVIDES_devel="
|
||||
libopus${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libopus$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
lib:libopus$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
Reference in New Issue
Block a user