mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
79 lines
2.0 KiB
Bash
79 lines
2.0 KiB
Bash
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://mp4v2.org/"
|
|
COPYRIGHT="2001-2008 Cisco Systems Inc. \
|
|
2008-2009 Kona Blend \
|
|
2010-2013 Jeremy Noring \
|
|
2022 Robert Kausch"
|
|
LICENSE="MPL v1.1"
|
|
REVISION="2"
|
|
SOURCE_URI="https://github.com/enzo1982/mp4v2/releases/download/v$portVersion/mp4v2-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="29420c62e56a2e527fd8979d59d05ed6d83ebe27e0e2c782c1ec19a3a402eaee"
|
|
SOURCE_DIR="mp4v2-$portVersion"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
libVersion="$portVersion"
|
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
|
|
|
PROVIDES="
|
|
libmp4v2$secondaryArchSuffix = $portVersion 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
|
|
lib:libmp4v2$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libmp4v2${secondaryArchSuffix}_devel = $portVersion compat >= 2
|
|
devel:libmp4v2$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES_devel="
|
|
libmp4v2$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtool$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/libmp4v2.la
|
|
|
|
# prepare develop/lib
|
|
prepareInstalledDevelLib libmp4v2
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|