Files
haikuports/media-libs/libquicktime/libquicktime-1.2.4.recipe
Jerome Duval fc0936b040 Bump revisions for x86_64 rebuild after time_t change.
* a few apps needed build fix for time_t.
* disable compatibility packages for x86_64.
2017-06-27 15:46:25 +02:00

122 lines
3.6 KiB
Bash

SUMMARY="A library to handle Quicktime format files"
DESCRIPTION="libquicktime is a library for reading and writing quicktime \
files. It is based on the quicktime4linux library, with the following \
extensions:
* Sourcetree upgraded with autoconf/automake/libtool and all the \
other stuff, people like in "standard" linux libraries.
* All 3rd party libraries (jpeg, OggVorbis) were removed to reduce \
download size, compilation time and code duplication on users harddisks. \
Instead, the sytemwide installed libaries are autodetected by the \
configure script.
* All codecs have been moved into dynamically loadable modules. \
This makes it possible to distribute closed source codecs (or codecs \
with an incompatible license) as separate packages.
* Unlike other quicktime libraries, we are source compatible with \
quicktime4linux. Programs like cinelerra or xmovie can be compiled with \
libquicktime (if the build system is modified, see our web page for more \
info).
* The codecs themselves are also source compatible with \
quicktime4linux, so porting codecs between quicktime4linux and \
libquicktime requires only little brain load.
* Special API extensions allow access to the codec registry. \
Applications can get important information about the codecs, their \
settable parameters etc. at runtime.
"
HOMEPAGE="http://libquicktime.sourceforge.net"
LICENSE="GNU LGPL v2.1"
REVISION="4"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
SOURCE_URI="http://sourceforge.net/projects/libquicktime/files/libquicktime/$portVersion/libquicktime-$portVersion.tar.gz"
CHECKSUM_SHA256="1c53359c33b31347b4d7b00d3611463fe5e942cae3ec0fefe0d2fd413fd47368"
COPYRIGHT="
2002 Heroine Virtual Ltd.
2002-2007 Members of the libquicktime project.
"
PATCHES="libquicktime-$portVersion.patchset"
PROVIDES="
libquicktime$secondaryArchSuffix = $portVersion compat >= 1.2
lib:libquicktime$secondaryArchSuffix = 0.0.0 compat >= 0
"
if [ -z "$secondaryArchSuffix" ]; then
PROVIDES="$PROVIDES
cmd:lqt_transcode
cmd:lqtremux
cmd:qt2text
cmd:qtdechunk
cmd:qtdump
cmd:qtinfo
cmd:qtrechunk
cmd:qtstreamize
cmd:qtyuv4toyuv
"
fi
REQUIRES="
haiku$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
lib:libvorbis$secondaryArchSuffix
lib:libogg$secondaryArchSuffix
lib:libdv$secondaryArchSuffix
lib:libmp3lame$secondaryArchSuffix
lib:libfaad$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libz$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libjpeg$secondaryArchSuffix
devel:libvorbis$secondaryArchSuffix
devel:libogg$secondaryArchSuffix
devel:libdv$secondaryArchSuffix
devel:libmp3lame$secondaryArchSuffix
devel:libfaad$secondaryArchSuffix
devel:libiconv$secondaryArchSuffix
devel:libz$secondaryArchSuffix
devel:libintl$secondaryArchSuffix
"
PROVIDES_devel="
libquicktime${secondaryArchSuffix}_devel = $portVersion compat >= 1.2
devel:libquicktime$secondaryArchSuffix = 0.0.0 compat >= 0
"
REQUIRES_devel="
libquicktime$secondaryArchSuffix == $portVersion base
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoreconf
cmd:automake
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:pkg_config${secondaryArchSuffix}
cmd:gettext
"
BUILD()
{
autoreconf -fi
runConfigure ./configure --without-doxygen \
--with-libdv --without-cpuflags
make $jobArgs
}
INSTALL()
{
make install
rm $libDir/libquicktime.la $libDir/libquicktime/lqt_*.la
prepareInstalledDevelLibs libquicktime
fixPkgconfig
# devel package
packageEntries devel \
$developDir
}