# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 114936 2013-12-19 18:00:32Z devans@macports.org $

PortSystem 1.0

name            gupnp-dlna
version         0.10.2
license         LGPL
set branch      [join [lrange [split ${version} .] 0 1] .]
description     GUPnP-DLNA is a small utility library that aims to ease DLNA-related tasks.

long_description \
                ${description}

maintainers     devans openmaintainer
categories      net gnome
platforms       darwin
homepage        https://wiki.gnome.org/Projects/GUPnP
master_sites    gnome:sources/${name}/${branch}/

use_xz          yes

checksums       rmd160  6e568e471848178d86ce529a5afc6dbca1af8ad2 \
                sha256  158a22dc9c11645817596322e2516701f0d49e40f1892ddc8832afd26221c5c3

depends_build   port:pkgconfig

depends_lib     port:gupnp \
                port:gstreamer1-gst-plugins-base \
                port:libxml2 \
                port:gobject-introspection \
                port:vala

patchfiles      patch-libgupnp-dlna-Makefile.in.diff

configure.args  --disable-silent-rules \
                --enable-introspection=yes

livecheck.type  gnome
