Magellan Linux

Contents of /branches/magellan-next/extras/gnome-bluetooth/gnome-bluetooth-2.32.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9395 - (show annotations) (download)
Mon Nov 28 21:29:04 2011 UTC (12 years, 5 months ago) by niro
File size: 1412 byte(s)
auto added: ver bump to 2.32.0-r1
1 # $Id$
2
3 PNAME="gnome-bluetooth"
4 PVER="2.32.0"
5 PBUILD="r1"
6
7 PCATEGORIE="gnome-base"
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
22 SDEPEND=">= dev-util/pkgconfig-0.25
23 >= dev-util/intltool-0.41
24 >= sys-dev/gettext-0.18
25 >= x11-libs/libX11-1.4
26 >= x11-libs/libXi-1.4
27 >= x11-proto/xproto-7"
28
29 sminclude gnome2
30
31 SRC_URI=( ${SRC_URI[*]}
32 mirror://${PNAME}/${PNAME}-${PVER}-libnotify-0.7.patch
33 mirror://${PNAME}/rfkill.rules
34 )
35
36 UP2DATE="updatecmd_gnome ${PNAME}"
37
38 src_prepare()
39 {
40 munpack ${SRCFILE} || die
41 cd ${SRCDIR}
42
43 # fix build against libnotify-0.7
44 mpatch ${PNAME}-${PVER}-libnotify-0.7.patch || die
45 }
46
47 src_compile()
48 {
49 cd ${SRCDIR}
50
51 gn2_configure \
52 --with-gtk=2.0 \
53 --disable-introspection \
54 --disable-nautilus-sendto \
55 --disable-moblin \
56 --disable-desktop-update \
57 --disable-icon-update \
58 --disable-schemas-compile \
59 || die
60
61 mmake || die
62 }
63
64 src_install()
65 {
66 gn2_src_install || die
67 minstalludev rfkill.rules 80-rfkill.rules || die
68 }
69
70 preinstall()
71 {
72 # adds plugdev group
73 ${MLIBDIR}/mgroupadd -o "-g 302" plugdev
74
75 echo
76 echo "Add yourself to the plugdev group to be able to control bluetooth transmitter."
77 echo
78 }