mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
81 lines
2.3 KiB
Plaintext
81 lines
2.3 KiB
Plaintext
SUMMARY="Ogg multimedia container format library"
|
|
DESCRIPTION="
|
|
Ogg is a multimedia container format, and the native file and stream format \
|
|
for the Xiph.org multimedia codecs. As with all Xiph.org technology is it an \
|
|
open format free for anyone to use.
|
|
As with most container formats it encapsulates raw compressed data and allows \
|
|
the interleaving of audio and video data inside a single convient format. \
|
|
Other examples of container formats are Quicktime .mov, the MPEG program \
|
|
stream, and AVI.
|
|
In addition to encapsulation and interleave of multiple data streams, Ogg \
|
|
provides packet framing, error detection, and periodic timestamps for seeking, \
|
|
and in a small, bounded percentage bitrate overhead.
|
|
Ogg is a stream oriented container, meaning it can be written and read in one \
|
|
pass, making it a natural fit for internet streaming and use in processing \
|
|
pipelines. This stream orientation is the major design difference over other \
|
|
file-based container formats.
|
|
"
|
|
HOMEPAGE="http://www.xiph.org"
|
|
LICENSE="BSD (3-clause)"
|
|
COPYRIGHT="1994-2011 Xiph.Org Foundation"
|
|
SRC_URI="http://downloads.xiph.org/releases/ogg/libogg-1.3.0.tar.gz"
|
|
CHECKSUM_SHA256="a8de807631014615549d2356fd36641833b8288221cea214f8a72750efe93780"
|
|
REVISION="2"
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PATCHES="libogg-1.3.0.patchset"
|
|
|
|
PROVIDES="
|
|
libogg$secondaryArchSuffix = $portVersion
|
|
lib:libogg$secondaryArchSuffix = 0.8.0 compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix >= $haikuVersion
|
|
"
|
|
BUILD_REQUIRES="
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal
|
|
autoconf
|
|
automake
|
|
runConfigure ./configure \
|
|
--docdir $developDocDir
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
prepareInstalledDevelLibs libogg
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$dataDir \
|
|
$developDir
|
|
}
|
|
|
|
# ----- devel package -------------------------------------------------------
|
|
|
|
PROVIDES_devel="
|
|
libogg${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libogg$secondaryArchSuffix = 0.8.0 compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
libogg$secondaryArchSuffix == $portVersion
|
|
"
|