Magellan Linux

Contents of /trunk/extras/gnome-bluetooth/gnome-bluetooth-3.18.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 27050 - (show annotations) (download)
Mon Nov 9 14:46:31 2015 UTC (8 years, 7 months ago) by niro
File size: 1561 byte(s)
-added missing libcanberra-gtk3 dep
1 # $Id$
2
3 PNAME="gnome-bluetooth"
4 PVER="3.18.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.10
13 >= dev-libs/glib2-2.46
14 >= dev-libs/dbus-glib-0.104
15 >= dev-libs/libunique-3
16 >= x11-libs/gtk3+-3.18
17 >= x11-libs/libnotify-0.7
18 >= net-wlan/bluez-5
19 >= sys-fs/udev-227
20 >= sys-libs/libstdc++-5.2
21 == media-libs/libcanberra-gtk3-0.30"
22
23 SDEPEND=">= dev-util/pkgconfig-0.25
24 >= dev-util/intltool-0.50
25 >= sys-dev/gettext-0.18
26 >= dev-util/itstool-2
27 >= x11-libs/libX11-1.6
28 >= x11-libs/libXi-1.7
29 >= x11-proto/xproto-7
30 >= app-text/gnome-doc-utils-0.20
31 >= dev-libs/gobject-introspection-1.46"
32
33 SRCFILE="${PNAME}-${PVER}.tar.xz"
34
35 sminclude gnome2 gtk2 fdo-mime mtools udev
36
37 SRC_URI=( ${SRC_URI[*]}
38 mirror://${PNAME}/rfkill.rules
39 )
40
41 UP2DATE="updatecmd_gnome ${PNAME}"
42
43 pkg_setup()
44 {
45 preinstall
46 }
47
48 src_compile()
49 {
50 cd ${SRCDIR}
51
52 gn2_configure \
53 --enable-introspection \
54 --disable-scrollkeeper \
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 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 }
80
81 postinstall()
82 {
83 gtk2_update_icon_cache
84 fdo-mime_update_desktop_db
85 }
86
87 postremove()
88 {
89 gtk2_update_icon_cache
90 fdo-mime_update_desktop_db
91 }