# -*- 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

PortSystem          1.0
PortGroup           github 1.0
PortGroup           cmake 1.1

github.setup        axiomatic-systems bento4 1.6.0-641 v
revision            1
github.tarball_from archive
homepage            https://www.bento4.com
categories          multimedia devel
license             GPL-2
maintainers         {makr @mohd-akram} openmaintainer

description         MP4, DASH, HLS, CMAF SDK and Tools

long_description    Bento4 is a C++ class library and tools designed to read \
                    and write ISO-MP4 files.

checksums           rmd160  87b68c4c3df15898623dc61156691dcfa9ca0e91 \
                    sha256  e6575877708526e399cff752b4ee23cb1e2ac32fb251e2ca0a1e8d691fd172a7 \
                    size    5483983

# Image error: /opt/local/bin/mp4extract is being used by the active mp4v2 port.
conflicts           mp4v2

# cc1plus: error: unrecognized command line option "-Wno-class-memaccess"
# Also drop hardcoding archs and deployment target.
patchfiles          patch-CMakeLists.diff
