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

name                mat2
version             0.13.5
revision            0
categories-prepend  multimedia
license             LGPL-3
supported_archs     noarch
platforms           {darwin any}
maintainers         {@akierig fastmail.de:akierig} \
                    openmaintainer

description         metadata removal tool
long_description    mat2 is a metadata removal tool, supporting a wide range \
                    of commonly used file formats, written in python3.
homepage            https://0xacab.org/jvoisin/mat2

checksums           rmd160  f46d1fb8933eb07ee66cff173560cceabc692678 \
                    sha256  d7e7c4f0f0cfcf8bd656f97919281d0c6207886d84bdfdbb192c152ebf91fe19 \
                    size    52277

python.default_version 313

depends_lib-append  port:py${python.version}-cairo \
                    port:py${python.version}-mutagen \
                    port:py${python.version}-gobject3 \
                    path:lib/pkgconfig/gdk-pixbuf-2.0.pc:gdk-pixbuf2 \
                    path:lib/pkgconfig/librsvg-2.0.pc:librsvg

depends_run-append  port:exiftool \
                    path:lib/libavcodec.dylib:ffmpeg

post-destroot {
    ln -s ${python.prefix}/man/man1/mat2.1 ${destroot}${prefix}/share/man/man1/mat2.1
}
