summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gentoo.org>2011-04-10 16:33:59 +0000
committerTheo Chatzimichos <tampakrap@gentoo.org>2011-04-10 16:33:59 +0000
commitee09645574a2a45521cc4333a834833b66dc1cb4 (patch)
tree73936badca888c2cfa21cc25f65f4d7822154f2b /kde-misc/knetworkmanager
parentversion bump (diff)
downloadgentoo-2-ee09645574a2a45521cc4333a834833b66dc1cb4.tar.gz
gentoo-2-ee09645574a2a45521cc4333a834833b66dc1cb4.tar.bz2
gentoo-2-ee09645574a2a45521cc4333a834833b66dc1cb4.zip
New snapshot
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
Diffstat (limited to 'kde-misc/knetworkmanager')
-rw-r--r--kde-misc/knetworkmanager/ChangeLog8
-rw-r--r--kde-misc/knetworkmanager/knetworkmanager-4.4.0_p20110410.ebuild54
2 files changed, 61 insertions, 1 deletions
diff --git a/kde-misc/knetworkmanager/ChangeLog b/kde-misc/knetworkmanager/ChangeLog
index 32c4eb1a0366..de8a2e4de8f2 100644
--- a/kde-misc/knetworkmanager/ChangeLog
+++ b/kde-misc/knetworkmanager/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for kde-misc/knetworkmanager
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/knetworkmanager/ChangeLog,v 1.22 2011/02/04 15:41:41 tampakrap Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/knetworkmanager/ChangeLog,v 1.23 2011/04/10 16:33:59 tampakrap Exp $
+
+*knetworkmanager-4.4.0_p20110410 (10 Apr 2011)
+
+ 10 Apr 2011; Theo Chatzimichos <tampakrap@gentoo.org>
+ +knetworkmanager-4.4.0_p20110410.ebuild:
+ New snapshot
*knetworkmanager-4.4.0_p20110204 (04 Feb 2011)
diff --git a/kde-misc/knetworkmanager/knetworkmanager-4.4.0_p20110410.ebuild b/kde-misc/knetworkmanager/knetworkmanager-4.4.0_p20110410.ebuild
new file mode 100644
index 000000000000..7b2a6672c3a4
--- /dev/null
+++ b/kde-misc/knetworkmanager/knetworkmanager-4.4.0_p20110410.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/knetworkmanager/knetworkmanager-4.4.0_p20110410.ebuild,v 1.1 2011/04/10 16:33:59 tampakrap Exp $
+
+EAPI=3
+
+KMNAME="extragear/base"
+KMMODULE="knetworkmanagement"
+KDE_MINIMAL="4.6"
+
+if [[ ${PV} != *9999* ]]; then
+ SRC_URI="http://dev.gentoo.org/~tampakrap/tarballs/${P}.tar.bz2"
+fi
+
+inherit kde4-base
+
+DESCRIPTION="KDE frontend for NetworkManager"
+HOMEPAGE="http://kde.org/"
+
+LICENSE="GPL-2 LGPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="4"
+IUSE="consolekit debug +networkmanager wicd"
+
+DEPEND="
+ $(add_kdebase_dep solid 'networkmanager?,wicd?')
+ net-misc/mobile-broadband-provider-info
+ >=net-misc/networkmanager-0.7
+ consolekit? ( sys-auth/consolekit )
+ !wicd? ( $(add_kdebase_dep solid 'networkmanager') )
+"
+RDEPEND="${DEPEND}"
+
+RESTRICT="test"
+
+src_prepare() {
+ kde4-base_src_prepare
+
+ if ! use consolekit; then
+ # Fix dbus policy
+ sed -i \
+ -e 's/at_console=".*"/group="plugdev"/' \
+ "${S}/NetworkManager-kde4.conf" \
+ || die "Fixing dbus policy failed"
+ fi
+}
+
+src_configure() {
+ mycmakeargs=(
+ -DDBUS_SYSTEM_POLICY_DIR=/etc/dbus-1/system.d
+ )
+
+ kde4-base_src_configure
+}