blob: e18121436c7431be2fcfabb40b6d8f8971f253b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/nm-applet/nm-applet-0.8.1-r2.ebuild,v 1.3 2010/09/29 21:08:27 flameeyes Exp $
EAPI="2"
inherit gnome2 eutils autotools
MY_PN="${PN/nm-applet/network-manager-applet}"
DESCRIPTION="Gnome applet for NetworkManager."
HOMEPAGE="http://projects.gnome.org/NetworkManager/"
SRC_URI="${SRC_URI//${PN}/${MY_PN}}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="bluetooth"
# FIXME: bluetooth is automagic
# XXX: depend on dbus-1.2.6 when it goes stable
RDEPEND=">=dev-libs/glib-2.16
>=dev-libs/dbus-glib-0.74
>=sys-apps/dbus-1.2
>=x11-libs/gtk+-2.18
>=gnome-base/gconf-2.20
>=gnome-extra/polkit-gnome-0.92
>=x11-libs/libnotify-0.4.3
>=gnome-base/libglade-2
>=gnome-base/gnome-keyring-2.20
>=dev-libs/libnl-1.1
>=net-misc/networkmanager-${PV}
>=net-wireless/wireless-tools-28_pre9
>=net-wireless/wpa_supplicant-0.5.7
net-misc/mobile-broadband-provider-info
bluetooth? ( >=net-wireless/gnome-bluetooth-2.27.6 )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
>=dev-util/intltool-0.35"
DOCS="AUTHORS ChangeLog NEWS README"
# USE_DESTDIR="1"
src_prepare() {
# Fix compilation with DGSEAL_ENABLE gentoo bug #330363
epatch "${FILESDIR}/${P}-fix-compilation-with-DGSEAL_ENABLE.patch"
epatch "${FILESDIR}/${P}-fix-bluetooth-dep.patch"
eautoreconf
}
S="${WORKDIR}/${MY_PN}-${PV}"
pkg_setup () {
G2CONF="${G2CONF}
--disable-more-warnings
--localstatedir=/var"
}
|