# -*- 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: Portfile 120301 2014-05-22 10:23:56Z devans@macports.org $

PortSystem      1.0

name            libdmapsharing
version         2.9.25
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  8dd97539f161f65d806fd0252acddbf8731963ef \
                sha256  3b50ce713362403aad1e6be2b570e7c18e4b38adca63a5179afbf653024b468e

depends_build   port:pkgconfig

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

patchfiles      patch-configure.ac.diff

use_autoreconf  yes
autoreconf.args -fvi

configure.args  --with-mdns=avahi \
                --enable-introspection=no \
                --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
