blob: 9ccd7ba7dc3fd885059c5057c4c40f538db5ebaf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7,8} )
inherit gnome2-utils python-single-r1 xdg-utils
DESCRIPTION="A Bluetooth configuration tool"
HOMEPAGE="https://github.com/linuxmint/blueberry"
SRC_URI="https://github.com/linuxmint/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
$(python_gen_cond_dep '
dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
dev-python/setproctitle[${PYTHON_MULTI_USEDEP}]
dev-python/xapp[${PYTHON_MULTI_USEDEP}]
')
>=net-wireless/gnome-bluetooth-3.14[introspection]
net-wireless/bluez[obex]
net-wireless/bluez-tools
|| (
>=sys-apps/util-linux-2.31_rc1
net-wireless/rfkill
)
x11-libs/libnotify[introspection]
x11-misc/wmctrl"
DEPEND="${RDEPEND}"
src_prepare() {
default
python_fix_shebang usr/lib
}
src_install() {
doins -r etc
exeinto /usr/bin
doexe usr/bin/*
exeinto /usr/lib/blueberry
doexe usr/lib/blueberry/*
insinto /usr
doins -r usr/share
}
pkg_postinst() {
gnome2_schemas_update
xdg_icon_cache_update
}
pkg_postrm() {
gnome2_schemas_update
xdg_icon_cache_update
}
|