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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Mar 7 09:25:47 2008 UTC (6 years, 5 months ago) by steev
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
New upstream release, remove the old patches that 0.6.5.98 were using.
(Portage version: 2.1.4.4)

1 # Copyright 1999-2008 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.98.ebuild,v 1.1 2008/02/14 07:33:12 steev Exp $
4
5 inherit autotools gnome2 eutils
6
7 #MY_PV=${PV/_*/}
8
9 DESCRIPTION="Gnome applet for NetworkManager."
10 HOMEPAGE="http://people.redhat.com/dcbw/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 SRC_URI="http://people.redhat.com/dcbw/NetworkManager/0.6.6/${P}.tar.gz"
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
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-0.6.5_p20080130
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
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 COPYING ChangeLog INSTALL 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 #Patches from Debian, use po/LINGUAS, update translations
53 epatch "${FILESDIR}/${PN}-po-linguas.patch"
54 epatch "${FILESDIR}/${PN}-potfiles.patch"
55 epatch "${FILESDIR}/10-po_fr.patch"
56 epatch "${FILESDIR}/11-po_de.patch"
57 epatch "${FILESDIR}/12-po_jp.patch"
58 # Patches from Debian, use an fdo compliant category for the editor.
59 # install nm-disconnect-wireless-on-exit.sh as a script.
60 # install nm-applet autostart file according to the fdo spec
61 epatch "${FILESDIR}/nm-editor-fdo-categories.patch"
62 epatch "${FILESDIR}/${PN}-makefile.am-2.patch"
63 eautoreconf
64 # Eva, next time, please comment on what you are doing.
65 # echo "src/nm-wired-dialog.c" >> po/POTFILES.in
66 }
67
68 pkg_postinst() {
69 gnome2_pkg_postinst
70 elog "Your user needs to be in the plugdev group in order to use this"
71 elog "package. If it doesn't start in Gnome for you automatically after"
72 elog 'you log back in, simply run "nm-applet --sm-disable"'
73 elog "You also need the notification area applet on your panel for"
74 elog "this to show up."
75 }

  ViewVC Help
Powered by ViewVC 1.1.20