# -*- 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
# $Id$

PortSystem          1.0
PortGroup           gobject_introspection 1.0

name                libdmapsharing
version             2.9.36
categories          devel
license             LGPL-2+
maintainers         devans openmaintainer

description         A DMAP client and server library

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

homepage            http://www.flyn.org/projects/libdmapsharing/
master_sites        ${homepage}

platforms           darwin

checksums           rmd160  f800e77980e54b9640155ebb184612a53e35fd9d \
                    sha256  844769a42a7e6083ce6eb2aa72d25fb3588eb6dabb284820e9031231a0f0c46a

depends_build       port:pkgconfig

# gst-plugins-base for libgstapp.
depends_lib         port:gtk2 \
                    port:avahi \
                    port:libgee \
                    port:libsoup \
                    port:gstreamer1-gst-plugins-base \
                    port:vala

patchfiles          patch-vala.diff

use_parallel_build  no
gobject_introspection no

use_autoreconf      yes
autoreconf.args     -fvi

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

livecheck.type      regex
livecheck.url       http://www.flyn.org/projects/libdmapsharing/download.html
livecheck.regex     libdmapsharing-(\[0-9\]+\\\.\[0-9\\\.\]+).tar.gz