Magellan Linux

Contents of /trunk/extras/gnome-bluetooth/gnome-bluetooth-3.12.0-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 22107 - (show annotations) (download)
Wed Sep 3 13:18:14 2014 UTC (9 years, 9 months ago) by niro
File size: 1500 byte(s)
-using new include and pkg_setup()
1 # $Id$
2
3 PNAME="gnome-bluetooth"
4 PVER="3.12.0"
5 PBUILD="r2"
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.40
14 >= dev-libs/dbus-glib-0.102
15 >= dev-libs/libunique-3
16 >= x11-libs/gtk3+-3.12
17 >= x11-libs/libnotify-0.7
18 >= net-wlan/bluez-5
19 >= sys-fs/udev-215
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 >= 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 >= dev-libs/gobject-introspection-1.40"
30
31 SRCFILE="${PNAME}-${PVER}.tar.xz"
32
33 sminclude gnome2 gtk2 fdo-mime mtools udev
34
35 SRC_URI=( ${SRC_URI[*]}
36 mirror://${PNAME}/rfkill.rules
37 )
38
39 UP2DATE="updatecmd_gnome ${PNAME}"
40
41 pkg_setup()
42 {
43 preinstall
44 }
45
46 src_compile()
47 {
48 cd ${SRCDIR}
49
50 gn2_configure \
51 --enable-introspection \
52 --disable-scrollkeeper \
53 --disable-nautilus-sendto \
54 --disable-moblin \
55 --disable-desktop-update \
56 --disable-icon-update \
57 --disable-schemas-compile \
58 || die
59
60 mmake || die
61 }
62
63 src_install()
64 {
65 gn2_src_install || die
66 minstalludevrule rfkill.rules 80-rfkill.rules || die
67 }
68
69 preinstall()
70 {
71 # adds plugdev group
72 mgroupadd -o "-g 302" plugdev
73
74 echo
75 echo "Add yourself to the plugdev group to be able to control bluetooth transmitter."
76 echo
77 }
78
79 postinstall()
80 {
81 gtk2_update_icon_cache
82 fdo-mine_update_desktop_db
83 }
84
85 postremove()
86 {
87 gtk2_update_icon_cache
88 fdo-mine_update_desktop_db
89 }