# $OpenBSD: Makefile,v 1.12 2008/09/15 14:36:19 ajacoutot Exp $

COMMENT=	elegant music player for MPD

MODPY_EGG_VERSION=1.5.3
DISTNAME=	sonata-${MODPY_EGG_VERSION}
CATEGORIES=	audio

HOMEPAGE=	http://sonata.berlios.de/

MAINTAINER=	Antoine Jacoutot <ajacoutot@openbsd.org>

# GPLv3
PERMIT_PACKAGE_CDROM=	Yes
PERMIT_PACKAGE_FTP=	Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP=	Yes

WANTLIB=	X11 Xau Xcursor Xdmcp Xext Xfixes Xi Xinerama Xrandr \
		Xcomposite Xdamage \
		Xrender atk-1.0 cairo expat fontconfig freetype gdk-x11-2.0 \
		gdk_pixbuf-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0 \
		gtk-x11-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 \
		png z

MASTER_SITES=	${MASTER_SITE_BERLIOS:=sonata/}

MODULES=	devel/gettext \
		lang/python

BUILD_DEPENDS=	::x11/py-gtk2
RUN_DEPENDS=	::devel/desktop-file-utils \
		::net/py-zsi \
		::audio/py-mpd \
		::x11/dbus-python \
		::x11/py-gtk2

USE_X11=	Yes
NO_REGRESS=	Yes

.include <bsd.port.mk>
