1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit autotools eutils
7 DESCRIPTION="a graphical music player daemon (MPD) client using GTK+2"
8 HOMEPAGE="https://launchpad.net/gimmix"
9 SRC_URI="mirror://gentoo/${P}.tar.bz2"
13 KEYWORDS="amd64 ~ppc x86"
14 IUSE="cover lyrics taglib"
16 RDEPEND=">=media-libs/libmpd-0.17
19 cover? ( net-libs/libnxml net-misc/curl )
20 lyrics? ( net-libs/libnxml net-misc/curl )
21 taglib? ( >=media-libs/taglib-1.5 )"
26 DOCS=( AUTHORS ChangeLog README TODO )
29 epatch "${FILESDIR}"/${PN}-0.5.7.1-curl-headers.patch
30 sed -i -e "/^Icon/s/\.png$//" \
31 -e "/^Categories/s/Application;//" data/gimmix.desktop
33 # broken build system in tarball
40 $(use_enable lyrics) \
41 $(use_enable taglib tageditor)