# $OpenBSD: Makefile,v 1.12 2011/12/29 13:14:09 jasper Exp $

COMMENT=		DLNA integration for GUPnP

GNOME_PROJECT=		gupnp-dlna
GNOME_VERSION=		0.6.4
REVISION=		0

SHARED_LIBS +=  gupnp-dlna-1.0       0.0      # 2.0

MODULES=		devel/gettext \
			x11/gnome

WANTLIB += c glib-2.0 gmodule-2.0 gobject-2.0 gstbase-0.10 gstpbutils-0.10
WANTLIB += gstreamer-0.10 gstvideo-0.10 gthread-2.0 m pcre pthread
WANTLIB += xml2 z ffi

MODGNOME_TOOLS= 	goi

LIB_DEPENDS=		multimedia/gstreamer-0.10/plugins-base
RUN_DEPENDS=		net/gupnp/core

# sndio(7) support
RUN_DEPENDS+=		multimedia/gstreamer-0.10/plugins-good

# support for various media files
RUN_DEPENDS+=		multimedia/gstreamer-0.10/plugins-ugly

# Needs media files which aren't distributed with the tarball.
NO_REGRESS=		Yes

.include <bsd.port.mk>
