# -*- 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           gobject_introspection 1.0

name                libdmapsharing
version             3.9.12
categories          devel
license             LGPL-2+
maintainers         {devans @dbevans} openmaintainer

description         A DMAP client and server library

long_description    libdmapsharing implements the DMAP protocols. This includes \
                    support for DAAP and DPAP.

homepage            https://www.flyn.org/projects/${name}/
master_sites        ${homepage}

platforms           darwin

checksums           rmd160  c4c6cb0fb224a66c0c379649226447d52ae15d5d \
                    sha256  aa47e405c5059ff35ff6fc447e497dc1ff15558859a57710a664350314abf750 \
                    size    801055

depends_build       port:pkgconfig

# gst-plugins-base for libgstapp.
depends_lib         path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \
                    port:avahi \
                    port:libgee \
                    path:lib/pkgconfig/libsoup-2.4.pc:libsoup \
                    port:gstreamer1-gst-plugins-base \
                    path:bin/vala:vala

gobject_introspection no

configure.args      --with-mdns=avahi \
                    --disable-silent-rules \
                    --disable-tests

livecheck.type      regex
livecheck.url       https://www.flyn.org/projects/${name}/
livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
