summaryrefslogtreecommitdiff
blob: fd778877230d4a7404bea6f916320022aa17fe20 (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
33
34
35
36
37
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-volumed/xfce4-volumed-0.1.11.ebuild,v 1.1 2011/01/29 19:35:19 ssuominen Exp $

EAPI=3
inherit xfconf

DESCRIPTION="Daemon to control volume up/down and mute keys"
HOMEPAGE="https://launchpad.net/xfce4-volumed"
SRC_URI="mirror://xfce/src/apps/${PN}/0.1/${P}.tar.bz2"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug libnotify"

COMMON_DEPEND="dev-libs/keybinder
	media-libs/gstreamer:0.10
	media-libs/gst-plugins-base:0.10
	xfce-base/xfconf
	libnotify? ( x11-libs/libnotify )"
RDEPEND="${COMMON_DEPEND}
	media-plugins/gst-plugins-meta:0.10"
DEPEND="${COMMON_DEPEND}
	dev-util/pkgconfig"

pkg_setup() {
	PATCHES=( "${FILESDIR}"/${P}-libnotify-0.7.patch )

	XFCONF=(
		--disable-dependency-tracking
		$(use_enable debug)
		$(use_with libnotify)
		)

	DOCS="AUTHORS ChangeLog README THANKS"
}