SUMMARY="A library to read, create, and modify MP4 files" DESCRIPTION="The MP4v2 library provides an API to create and modify mp4 files \ as defined by ISO-IEC:14496-1:2001 MPEG-4 Systems. This file format is derived from Apple's QuickTime file format that has been \ used as a multimedia file format in a variety of platforms and applications. \ It is a very powerful and extensible format that can accommodate practically \ any type of media." HOMEPAGE="https://code.google.com/p/mp4v2/" COPYRIGHT="2008 Kona Blend" LICENSE="MPL v1.1" REVISION="5" SOURCE_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/mp4v2/mp4v2-$portVersion.tar.bz2" CHECKSUM_SHA256="0319b9a60b667cf10ee0ec7505eb7bdc0a2e21ca7a93db96ec5bd758e3428338" SOURCE_DIR="mp4v2-$portVersion" PATCHES="libmp4v2-$portVersion.patchset" ARCHITECTURES="!x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86" PROVIDES=" libmp4v2$secondaryArchSuffix = $portVersion compat >= 2 lib:libmp4v2$secondaryArchSuffix = 2.0.0 compat >= 2 cmd:mp4art$secondaryArchSuffix cmd:mp4chaps$secondaryArchSuffix cmd:mp4extract$secondaryArchSuffix cmd:mp4file$secondaryArchSuffix cmd:mp4info$secondaryArchSuffix cmd:mp4subtitle$secondaryArchSuffix cmd:mp4tags$secondaryArchSuffix cmd:mp4track$secondaryArchSuffix cmd:mp4trackdump$secondaryArchSuffix " REQUIRES=" haiku$secondaryArchSuffix " PROVIDES_devel=" libmp4v2${secondaryArchSuffix}_devel = $portVersion compat >= 2 devel:libmp4v2$secondaryArchSuffix = 2.0.0 compat >= 2 " REQUIRES_devel=" libmp4v2$secondaryArchSuffix == $portVersion base " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel " BUILD_PREREQUIRES=" cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix cmd:make cmd:libtoolize$secondaryArchSuffix cmd:aclocal cmd:autoconf " BUILD() { autoreconf -fi runConfigure ./configure make $jobArgs } INSTALL() { make install rm $libDir/libmp4v2.la # prepare develop/lib prepareInstalledDevelLibs libmp4v2 fixPkgconfig packageEntries devel \ $developDir }