fb070df65b
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1561 6952d904-891a-0410-993b-d76249ca496b
38 lines
867 B
Bash
38 lines
867 B
Bash
# 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"
|
|
inherit kde4-base subversion
|
|
ESVN_REPO_URI="svn://anonsvn.kde.org/home/kde/trunk/playground/base/plasma/applets/networkmanager/@{${PV/2.0_pre/}}"
|
|
|
|
DESCRIPTION="A NetworkManager applet for kde"
|
|
HOMEPAGE="http://kde.org/"
|
|
|
|
LICENSE="GPL-2 LGPL-2"
|
|
KEYWORDS="~x86 ~amd64"
|
|
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
|
|
}
|