commit: 74ca70fbae06109f741899e02e07b4c3d2a2596a Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Sun Apr 10 07:26:43 2022 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Sun Apr 10 07:26:43 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74ca70fb
gnome-extra/gnome-shell-extension-bluetooth-quick-connect: add 27 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> .../Manifest | 1 + ...ell-extension-bluetooth-quick-connect-27.ebuild | 50 ++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/gnome-extra/gnome-shell-extension-bluetooth-quick-connect/Manifest b/gnome-extra/gnome-shell-extension-bluetooth-quick-connect/Manifest index bf1b7e0028ed..388e2a3767c6 100644 --- a/gnome-extra/gnome-shell-extension-bluetooth-quick-connect/Manifest +++ b/gnome-extra/gnome-shell-extension-bluetooth-quick-connect/Manifest @@ -1 +1,2 @@ DIST gnome-shell-extension-bluetooth-quick-connect-26.tar.gz 22163 BLAKE2B 7a0ab7bd1090a1a4f9736b33fd31e26da358212b62c0b9dfb13f4c009faeffc85c294f59e9d91bd21302e9dbc7c00146e5cd2c625ed982ef5e330e70be20f001 SHA512 9f1360a6b1c6f714923277159275aa87ea78a234b58e01d6804e122fd5f4428664c95bbd43c99e54117811676bb26a85658abdc58d4ab60fb6e37ae34877ab6a +DIST gnome-shell-extension-bluetooth-quick-connect-27.tar.gz 22088 BLAKE2B 332a2ca33a6635484d43829275ff284f5117f04eeb7e25136ff52ebbb97759a4f04a48b5aa84a44cc7234129f84f71693cbe6febfef9081581a3f986395e7a92 SHA512 b81bd8a978b7ac672f04e3621c3cb195e027e44b15ac3c37f624e9014ccf7f20e5d4e6cebef1ed2607cd141e958d4c25b1663de9bc0b7aa904216b5f66fc6ef2 diff --git a/gnome-extra/gnome-shell-extension-bluetooth-quick-connect/gnome-shell-extension-bluetooth-quick-connect-27.ebuild b/gnome-extra/gnome-shell-extension-bluetooth-quick-connect/gnome-shell-extension-bluetooth-quick-connect-27.ebuild new file mode 100644 index 000000000000..1562e306397e --- /dev/null +++ b/gnome-extra/gnome-shell-extension-bluetooth-quick-connect/gnome-shell-extension-bluetooth-quick-connect-27.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit gnome2-utils + +DESCRIPTION="Allow to connect bluetooth paired devices from gnome control panel" +HOMEPAGE="https://github.com/bjarosze/gnome-bluetooth-quick-connect" +SRC_URI="https://github.com/bjarosze/gnome-bluetooth-quick-connect/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="" + +RDEPEND=" + net-wireless/bluez + app-eselect/eselect-gnome-shell-extensions + >=gnome-base/gnome-shell-42 +" +DEPEND="${COMMON_DEPEND}" +BDEPEND="" + +S="${WORKDIR}/${P/shell-extension-}" +extension_uuid="[email protected]" + +src_install() { + einstalldocs + insinto /usr/share/glib-2.0/schemas + doins schemas/*.xml + rm -rf README.md LICENSE Makefile schemas || die + insinto /usr/share/gnome-shell/extensions/"${extension_uuid}" + doins -r * + dosym ../../../../../usr/share/glib-2.0/schemas /usr/share/gnome-shell/extensions/"${extension_uuid}"/schemas +} + +pkg_preinst() { + gnome2_schemas_savelist +} + +pkg_postinst() { + gnome2_schemas_update + ebegin "Updating list of installed extensions" + eselect gnome-shell-extensions update + eend $? +} + +pkg_postrm() { + gnome2_schemas_update +}
