| 1 |
# Copyright 1999-2011 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.8.2.ebuild,v 1.5 2011/03/06 23:08:10 nirbheek Exp $
|
| 4 |
|
| 5 |
EAPI=2
|
| 6 |
inherit eutils gnome2
|
| 7 |
|
| 8 |
MY_PN="${PN/nm-applet/network-manager-applet}"
|
| 9 |
|
| 10 |
DESCRIPTION="Gnome applet for NetworkManager."
|
| 11 |
HOMEPAGE="http://projects.gnome.org/NetworkManager/"
|
| 12 |
SRC_URI="${SRC_URI//${PN}/${MY_PN}}"
|
| 13 |
|
| 14 |
LICENSE="GPL-2"
|
| 15 |
SLOT="0"
|
| 16 |
KEYWORDS="~amd64 ~ppc ~x86"
|
| 17 |
IUSE="bluetooth"
|
| 18 |
|
| 19 |
# FIXME: bluetooth is automagic
|
| 20 |
RDEPEND=">=dev-libs/glib-2.16:2
|
| 21 |
>=dev-libs/dbus-glib-0.88
|
| 22 |
>=sys-apps/dbus-1.4.1
|
| 23 |
>=x11-libs/gtk+-2.18:2
|
| 24 |
>=gnome-base/gconf-2.20:2
|
| 25 |
>=x11-libs/libnotify-0.4.3
|
| 26 |
>=gnome-base/libglade-2:2.0
|
| 27 |
>=gnome-base/gnome-keyring-2.20
|
| 28 |
|
| 29 |
>=dev-libs/libnl-1.1
|
| 30 |
>=net-misc/networkmanager-${PV}
|
| 31 |
>=net-wireless/wireless-tools-28_pre9
|
| 32 |
>=net-wireless/wpa_supplicant-0.5.7
|
| 33 |
net-misc/mobile-broadband-provider-info
|
| 34 |
bluetooth? ( >=net-wireless/gnome-bluetooth-2.27.6 )
|
| 35 |
>=sys-auth/polkit-0.96-r1"
|
| 36 |
|
| 37 |
DEPEND="${RDEPEND}
|
| 38 |
dev-util/pkgconfig
|
| 39 |
>=dev-util/intltool-0.35"
|
| 40 |
|
| 41 |
S=${WORKDIR}/${MY_PN}-${PV}
|
| 42 |
|
| 43 |
pkg_setup () {
|
| 44 |
G2CONF="${G2CONF}
|
| 45 |
--disable-more-warnings
|
| 46 |
--localstatedir=/var"
|
| 47 |
|
| 48 |
DOCS="AUTHORS ChangeLog NEWS README"
|
| 49 |
}
|
| 50 |
|
| 51 |
src_prepare() {
|
| 52 |
epatch "${FILESDIR}"/${P}-libnotify-0.7.patch
|
| 53 |
gnome2_src_prepare
|
| 54 |
}
|