mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 13:38:52 +02:00
* Referring the current haiku version explicitly is not needed, since the RequiresUpdater takes care of setting the version of Haiku used for building a package.
87 lines
2.6 KiB
Plaintext
87 lines
2.6 KiB
Plaintext
SUMMARY="Theora video compression format library"
|
|
DESCRIPTION="
|
|
Theora is a free and open video compression format from the Xiph.org \
|
|
Foundation. Like all our multimedia technology it can be used to distribute \
|
|
film and video online and on disc without the licensing and royalty fees or \
|
|
vendor lock-in associated with other formats.
|
|
Theora scales from postage stamp to HD resolution, and is considered \
|
|
particularly competitive at low bitrates. It is in the same class as \
|
|
MPEG-4/DiVX, and like the Vorbis audio codec it has lots of room for \
|
|
improvement as encoder technology develops.
|
|
Theora is in full public release as of November 3, 2008. The bitstream format \
|
|
for Theora I was frozen Thursday, 2004 July 1. All bitstreams encoded since \
|
|
that date will remain compatible with future releases.
|
|
"
|
|
HOMEPAGE="http://www.theora.org/"
|
|
LICENSE="BSD (3-clause)"
|
|
COPYRIGHT="2002-2009 Xiph.Org Foundation"
|
|
SRC_URI="http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.bz2"
|
|
CHECKSUM_SHA256="b6ae1ee2fa3d42ac489287d3ec34c5885730b1296f0801ae577a35193d3affbc"
|
|
REVISION="3"
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PATCHES="libtheora-1.1.1.patchset"
|
|
|
|
PROVIDES="
|
|
libtheora$secondaryArchSuffix = $portVersion
|
|
lib:libtheora$secondaryArchSuffix = 0.3.10 compat >= 0
|
|
lib:libtheoradec$secondaryArchSuffix = 1.1.4 compat >= 1
|
|
lib:libtheoraenc$secondaryArchSuffix = 1.1.2 compat >= 1
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libogg$secondaryArchSuffix
|
|
"
|
|
BUILD_REQUIRES="
|
|
devel:libogg$secondaryArchSuffix
|
|
"
|
|
# Note: The build system also looks for libvorbis and SDL, but that seems
|
|
# to be needed only for building the sample player, which we don't need.
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal -I m4
|
|
autoconf
|
|
automake --add-missing
|
|
runConfigure ./configure \
|
|
--docdir $developDocDir \
|
|
--disable-asm
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libtheora libtheoradec libtheoraenc
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
# ----- devel package -------------------------------------------------------
|
|
|
|
PROVIDES_devel="
|
|
libtheora${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libtheora$secondaryArchSuffix = 0.3.10 compat >= 0
|
|
devel:libtheoradec$secondaryArchSuffix = 1.1.4 compat >= 1
|
|
devel:libtheoraenc$secondaryArchSuffix = 1.1.2 compat >= 1
|
|
"
|
|
REQUIRES_devel="
|
|
libtheora$secondaryArchSuffix == $portVersion
|
|
"
|