2009-05-02 21:32:54 +02:00
|
|
|
# Copyright 1999-2009 Gentoo Foundation
|
2008-12-08 20:43:30 +01:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
|
|
|
EAPI="2"
|
|
|
|
|
|
|
|
KMNAME="playground/base/plasma/applets"
|
|
|
|
KMMODULE="networkmanager"
|
|
|
|
inherit kde4-base subversion
|
2009-01-14 16:21:16 +01:00
|
|
|
ESVN_REPO_URI="svn://anonsvn.kde.org/home/kde/trunk/playground/base/plasma/applets/networkmanager/@{${PV/2.0_pre/}}"
|
2008-12-08 20:43:30 +01:00
|
|
|
|
|
|
|
DESCRIPTION="A NetworkManager applet for kde"
|
|
|
|
HOMEPAGE="http://kde.org/"
|
2009-07-04 17:59:14 +02:00
|
|
|
|
2008-12-08 20:43:30 +01:00
|
|
|
LICENSE="GPL-2 LGPL-2"
|
2009-07-04 17:59:14 +02:00
|
|
|
KEYWORDS="~x86 ~amd64"
|
|
|
|
SLOT="0"
|
|
|
|
IUSE="debug"
|
2008-12-08 20:43:30 +01:00
|
|
|
|
2009-07-04 17:59:14 +02:00
|
|
|
DEPEND="
|
|
|
|
>=kde-base/solid-${KDE_MINIMAL}[networkmanager]
|
|
|
|
>=net-misc/networkmanager-0.7
|
|
|
|
"
|
|
|
|
RDEPEND="${DEPEND}"
|
2008-12-08 20:43:30 +01:00
|
|
|
|
2009-07-04 17:59:14 +02:00
|
|
|
src_configure() {
|
2008-12-08 20:43:30 +01:00
|
|
|
|
2009-07-04 17:59:14 +02:00
|
|
|
# Fix dbus policy
|
|
|
|
sed -i 's/at_console=".*"/group="plugdev"/' \
|
|
|
|
"${S}/NetworkManager-kde4.conf" \
|
|
|
|
|| die "Fixing dbus policy failed"
|
2009-02-04 15:53:59 +01:00
|
|
|
|
|
|
|
mycmakeargs="${mycmakeargs}
|
2009-07-04 17:59:14 +02:00
|
|
|
-DDBUS_SYSTEM_POLICY_DIR=/etc/dbus-1/system.d"
|
2009-02-04 15:53:59 +01:00
|
|
|
|
|
|
|
kde4-base_src_configure
|
|
|
|
}
|