# -*- 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           github 1.0
PortGroup           makefile 1.0

github.setup        pixop video-compare 20260121
github.tarball_from archive
revision            0

categories          multimedia
maintainers         nomaintainer
license             GPL-2.0

description         A tool for comparing video files visually.
long_description    Split screen video comparison tool using FFmpeg and SDL2

checksums           rmd160  3f6fe91badb0504675aff3d101884c1026fb2a80 \
                    sha256  32c86e98fbcfb54a8bbbd9b47bcee016350958845fd8f5aebb62b73da3bec4ce \
                    size    1205851

compiler.cxx_standard 2014

patchfiles-append   patch-makefile.diff

post-patch {
    reinplace "s|@@MP_PREFIX@@|${prefix}|g" ${worksrcpath}/makefile
}

depends_lib-append  port:ffmpeg8 \
                    port:libsdl2 \
                    port:libsdl2_ttf

destroot {
    xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
}
