Contents of /trunk/extras/network-manager-applet/network-manager-applet-0.9.6.2-r2.smage2
Parent Directory | Revision Log
Revision 13423 -
(show annotations)
(download)
Sat Oct 6 20:12:26 2012 UTC (11 years, 11 months ago) by niro
File size: 1516 byte(s)
Sat Oct 6 20:12:26 2012 UTC (11 years, 11 months ago) by niro
File size: 1516 byte(s)
-rebuild
1 | # $Id$ |
2 | |
3 | PNAME="network-manager-applet" |
4 | PVER="0.9.6.2" |
5 | PBUILD="r2" |
6 | |
7 | PCAT="net-misc" |
8 | |
9 | DESCRIPTION="NetworkManager applet for Gnome and Gtk2+" |
10 | HOMEPAGE="http://projects.gnome.org/NetworkManager/" |
11 | |
12 | DEPEND=">= net-misc/networkmanager-0.9.6 |
13 | >= net-misc/mobile-broadband-provider-info-2011 |
14 | >= dev-libs/glib2-2.34 |
15 | >= sys-libs/libstdc++-4.7 |
16 | >= sys-apps/dbus-1.6 |
17 | >= dev-libs/dbus-glib-0.100 |
18 | >= x11-libs/gtk3+-3.6 |
19 | >= x11-libs/libnotify-0.7 |
20 | >= gnome-base/gconf-3.2 |
21 | >= gnome-base/libgnome-keyring-3.6 |
22 | >= sys-apps/polkit-0.107 |
23 | >= app-text/iso-codes-3.3 |
24 | >= net-wlan/gnome-bluetooth-3.6" |
25 | |
26 | SDEPEND=">= dev-util/pkgconfig-0.25 |
27 | >= dev-util/intltool-0.50" |
28 | |
29 | SRCFILE="${PNAME}-${PVER}.tar.xz" |
30 | |
31 | sminclude gnome2 mtools |
32 | |
33 | UP2DATE="updatecmd_gnome network-manager-applet" |
34 | |
35 | src_compile() |
36 | { |
37 | cd ${SRCDIR} |
38 | |
39 | gn2_configure \ |
40 | --localstatedir=/var \ |
41 | --disable-more-warnings \ |
42 | --disable-static \ |
43 | --with-bluetooth \ |
44 | || die |
45 | |
46 | mmake || die |
47 | } |
48 | |
49 | src_install() |
50 | { |
51 | cd ${SRCDIR} |
52 | gn2_src_install || die |
53 | |
54 | # create polkit local authority file to allow users in plugdev group manage network |
55 | minstalldir /var/lib/polkit-1/localauthority/10-vendor.d || die |
56 | MCONFIG="/var/lib/polkit-1/localauthority/10-vendor.d/01-org.freedesktop.network-manager-applet.pkla" |
57 | mclearconfig || die |
58 | maddconfig '[nm-applet]' || die |
59 | maddconfig 'Identity=unix-group:plugdev' || die |
60 | maddconfig 'Action=org.freedesktop.NetworkManager.*' || die |
61 | maddconfig 'ResultAny=yes' || die |
62 | maddconfig 'ResultInactive=no' || die |
63 | maddconfig 'ResultActive=yes' || die |
64 | } |