Contents of /trunk/extras/gnome-bluetooth/gnome-bluetooth-2.32.0-r3.smage2
Parent Directory | Revision Log
Revision 10864 -
(show annotations)
(download)
Sat Feb 4 11:53:16 2012 UTC (12 years, 7 months ago) by niro
File size: 1482 byte(s)
Sat Feb 4 11:53:16 2012 UTC (12 years, 7 months ago) by niro
File size: 1482 byte(s)
-import from magellan-next
1 | # $Id$ |
2 | |
3 | PNAME="gnome-bluetooth" |
4 | PVER="2.32.0" |
5 | PBUILD="r3" |
6 | |
7 | PCAT="net-wlan" |
8 | |
9 | DESCRIPTION="Password and keyring managing daemon." |
10 | HOMEPAGE="http://www.gnome.org/" |
11 | |
12 | DEPEND=">= sys-apps/dbus-1.4 |
13 | >= dev-libs/glib2-2.28 |
14 | >= dev-libs/dbus-glib-0.92 |
15 | >= dev-libs/libunique-1.1 |
16 | >= x11-libs/gtk2+-2.24 |
17 | >= x11-libs/libnotify-0.7 |
18 | >= gnome-base/gconf-2.32 |
19 | >= net-wlan/bluez-4.95 |
20 | >= sys-fs/udev-175 |
21 | >= sys-libs/libstdc++-4.6" |
22 | |
23 | SDEPEND=">= dev-util/pkgconfig-0.25 |
24 | >= dev-util/intltool-0.41 |
25 | >= sys-dev/gettext-0.18 |
26 | >= x11-libs/libX11-1.4 |
27 | >= x11-libs/libXi-1.4 |
28 | >= x11-proto/xproto-7 |
29 | >= app-text/gnome-doc-utils-0.20" |
30 | |
31 | sminclude gnome2 mtools |
32 | |
33 | SRC_URI=( ${SRC_URI[*]} |
34 | mirror://${PNAME}/${PNAME}-${PVER}-libnotify-0.7.patch |
35 | mirror://${PNAME}/rfkill.rules |
36 | ) |
37 | |
38 | UP2DATE="updatecmd_gnome ${PNAME}" |
39 | |
40 | src_prepare() |
41 | { |
42 | munpack ${SRCFILE} || die |
43 | cd ${SRCDIR} |
44 | |
45 | # fix build against libnotify-0.7 |
46 | mpatch ${PNAME}-${PVER}-libnotify-0.7.patch || die |
47 | } |
48 | |
49 | src_compile() |
50 | { |
51 | cd ${SRCDIR} |
52 | |
53 | gn2_configure \ |
54 | --disable-scrollkeeper \ |
55 | --disable-introspection \ |
56 | --disable-nautilus-sendto \ |
57 | --disable-moblin \ |
58 | --disable-desktop-update \ |
59 | --disable-icon-update \ |
60 | --disable-schemas-compile \ |
61 | || die |
62 | |
63 | mmake || die |
64 | } |
65 | |
66 | src_install() |
67 | { |
68 | gn2_src_install || die |
69 | minstalludevrule rfkill.rules 80-rfkill.rules || die |
70 | } |
71 | |
72 | preinstall() |
73 | { |
74 | # adds plugdev group |
75 | ${MLIBDIR}/mgroupadd -o "-g 302" plugdev |
76 | |
77 | echo |
78 | echo "Add yourself to the plugdev group to be able to control bluetooth transmitter." |
79 | echo |
80 | } |