Magellan Linux

Annotation of /branches/R11-stable/extras/gnome-bluetooth/gnome-bluetooth-3.14.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 22394 - (hide annotations) (download)
Wed Apr 2 03:12:18 2014 UTC (10 years, 2 months ago) by niro
Original Path: trunk/extras/gnome-bluetooth/gnome-bluetooth-3.14.0-r1.smage2
File size: 1523 byte(s)
auto added: ver bump to 3.14.0-r1
1 niro 22394 # $Id$
2    
3     PNAME="gnome-bluetooth"
4     PVER="3.14.0"
5     PBUILD="r1"
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.8
13     >= dev-libs/glib2-2.42
14     >= dev-libs/dbus-glib-0.102
15     >= dev-libs/libunique-3
16     >= x11-libs/gtk3+-3.14
17     >= x11-libs/libnotify-0.7
18     >= net-wlan/bluez-5
19     >= sys-fs/udev-216
20     >= sys-libs/libstdc++-4.8"
21    
22     SDEPEND=">= dev-util/pkgconfig-0.25
23     >= dev-util/intltool-0.50
24     >= sys-dev/gettext-0.18
25     >= dev-util/itstool-2
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     >= dev-libs/gobject-introspection-1.42"
31    
32     SRCFILE="${PNAME}-${PVER}.tar.xz"
33    
34     sminclude gnome2 gtk2 fdo-mime mtools udev
35    
36     SRC_URI=( ${SRC_URI[*]}
37     mirror://${PNAME}/rfkill.rules
38     )
39    
40     UP2DATE="updatecmd_gnome ${PNAME}"
41    
42     pkg_setup()
43     {
44     preinstall
45     }
46    
47     src_compile()
48     {
49     cd ${SRCDIR}
50    
51     gn2_configure \
52     --enable-introspection \
53     --disable-scrollkeeper \
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     minstalludevrule rfkill.rules 80-rfkill.rules || die
68     }
69    
70     preinstall()
71     {
72     # adds plugdev group
73     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     }
79    
80     postinstall()
81     {
82     gtk2_update_icon_cache
83     fdo-mime_update_desktop_db
84     }
85    
86     postremove()
87     {
88     gtk2_update_icon_cache
89     fdo-mime_update_desktop_db
90     }