commit: 70240b3edf3ddfb5c6546d184ba23303d0cc2061 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Sun Sep 26 10:01:50 2021 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Sun Sep 26 10:01:50 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70240b3e
gnome-extra/gnome-shell-extension-bluetooth-quick-connect: Bump to v23 Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> .../Manifest | 1 + ...ell-extension-bluetooth-quick-connect-23.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 4e6bf20def6..14328c2978b 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-20.tar.gz 20334 BLAKE2B 07998362457b4f8ccca56d22891d4998a00ba3eb8698d610778aa094df73f964a2e1bce1a1cf721b7ff037499a10b5356f3ba023fb4a04f898291a3bd7eb72a7 SHA512 947a181de76746a2a2f6d69984427b299f9e9f76c77e7e2afefd0e8c83f33226ff4c0b9a296252a21136feb481b5241d31a57f96360b9e8b1f911b043c7757b8 +DIST gnome-shell-extension-bluetooth-quick-connect-23.tar.gz 20319 BLAKE2B d43c8291de5e14922046ced9e3e097c925788f7af444ecceb52a175d71030a7583f3df61a2badeca6289ab9f5f2361710004e9e0ce2ff18627b4a7d667138443 SHA512 e13d95073a8450efdf68ae1ac2df8e60832ba6e7b7238514a9f5d799257167bc71c7fcd2a554ea8549a5e59e92d25f39ed10ebf251e15afa7a3d106695415aa8 diff --git a/gnome-extra/gnome-shell-extension-bluetooth-quick-connect/gnome-shell-extension-bluetooth-quick-connect-23.ebuild b/gnome-extra/gnome-shell-extension-bluetooth-quick-connect/gnome-shell-extension-bluetooth-quick-connect-23.ebuild new file mode 100644 index 00000000000..dcf84bd1baf --- /dev/null +++ b/gnome-extra/gnome-shell-extension-bluetooth-quick-connect/gnome-shell-extension-bluetooth-quick-connect-23.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +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 +}