Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9399 - (hide annotations) (download)
Mon Nov 28 21:39:00 2011 UTC (12 years, 5 months ago) by niro
File size: 1432 byte(s)
-fixed dependencies
1 niro 9395 # $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 niro 9399 >= x11-proto/xproto-7
28     >= app-text/gnome-doc-utils-0.20"
29 niro 9395
30 niro 9396 sminclude gnome2 mtools
31 niro 9395
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-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     }