commit: d12c887640a27960e8801d5a1a669ce2609afb2e Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Sun Oct 2 08:54:48 2022 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Sun Oct 2 08:54:48 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d12c8876
gnome-extra/gnome-shell-extension-bluetooth-quick-connect: add 30 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> .../Manifest | 1 + ...ell-extension-bluetooth-quick-connect-30.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 97e5d3bbb96f..7c9a03333c9b 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-29.tar.gz 22626 BLAKE2B 9bc2e08b9fe04f742431a61a84846b09fea43d7735ad907bcbff0e9f5456f4068dbc999d407152965ba07dcbea609fb2c6f3bf14ab209f40beb65c2dbfc83f33 SHA512 01efe1eb9e2982da9c75119268c3748af5f25ceb21bef8aeffe322429572eae871b148fc92668a211739761f42691731815fd74eaf91870bd14e55f3ee557256 +DIST gnome-shell-extension-bluetooth-quick-connect-30.tar.gz 23135 BLAKE2B e75d71980951e9e41512b83ce3ba86f91572e0c346b69bf79bbcb783bef75dbc8a76ae0a86307328bfbd5cf0f05bd98ac9272d06e38a54a591c277ae6e12e586 SHA512 15bfdc26535f997f82a428d46c808c04e619ae0f04aeaaf260c88a238e51f250ec4e66723fa58ed30992cd9a24304e056a88c3d4af3e8effee5700aa83edde98 diff --git a/gnome-extra/gnome-shell-extension-bluetooth-quick-connect/gnome-shell-extension-bluetooth-quick-connect-30.ebuild b/gnome-extra/gnome-shell-extension-bluetooth-quick-connect/gnome-shell-extension-bluetooth-quick-connect-30.ebuild new file mode 100644 index 000000000000..a485c63f1867 --- /dev/null +++ b/gnome-extra/gnome-shell-extension-bluetooth-quick-connect/gnome-shell-extension-bluetooth-quick-connect-30.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-40 +" +DEPEND="${COMMON_DEPEND}" +BDEPEND="" + +S="${WORKDIR}/${P/shell-extension-}" +extension_uuid="bluetooth-quick-conn...@bjarosze.gmail.com" + +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 +}