Files
haikuports/media-libs/libtheora/libtheora-1.1.1.recipe
2013-08-09 02:13:19 +02:00

79 lines
2.5 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_MD5="292ab65cedd5021d6b7ddd117e07cd8e"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86"
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 >= $haikuVersion
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 >= $haikuVersion
cmd:aclocal
cmd:autoconf
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
cmd:make
cmd:pkg_config
"
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
"