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

name                frei0r-plugins
version             1.7.0
revision            0
categories          multimedia
maintainers         {dennedy.org:dan @ddennedy}
license             GPL-2+

description         Plugin API for video sources and filters
long_description    frei0r is a minimalistic plugin API for video sources and filters. \
                    The behavior of the effects can be controlled from the host by simple \
                    parameters. The intent is to solve the recurring reimplementation or \
                    adaptation issue of standard effects. It is not meant as a generic API for \
                    all kinds of video applications.

homepage            https://frei0r.dyne.org/
master_sites        https://releases.dyne.org/frei0r/releases/

checksums           rmd160  5f53940b12737c9d0f7b868305396f26a34b4649 \
                    sha256  1b1ff8f0f9bc23eed724e94e9a7c1d8f0244bfe33424bb4fe68e6460c088523a \
                    size    1214323

depends_build       path:bin/pkg-config:pkgconfig

depends_lib         path:lib/pkgconfig/cairo.pc:cairo

patchfiles          patch-configure.ac.diff \
                    patch-Makefile.am.diff

# cc1: error: unrecognized command line option "-Wtype-limits"
# error: ISO C++ forbids initialization of member 'm_transformationCalculations'
compiler.blacklist-append \
                    *gcc-4.0 *gcc-4.2

use_autoreconf      yes

livecheck.type      regex
livecheck.url       [lindex ${master_sites} 0]
livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
