Magellan Linux

Annotation of /trunk/extras/gnome-bluetooth/gnome-bluetooth-3.26.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30069 - (hide annotations) (download)
Tue Oct 24 15:23:14 2017 UTC (6 years, 8 months ago) by niro
File size: 1561 byte(s)
auto added: ver bump to 3.26.1-r1
1 niro 30069 # $Id$
2    
3     PNAME="gnome-bluetooth"
4     PVER="3.26.1"
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.54
14     >= dev-libs/dbus-glib-0.108
15     >= dev-libs/libunique-3
16     >= x11-libs/gtk3+-3.22
17     >= x11-libs/libnotify-0.7
18     >= net-wlan/bluez-5
19     >= sys-fs/udev-230
20     >= sys-libs/libstdc++-6.3
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.54"
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     }