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 9409 - (show annotations) (download)
Tue Nov 29 00:15:28 2011 UTC (12 years, 6 months ago) by niro
File size: 1461 byte(s)
-fixed package categorie
1 # $Id$
2
3 PNAME="gnome-bluetooth"
4 PVER="2.32.0"
5 PBUILD="r1"
6
7 PCATEGORIE="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
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 >= app-text/gnome-doc-utils-0.20"
29
30 sminclude gnome2 mtools
31
32 SRC_URI=( ${SRC_URI[*]}
33 mirror://${PNAME}/${PNAME}-${PVER}-libnotify-0.7.patch
34 mirror://${PNAME}/rfkill.rules
35 )
36
37 UP2DATE="updatecmd_gnome ${PNAME}"
38
39 src_prepare()
40 {
41 munpack ${SRCFILE} || die
42 cd ${SRCDIR}
43
44 # fix build against libnotify-0.7
45 mpatch ${PNAME}-${PVER}-libnotify-0.7.patch || die
46 }
47
48 src_compile()
49 {
50 cd ${SRCDIR}
51
52 gn2_configure \
53 --disable-scrollkeeper \
54 --disable-introspection \
55 --disable-nautilus-sendto \
56 --disable-moblin \
57 --disable-desktop-update \
58 --disable-icon-update \
59 --disable-schemas-compile \
60 || die
61
62 mmake || die
63 }
64
65 src_install()
66 {
67 gn2_src_install || die
68 minstalludevrule rfkill.rules 80-rfkill.rules || die
69 }
70
71 preinstall()
72 {
73 # adds plugdev group
74 ${MLIBDIR}/mgroupadd -o "-g 302" plugdev
75
76 echo
77 echo "Add yourself to the plugdev group to be able to control bluetooth transmitter."
78 echo
79 }