mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +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.
83 lines
2.0 KiB
Plaintext
83 lines
2.0 KiB
Plaintext
SUMMARY="A library that provides functions to read, create, and modify mp4 files"
|
|
DESCRIPTION="
|
|
A library that provides functions to read, create, and modify mp4 files.
|
|
"
|
|
HOMEPAGE="https://code.google.com/p/mp4v2/"
|
|
LICENSE="MPL v1.1"
|
|
COPYRIGHT="Kona Blend, Copyright (C) 2008."
|
|
SRC_URI="https://mp4v2.googlecode.com/files/mp4v2-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="0319b9a60b667cf10ee0ec7505eb7bdc0a2e21ca7a93db96ec5bd758e3428338"
|
|
REVISION="2"
|
|
ARCHITECTURES="x86 x86_64"
|
|
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
|
# x86_gcc2 is fine as primary target architecture as long as we're building
|
|
# for a different secondary architecture.
|
|
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
|
fi
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PATCHES="libmp4v2-$portVersion.patchset"
|
|
|
|
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
|
|
lib:libstdc++$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:libtoolize
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
"
|
|
|
|
SOURCE_DIR="mp4v2-$portVersion"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -fi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
# prepare develop/lib
|
|
prepareInstalledDevelLibs libmp4v2
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
# ----- devel package -------------------------------------------------------
|
|
|
|
PROVIDES_devel="
|
|
libmp4v2${secondaryArchSuffix}_devel = $portVersion compat >= 2
|
|
devel:libmp4v2$secondaryArchSuffix = 2.0.0 compat >= 2
|
|
"
|
|
REQUIRES_devel="
|
|
libmp4v2$secondaryArchSuffix == $portVersion base
|
|
"
|