mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 14:08:51 +02:00
64 lines
1.7 KiB
Bash
64 lines
1.7 KiB
Bash
SUMMARY="Tools for the interactive audio codec Opus"
|
|
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.
|
|
|
|
This tools package provides command-line utilities to encode, inspect, and \
|
|
decode .opus files."
|
|
HOMEPAGE="http://www.opus-codec.org"
|
|
COPYRIGHT="2001-2014 Xiph.org"
|
|
LICENSE="BSD (3-clause)"
|
|
REVISION="1"
|
|
SOURCE_URI="http://downloads.xiph.org/releases/opus/opus-tools-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="a2357532d19471b70666e0e0ec17d514246d8b3cb2eb168f68bb0f6fd372b28c"
|
|
SOURCE_DIR="opus-tools-$portVersion"
|
|
PATCHES="opus_tools-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
|
|
PROVIDES="
|
|
opus_tools$secondaryArchSuffix = $portVersion compat >= 0
|
|
cmd:opusdec$secondaryArchSuffix
|
|
cmd:opusenc$secondaryArchSuffix
|
|
cmd:opusinfo$secondaryArchSuffix
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libflac$secondaryArchSuffix
|
|
lib:libogg$secondaryArchSuffix
|
|
lib:libopus$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libflac$secondaryArchSuffix
|
|
devel:libogg$secondaryArchSuffix
|
|
devel:libopus$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:sed
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -fi
|
|
runConfigure ./configure --disable-stack-protector
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|