# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
github.setup farindk libvideogfx 1.0.9 v
description A library for rapid development of video processing, computer vision, \
and computer graphics algorithms
long_description ${description}
maintainers {devans @dbevans} openmaintainer
github.tarball_from releases
checksums rmd160 a22b84def7bceac213073e9bbb2bef094960f44d \
sha256 8f7e614290d516963b9a5c9d7eaacce88bdf99767a543aff63c049df862d34ea \
depends_lib-append path:lib/libavcodec.dylib:ffmpeg \
# patch to upstream git master commit 0da468e49e1abdcb12e507a04e0900a59d377c78
# patch for ffmpeg-4.0 compatibility
# patch libvideogfx.pc.in to ask for -std=c++11
patchfiles patch-0da468e49e1abdcb12e507a04e0900a59d377c78.diff \
move ${worksrcpath}/configure.in ${worksrcpath}/configure.ac
# uses C++11 language features without specifying the standard
configure.cxxflags-append -std=c++11
configure.args --with-ffmpeg \