1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="Allow to connect bluetooth paired devices from gnome control panel"
7 HOMEPAGE="https://github.com/bjarosze/gnome-bluetooth-quick-connect"
8 SRC_URI="https://github.com/bjarosze/gnome-bluetooth-quick-connect/archive/v${PV}.tar.gz -> ${P}.tar.gz"
12 KEYWORDS="~amd64 ~x86"
15 # glib for glib-compile-schemas at build time, needed at runtime anyways
19 RDEPEND="${COMMON_DEPEND}
21 app-eselect/eselect-gnome-shell-extensions
22 >=gnome-base/gnome-shell-3.26.2
24 DEPEND="${COMMON_DEPEND}"
27 S="${WORKDIR}/${P/shell-extension-}"
30 "${FILESDIR}"/${P}-3.34.patch
35 rm -f README.md LICENSE Makefile || die
36 insinto /usr/share/gnome-shell/extensions/bluetooth-quick-connect@bjarosze.gmail.com
38 glib-compile-schemas "${ED}"/usr/share/gnome-shell/extensions/bluetooth-quick-connect@bjarosze.gmail.com/schemas || die
42 ebegin "Updating list of installed extensions"
43 eselect gnome-shell-extensions update