# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/sonata/sonata-1.5.3.ebuild,v 1.2 2008/12/20 18:27:28 maekke Exp $ inherit distutils DESCRIPTION="an elegant GTK+ music client for the Music Player Daemon (MPD)." HOMEPAGE="http://sonata.berlios.de/" SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2" LICENSE="GPL-3" KEYWORDS="amd64 ~ppc64 ~sparc x86" SLOT="0" IUSE="dbus lyrics taglib" RDEPEND=">=virtual/python-2.4 >=dev-python/pygtk-2.10 >=dev-python/python-mpd-0.2.0 dbus? ( dev-python/dbus-python ) lyrics? ( dev-python/zsi ) taglib? ( >=dev-python/tagpy-0.93 )" DEPEND="${RDEPEND} dev-util/pkgconfig" pkg_setup() { if ! built_with_use '=x11-libs/gtk+-2*' jpeg; then ewarn "If you want album cover art displayed in Sonata," ewarn "you must build gtk+-2 with the \"jpeg\" USE flag." fi } DOCS="CHANGELOG README TODO TRANSLATORS"