# -*- 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           active_variants 1.1
PortGroup           debug 1.0
PortGroup           app 1.0
PortGroup           openssl 1.0

name                gnome-voice
version             51.0
revision            0

categories          gnome
license             GPL-3+
maintainers         {gnome.org:ole @oleaamot} openmaintainer

description         GNOME Voice is Free Public Voice Software for GTK+/GNOME.
long_description    {*}${description} \
                    Free Public Voice Communication
homepage            https://www.gnomevoice.org/

set branch          [join [lrange [split $version .] 0 1] .]
master_sites        https://www.gnomevoice.org/src/
use_xz              yes

checksums           rmd160  b2995d3dfa587e3ebb5add012191a9c1b55a1a61 \
                    sha256  78db8b40c193f70cd19a1e77da06351b52fd453b7a1001c875ca3d64abf74550 \
                    size    91512

depends_build-append \
                    path:bin/pkg-config:pkgconfig

depends_lib-append \
                    path:lib/pkgconfig/glib-2.0.pc:glib2 \
                    port:gstreamer1 \
                    port:gstreamer1-gst-plugins-base \
                    port:gstreamer1-gst-plugins-good \
                    path:lib/pkgconfig/gtk4.pc:gtk4

depends_run-append \
                    port:adwaita-icon-theme

# oggmux is needed by the recording pipeline
require_active_variants gstreamer1-gst-plugins-base ogg

app.name            Voice
