summaryrefslogtreecommitdiff
blob: cbc5d20c1887a3e3f8b65c527f81dd84e03f9b50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-mpc-plugin/xfce4-mpc-plugin-0.3.5.ebuild,v 1.5 2010/08/11 20:55:38 josejx Exp $

EAPI=2
EAUTORECONF=yes
inherit xfconf

DESCRIPTION="Music Player Daemon (mpd) panel plugin"
HOMEPAGE="http://www.xfce.org/"
SRC_URI="mirror://xfce/src/panel-plugins/${PN}/0.3/${P}.tar.bz2"

LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~ppc ~ppc64 x86"
IUSE="debug libmpd"

RDEPEND=">=xfce-base/exo-0.3.1.1
	>=xfce-base/libxfcegui4-4.3.22
	>=xfce-base/xfce4-panel-4.3.22
	libmpd? ( media-libs/libmpd )"
DEPEND="${RDEPEND}
	dev-util/pkgconfig
	dev-util/intltool"

pkg_setup() {
	PATCHES=( "${FILESDIR}"/${P}-exo_and_libxfcegui4.patch )
	XFCONF="--disable-dependency-tracking
		$(use_enable libmpd)
		$(xfconf_use_debug)"
	DOCS="AUTHORS ChangeLog README TODO"
}