# -*- 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                gstreamer010-gnonlin
set my_name         gnonlin
version             0.10.17
revision            1
description         A set of non-linear editing plugins for GStreamer.
long_description    GNonLin contains a set of plug-ins for GStreamer to ease the creation of \
                    multimedia editors, or any other application where a timeline-oriented use of \
                    GStreamer makes sense.
maintainers         nomaintainer
license             LGPL-2+
categories          gnome
platforms           darwin
homepage            https://gstreamer.freedesktop.org/modules/gnonlin.html

master_sites        https://gstreamer.freedesktop.org/src/${my_name}/
distname            ${my_name}-${version}

use_bzip2           yes

checksums           rmd160  784809028a59f05bba59835fa3b2ff112d9e565d \
                    sha256  e4a2dd8af1c0c97f2f63e918a25c26e871c896e88b7ee85948509f68f29e8935

depends_build       port:pkgconfig
depends_lib         port:gstreamer010-gst-plugins-base \
                    port:libffi

configure.cflags-append -funroll-loops -fstrict-aliasing

configure.args-append \
                    --disable-silent-rules

post-patch {
    reinplace "s|-flat_namespace -undefined suppress|-undefined define_a_way|g" \
        ${worksrcpath}/configure
}

livecheck.type      none
