# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
description Read, create, and modify mp4 files.
long_description The mp4v2 library provides an API to create and modify mp4 \
files as defined by ISO-IEC:14496-1:2001 MPEG-4 Systems. \
mp4v2 used to be part of the mpeg4ip library.
homepage https://code.google.com/p/mp4v2/
checksums md5 c91f06711225b34b4c192c9114887b14 \
sha1 193260cfb7201e6ec250137bcca1468d4d20e2f0 \
rmd160 1b309ec6480dd06fac2e1e72ab666ca123e714d8
depends_build port:help2man
patchfiles configure-version.patch
reinplace "s|@@VERSION@@|${version}|g" \
${worksrcpath}/configure.ac
# Teach glibtool about -stdlib
patchfiles-append mp4v2-1.9.1-libversion.patch
configure.args-append --disable-gch
livecheck.url https://code.google.com/p/mp4v2/downloads/list
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"