# -*- 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.13
revision            0
categories          devel
license             LGPL-2+
maintainers         {devans @dbevans} openmaintainer

description         DMAP client and server library

long_description    ${name} implements the DMAP protocols. \
                    This includes support for DAAP and DPAP.

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

checksums           rmd160  a50d408eae125af84a3c6aa361554d5ea612428d \
                    sha256  3659f63f29e11d6d6ae78b53d7cc6be3f3adeff9c00c67cc50ad19c6af699f7a \
                    size    804737

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

# gst-plugins-base for libgstapp.
depends_lib-append  port:avahi \
                    path:lib/pkgconfig/gdk-pixbuf-2.0.pc:gdk-pixbuf2 \
                    path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \
                    port:gstreamer1-gst-plugins-base \
                    port:libgee \
                    path:lib/pkgconfig/libsoup-3.0.pc:libsoup

gobject_introspection   yes

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

# soup-message.h: error: redefinition of typedef 'SoupMessage'
compiler.c_standard 2011

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