summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2011-07-14 10:31:46 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2011-07-14 10:31:46 +0000
commit2f0811cf49bfcc5b0c911a245338701679588663 (patch)
tree5aca0ff35a8d353ae24f30d8c1b550f4554f5667 /kde-misc/knetworkmanager/knetworkmanager-4.4.0_p20110714.ebuild
parentx86 stable per bug 369909 (diff)
downloadgentoo-2-2f0811cf49bfcc5b0c911a245338701679588663.tar.gz
gentoo-2-2f0811cf49bfcc5b0c911a245338701679588663.tar.bz2
gentoo-2-2f0811cf49bfcc5b0c911a245338701679588663.zip
Blind version bump without keywords, bug 374189
(Portage version: 2.1.10.5/cvs/Linux x86_64)
Diffstat (limited to 'kde-misc/knetworkmanager/knetworkmanager-4.4.0_p20110714.ebuild')
-rw-r--r--kde-misc/knetworkmanager/knetworkmanager-4.4.0_p20110714.ebuild50
1 files changed, 50 insertions, 0 deletions
diff --git a/kde-misc/knetworkmanager/knetworkmanager-4.4.0_p20110714.ebuild b/kde-misc/knetworkmanager/knetworkmanager-4.4.0_p20110714.ebuild
new file mode 100644
index 000000000000..1d9cdb178b01
--- /dev/null
+++ b/kde-misc/knetworkmanager/knetworkmanager-4.4.0_p20110714.ebuild
@@ -0,0 +1,50 @@
+# 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_p20110714.ebuild,v 1.1 2011/07/14 10:31:46 dilfridge Exp $
+
+EAPI=4
+
+KDE_MINIMAL="4.6"
+
+KDE_SCM="git"
+EGIT_REPONAME="networkmanagement"
+[[ ${PV} = 9999* ]] || SRC_URI="http://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.xz"
+
+inherit kde4-base
+
+DESCRIPTION="KDE frontend for NetworkManager"
+HOMEPAGE="http://kde.org/"
+
+LICENSE="GPL-2 LGPL-2"
+KEYWORDS=""
+SLOT="4"
+IUSE="consolekit debug"
+
+DEPEND="
+ net-misc/mobile-broadband-provider-info
+ >=net-misc/networkmanager-0.8.2-r10
+ $(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() {
+ local mycmakeargs=(
+ -DDBUS_SYSTEM_POLICY_DIR=/etc/dbus-1/system.d
+ )
+
+ kde4-base_src_configure
+}