Contents of /trunk/extras/gnome-bluetooth/gnome-bluetooth-3.28.0-r1.smage2
Parent Directory | Revision Log
Revision 30906 -
(show annotations)
(download)
Tue May 15 10:39:06 2018 UTC (6 years, 4 months ago) by niro
File size: 1449 byte(s)
Tue May 15 10:39:06 2018 UTC (6 years, 4 months ago) by niro
File size: 1449 byte(s)
auto added: ver bump to 3.28.0-r1
1 | # $Id$ |
2 | |
3 | PNAME="gnome-bluetooth" |
4 | PVER="3.28.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.56 |
14 | >= dev-libs/dbus-glib-0.110 |
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.56" |
32 | |
33 | SRCFILE="${PNAME}-${PVER}.tar.xz" |
34 | |
35 | sminclude gnome2 gtk2 fdo-mime mtools udev meson |
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 | meson_src_compile \ |
51 | $(meson_enable introspection) \ |
52 | $(meson_disable gtk-doc) \ |
53 | $(meson_disable icon-update) \ |
54 | || die |
55 | } |
56 | |
57 | src_install() |
58 | { |
59 | meson_src_install || die |
60 | minstalludevrule rfkill.rules 80-rfkill.rules || die |
61 | } |
62 | |
63 | preinstall() |
64 | { |
65 | # adds plugdev group |
66 | mgroupadd -o "-g 302" plugdev |
67 | |
68 | echo |
69 | echo "Add yourself to the plugdev group to be able to control bluetooth transmitter." |
70 | echo |
71 | } |
72 | |
73 | postinstall() |
74 | { |
75 | gtk2_update_icon_cache |
76 | fdo-mime_update_desktop_db |
77 | } |
78 | |
79 | postremove() |
80 | { |
81 | gtk2_update_icon_cache |
82 | fdo-mime_update_desktop_db |
83 | } |