/[gentoo-x86]/gnome-extra/nm-applet/nm-applet-0.7.1.ebuild
Gentoo

Contents of /gnome-extra/nm-applet/nm-applet-0.7.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Jun 11 12:00:32 2009 UTC (5 years, 6 months ago) by dagger
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Added some patches to make sure nm-applet will work fine with recent
NM changes.
(Portage version: 2.1.6.13/cvs/Linux x86_64)

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.7.1.ebuild,v 1.1 2009/04/22 14:22:08 rbu Exp $
4
5 EAPI=2
6 inherit gnome2 eutils versionator
7
8 MY_P="${P/nm-applet/network-manager-applet}"
9 MYPV_MINOR=$(get_version_component_range 1-2)
10
11 DESCRIPTION="Gnome applet for NetworkManager."
12 HOMEPAGE="http://projects.gnome.org/NetworkManager/"
13 SRC_URI="mirror://gnome/sources/network-manager-applet/0.7/${MY_P}.tar.bz2"
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~arm ~amd64 ~ppc ~x86"
17 IUSE=""
18
19 RDEPEND=">=sys-apps/dbus-1.2
20 >=sys-apps/hal-0.5.9
21 >=dev-libs/libnl-1.1
22 =net-misc/networkmanager-${MYPV_MINOR}*
23 >=net-wireless/wireless-tools-28_pre9
24 >=net-wireless/wpa_supplicant-0.5.7
25 >=dev-libs/glib-2.16
26 >=x11-libs/libnotify-0.4.3
27 >=x11-libs/gtk+-2.10
28 >=gnome-base/libglade-2
29 >=gnome-base/gnome-keyring-2.20
30 || ( >=gnome-base/gnome-panel-2 xfce-base/xfce4-panel x11-misc/trayer )
31 >=gnome-base/gconf-2.20
32 >=gnome-extra/policykit-gnome-0.8"
33 DEPEND="${RDEPEND}
34 dev-util/pkgconfig
35 >=dev-util/intltool-0.35"
36
37 DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README"
38 # USE_DESTDIR="1"
39
40 S=${WORKDIR}/${MY_P}
41
42 pkg_setup () {
43 G2CONF="${G2CONF} \
44 --disable-more-warnings \
45 --localstatedir=/var \
46 --with-dbus-sys=/etc/dbus-1/system.d"
47 }
48
49 src_prepare() {
50 epatch "${FILESDIR}/${P}-confchanges.patch"
51 }
52
53 pkg_postinst() {
54 gnome2_pkg_postinst
55 elog "Your user needs to be in the plugdev group in order to use this"
56 elog "package. If it doesn't start in Gnome for you automatically after"
57 elog 'you log back in, simply run "nm-applet --sm-disable"'
58 elog "You also need the notification area applet on your panel for"
59 elog "this to show up."
60 }

  ViewVC Help
Powered by ViewVC 1.1.20