summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gentoo.org>2010-02-26 19:14:01 +0000
committerTheo Chatzimichos <tampakrap@gentoo.org>2010-02-26 19:14:01 +0000
commitb8b681aef2b1b02f00ff29aa8a92a5db87c9a215 (patch)
treeaf77aec6613d82edb830e9dec03d1f7c7fb35a4e /kde-misc
parentSimplify dependencies. (diff)
downloadhistorical-b8b681aef2b1b02f00ff29aa8a92a5db87c9a215.tar.gz
historical-b8b681aef2b1b02f00ff29aa8a92a5db87c9a215.tar.bz2
historical-b8b681aef2b1b02f00ff29aa8a92a5db87c9a215.zip
Add knetworkmanager snapshot
Package-Manager: portage-2.2_rc62/cvs/Linux x86_64
Diffstat (limited to 'kde-misc')
-rw-r--r--kde-misc/knetworkmanager/ChangeLog10
-rw-r--r--kde-misc/knetworkmanager/Manifest14
-rw-r--r--kde-misc/knetworkmanager/knetworkmanager-4.4.0_p20100225.ebuild57
-rw-r--r--kde-misc/knetworkmanager/metadata.xml9
4 files changed, 90 insertions, 0 deletions
diff --git a/kde-misc/knetworkmanager/ChangeLog b/kde-misc/knetworkmanager/ChangeLog
new file mode 100644
index 000000000000..f59a549252e1
--- /dev/null
+++ b/kde-misc/knetworkmanager/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for kde-misc/knetworkmanager
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/knetworkmanager/ChangeLog,v 1.12 2010/02/26 19:14:01 tampakrap Exp $
+
+*knetworkmanager-4.4.0_p20100225 (26 Feb 2010)
+
+ 26 Feb 2010; Theo Chatzimichos <tampakrap@gentoo.org>
+ +knetworkmanager-4.4.0_p20100225.ebuild, +metadata.xml:
+ Add knetworkmanager snapshot
+
diff --git a/kde-misc/knetworkmanager/Manifest b/kde-misc/knetworkmanager/Manifest
new file mode 100644
index 000000000000..914766eec351
--- /dev/null
+++ b/kde-misc/knetworkmanager/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST knetworkmanager-4.4.0_p20100225.tar.bz2 507222 RMD160 72be0d003acead262563e8aa66d86f24267cccfe SHA1 91e40a0e7919dabc2ee1a0e17408980039322ab9 SHA256 fbb79e3ba919506fb544ce85cd7bd6e0b09784b0530296413a18bca6c4058702
+EBUILD knetworkmanager-4.4.0_p20100225.ebuild 1294 RMD160 7b95cd58915a19c037540deece794bc1545c3bc6 SHA1 4695145783e7b6a68ba93834f459f941566c2dbb SHA256 fe4ef0d5fbe5c348efb5036d80f85c2cb7f50ebba5a893da7554458fdabb00f3
+MISC ChangeLog 419 RMD160 0b00bdb82d84130671804c01041e95950741debd SHA1 1970ea4808500dbd32704acece7349ceda495ab3 SHA256 008f88b1becfc8965ab1935194b3e93c311144fb100126871c1169caa49990e5
+MISC metadata.xml 301 RMD160 3e2112d23805982b5fc816bc6fef1f71b4415a2b SHA1 9bb446718c9b5a238a218ee744b0fea754b68ef1 SHA256 a24dfda69e4b52de8c2d46c361a6855da37e98afbd0c6f13e34149c7c0e01ce1
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.14 (GNU/Linux)
+
+iEYEARECAAYFAkuIHa4ACgkQjDdoMVfcAHg6lQCaA3OpoQW4HgPcI8uZkQBGBFZW
++6YAniMtE21IndFMFaQpk6Rq/jamT07p
+=NyRm
+-----END PGP SIGNATURE-----
diff --git a/kde-misc/knetworkmanager/knetworkmanager-4.4.0_p20100225.ebuild b/kde-misc/knetworkmanager/knetworkmanager-4.4.0_p20100225.ebuild
new file mode 100644
index 000000000000..203b67696a32
--- /dev/null
+++ b/kde-misc/knetworkmanager/knetworkmanager-4.4.0_p20100225.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2010 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_p20100225.ebuild,v 1.1 2010/02/26 19:14:01 tampakrap Exp $
+
+EAPI="2"
+
+QT_MINIMAL="4.6.0_beta"
+
+inherit kde4-base
+
+DESCRIPTION="KDE frontend for NetworkManager"
+HOMEPAGE="http://kde.org/"
+SRC_URI="http://dev.gentoo.org/~tampakrap/${P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="4"
+IUSE="consolekit debug +networkmanager wicd"
+
+DEPEND="
+ !kde-misc/networkmanager-applet
+ >=kde-base/solid-${KDE_MINIMAL}[networkmanager?,wicd?]
+ >=net-misc/networkmanager-0.7
+ consolekit? ( sys-auth/consolekit )
+"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ if ! use networkmanager && ! use wicd; then
+ eerror "You need to pick up one of the backend implementations"
+ eerror " * networkmanager"
+ eerror " * wicd"
+ die "No backend selected"
+ fi
+
+ kde4-base_pkg_setup
+}
+
+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
+}
diff --git a/kde-misc/knetworkmanager/metadata.xml b/kde-misc/knetworkmanager/metadata.xml
new file mode 100644
index 000000000000..1a29261dcba8
--- /dev/null
+++ b/kde-misc/knetworkmanager/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>kde</herd>
+<use>
+ <flag name='consolekit'>Enable support for <pkg>sys-auth/consolekit</pkg></flag>
+ <flag name='wicd'>Enable the wicd backend</flag>
+</use>
+</pkgmetadata>