# -*- 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               cmake  1.1
PortGroup               ffmpeg 1.0

github.setup            dirkvdb ffmpegthumbnailer 2.3.1 v
github.tarball_from     archive
revision                0
categories              multimedia gnome x11
license                 GPL-2+
maintainers             {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
description             Lightweight video thumbnailer that can be used by file managers to create thumbnails for video files
long_description        FFmpegthumbnailer is a lightweight video thumbnailer that can be used by file managers to create thumbnails for your video files.

checksums               rmd160  9b08b44d5eb62173c1bbd042f1477e6a211bab8e \
                        sha256  0691647dc054179c358794c643a0968f796d23c015d02283e6ce2cf4173d2e0a \
                        size    1296882

compiler.cxx_standard   2011

ffmpeg.version          8

depends_build-append    port:pkgconfig
depends_lib-append      path:include/turbojpeg.h:libjpeg-turbo \
                        port:libpng \
                        port:zlib

configure.args-append   -DENABLE_STATIC=ON \
                        -DENABLE_THUMBNAILER=ON \
                        -DENABLE_GIO=ON
