| 1 |
# Copyright 1999-2009 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/nm-applet/nm-applet-0.6.5.ebuild,v 1.13 2009/10/13 12:21:05 ssuominen Exp $
|
| 4 |
|
| 5 |
inherit gnome2 eutils
|
| 6 |
|
| 7 |
MY_PV=${PV/_*/}
|
| 8 |
|
| 9 |
DESCRIPTION="Gnome applet for NetworkManager."
|
| 10 |
HOMEPAGE="http://www.gnome.org/projects/NetworkManager/"
|
| 11 |
SRC_URI="http://ftp.gnome.org/pub/gnome/sources/network-manager-applet/0.6/network-manager-applet-0.6.5.tar.gz"
|
| 12 |
|
| 13 |
LICENSE="GPL-2"
|
| 14 |
SLOT="0"
|
| 15 |
KEYWORDS="ppc"
|
| 16 |
IUSE="debug doc libnotify"
|
| 17 |
|
| 18 |
RDEPEND=">=sys-apps/dbus-0.60
|
| 19 |
>=sys-apps/hal-0.5
|
| 20 |
sys-apps/iproute2
|
| 21 |
>=net-misc/dhcdbd-1.4
|
| 22 |
net-misc/networkmanager
|
| 23 |
>=net-wireless/wireless-tools-28_pre9
|
| 24 |
>=net-wireless/wpa_supplicant-0.4.8
|
| 25 |
>=dev-libs/glib-2.10
|
| 26 |
libnotify? ( >=x11-libs/libnotify-0.4.3 )
|
| 27 |
>=x11-libs/gtk+-2.10
|
| 28 |
>=gnome-base/libglade-2
|
| 29 |
>=gnome-base/gnome-keyring-0.4
|
| 30 |
|| ( >=gnome-base/gnome-panel-2 xfce-base/xfce4-panel )
|
| 31 |
>=gnome-base/gconf-2
|
| 32 |
>=gnome-base/libgnomeui-2"
|
| 33 |
DEPEND="${RDEPEND}
|
| 34 |
dev-util/pkgconfig
|
| 35 |
>=dev-util/intltool-0.35"
|
| 36 |
|
| 37 |
DOCS="AUTHORS ChangeLog NEWS README"
|
| 38 |
USE_DESTDIR="1"
|
| 39 |
|
| 40 |
G2CONF="${G2CONF} \
|
| 41 |
--disable-more-warnings \
|
| 42 |
--localstatedir=/var \
|
| 43 |
--with-dbus-sys=/etc/dbus-1/system.d \
|
| 44 |
$(use_with libnotify notify)"
|
| 45 |
|
| 46 |
S=${WORKDIR}/${PN}-${MY_PV}
|
| 47 |
|
| 48 |
src_unpack() {
|
| 49 |
unpack ${A}
|
| 50 |
cd "${S}"
|
| 51 |
epatch "${FILESDIR}/${PN}-0.6.5-confchanges.patch"
|
| 52 |
}
|
| 53 |
|
| 54 |
pkg_postinst() {
|
| 55 |
gnome2_pkg_postinst
|
| 56 |
elog "Your user needs to be in the plugdev group in order to use this"
|
| 57 |
elog "package. If it doesn't start in Gnome for you automatically after"
|
| 58 |
elog 'you log back in, simply run "nm-applet --sm-disable"'
|
| 59 |
elog "You also need the notification area applet on your panel for"
|
| 60 |
elog "this to show up."
|
| 61 |
}
|