# -*- 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
PortGroup conflicts_build 1.0
maintainers {gmail.com:rjvbertin @RJVB} openmaintainer
description Modern Video Toolkit - open-source library for GPU-accelerated video filters
long_description Movit is the Modern Video Toolkit. It aims to be a high-quality, \
high-performance, open-source library for GPU-accelerated video filters.
homepage https://movit.sesse.net
distname movit-${version}
checksums rmd160 ce29a03233672ada255400a1041381a89acd3b6a \
sha256 ead191d717dbefbe914260ed0335cf04a7dfc6fde8f23293c5ca7f88e45ace81
depends_lib-append port:eigen3 \
# the current port:gtest is out-of-date, doesn't install everything required
# and it will thus break our build.
file delete -force ${worksrcpath}/libtool
PKG_CONFIG=${prefix}/bin/pkg-config
delete ${destroot}${prefix}/lib/libmovit.a
xinstall -m 644 ${worksrcpath}/vs-color.130.vert ${destroot}${prefix}/share/movit/
xinstall -m 644 ${worksrcpath}/vs-color.150.vert ${destroot}${prefix}/share/movit/
xinstall -m 644 ${worksrcpath}/color.130.frag ${destroot}${prefix}/share/movit/
xinstall -m 644 ${worksrcpath}/color.150.frag ${destroot}${prefix}/share/movit/