You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.3 KiB
62 lines
1.3 KiB
5 years ago
|
# Copyright 1999-2020 Gentoo Authors
|
||
5 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=7
|
||
|
|
||
4 years ago
|
PYTHON_COMPAT=( python3_{6,7,8} )
|
||
5 years ago
|
|
||
4 years ago
|
inherit gnome2-utils python-single-r1 xdg-utils
|
||
5 years ago
|
|
||
|
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}
|
||
5 years ago
|
$(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}]
|
||
|
')
|
||
5 years ago
|
>=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}"
|
||
|
|
||
5 years ago
|
src_prepare() {
|
||
|
default
|
||
|
python_fix_shebang usr/lib
|
||
|
}
|
||
|
|
||
5 years ago
|
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
|
||
|
}
|