summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2013-05-03 10:31:24 +0000
committerPacho Ramos <pacho@gentoo.org>2013-05-03 10:31:24 +0000
commitab2e8844f039c27de1f3eb659af1cd01b5b4654b (patch)
tree297f50da2345d491e31910c159aae27d942f5454 /gnome-extra/nm-applet
parentStable for amd64, wrt bug #468342 (diff)
downloadgentoo-2-ab2e8844f039c27de1f3eb659af1cd01b5b4654b.tar.gz
gentoo-2-ab2e8844f039c27de1f3eb659af1cd01b5b4654b.tar.bz2
gentoo-2-ab2e8844f039c27de1f3eb659af1cd01b5b4654b.zip
Make modemmanager support optional and fix deps (#463914 by Chris Mayo)
(Portage version: 2.1.11.62/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'gnome-extra/nm-applet')
-rw-r--r--gnome-extra/nm-applet/ChangeLog6
-rw-r--r--gnome-extra/nm-applet/metadata.xml2
-rw-r--r--gnome-extra/nm-applet/nm-applet-0.9.8.0.ebuild22
3 files changed, 19 insertions, 11 deletions
diff --git a/gnome-extra/nm-applet/ChangeLog b/gnome-extra/nm-applet/ChangeLog
index b3758961abe3..3f70f0f83344 100644
--- a/gnome-extra/nm-applet/ChangeLog
+++ b/gnome-extra/nm-applet/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for gnome-extra/nm-applet
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/nm-applet/ChangeLog,v 1.99 2013/05/03 10:07:43 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/nm-applet/ChangeLog,v 1.100 2013/05/03 10:31:24 pacho Exp $
+
+ 03 May 2013; Pacho Ramos <pacho@gentoo.org> metadata.xml,
+ nm-applet-0.9.8.0.ebuild:
+ Make modemmanager support optional and fix deps (#463914 by Chris Mayo)
03 May 2013; Samuli Suominen <ssuominen@gentoo.org> nm-applet-0.9.6.4.ebuild,
nm-applet-0.9.8.0.ebuild:
diff --git a/gnome-extra/nm-applet/metadata.xml b/gnome-extra/nm-applet/metadata.xml
index 32c103ce4c8f..6cdf7324e386 100644
--- a/gnome-extra/nm-applet/metadata.xml
+++ b/gnome-extra/nm-applet/metadata.xml
@@ -12,5 +12,7 @@
<use>
<flag name="gconf">Build tool for migrating gconf settings from
nm-applet-0.8.x</flag>
+ <flag name="modemmanager">Enable support for mobile broadband devices
+ using <pkg>net-misc/modemmanager</pkg></flag>
</use>
</pkgmetadata>
diff --git a/gnome-extra/nm-applet/nm-applet-0.9.8.0.ebuild b/gnome-extra/nm-applet/nm-applet-0.9.8.0.ebuild
index 98f2c9a731d7..5a1ac549e0bb 100644
--- a/gnome-extra/nm-applet/nm-applet-0.9.8.0.ebuild
+++ b/gnome-extra/nm-applet/nm-applet-0.9.8.0.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/nm-applet/nm-applet-0.9.8.0.ebuild,v 1.3 2013/05/03 10:07:43 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/nm-applet/nm-applet-0.9.8.0.ebuild,v 1.4 2013/05/03 10:31:24 pacho Exp $
-EAPI="4"
+EAPI=5
GCONF_DEBUG="no"
GNOME2_LA_PUNT="yes"
GNOME_ORG_MODULE="network-manager-applet"
@@ -16,10 +16,11 @@ SRC_URI="${SRC_URI}
LICENSE="GPL-2+"
SLOT="0"
-IUSE="bluetooth gconf"
+IUSE="bluetooth gconf modemmanager"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-RDEPEND=">=dev-libs/glib-2.26:2
+RDEPEND="
+ >=dev-libs/glib-2.26:2
>=dev-libs/dbus-glib-0.88
>=gnome-base/gnome-keyring-2.20
>=sys-apps/dbus-1.4.1
@@ -33,11 +34,13 @@ RDEPEND=">=dev-libs/glib-2.26:2
bluetooth? ( >=net-wireless/gnome-bluetooth-2.27.6 )
gconf? ( >=gnome-base/gconf-2.20:2 )
- virtual/freedesktop-icon-theme"
-
+ modemmanager? ( >=net-misc/modemmanager-0.7.990 )
+ virtual/freedesktop-icon-theme
+"
DEPEND="${RDEPEND}
virtual/pkgconfig
- >=dev-util/intltool-0.40"
+ >=dev-util/intltool-0.40
+"
src_prepare() {
mv -f "${WORKDIR}"/nm-signal-*.png icons/22/
@@ -45,13 +48,12 @@ src_prepare() {
}
src_configure() {
- DOCS="AUTHORS ChangeLog NEWS README"
gnome2_src_configure \
--with-gtkver=3 \
- --with-modem-manager-1 \
--disable-more-warnings \
--disable-static \
--localstatedir=/var \
$(use_with bluetooth) \
- $(use_enable gconf migration)
+ $(use_enable gconf migration) \
+ $(use_with modemmanager modem-manager-1)
}