summaryrefslogtreecommitdiff
path: root/kde-misc/networkmanager-applet/networkmanager-applet-9999.ebuild
blob: c1b5058b0ba818e2c27a6fa36501aec9759e74bc (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-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

KMNAME="playground/base/plasma/applets"
KMMODULE="networkmanager"
KDE_MINIMAL="4.2"
inherit kde4-base

DESCRIPTION="A NetworkManager applet for kde"
HOMEPAGE="http://kde.org/"

LICENSE="GPL-2 LGPL-2"
KEYWORDS=""
SLOT="0"
IUSE="debug"

DEPEND="
	>=kde-base/solid-${KDE_MINIMAL}[networkmanager]
	>=net-misc/networkmanager-0.7
"
RDEPEND="${DEPEND}"

src_configure() {

	# Fix dbus policy
	sed -i 's/at_console=".*"/group="plugdev"/' \
			"${S}/NetworkManager-kde4.conf" \
				|| die "Fixing dbus policy failed"

	mycmakeargs="${mycmakeargs}
		-DDBUS_SYSTEM_POLICY_DIR=/etc/dbus-1/system.d"

	kde4-base_src_configure
}