diff options
author | Pacho Ramos <pacho@gentoo.org> | 2021-05-20 14:09:20 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2021-05-20 14:37:00 +0200 |
commit | 49866674ae932c2f122e695b2da0c0932b5f6f9b (patch) | |
tree | 7c0aae35c719c3092b36e28beb1ee840a5cdbadc /gnome-extra/gnome-shell-extension-bluetooth-quick-connect | |
parent | gnome-extra/gnome-shell-extension-bluetooth-quick-connect: Drop old (diff) | |
download | gentoo-49866674ae932c2f122e695b2da0c0932b5f6f9b.tar.gz gentoo-49866674ae932c2f122e695b2da0c0932b5f6f9b.tar.bz2 gentoo-49866674ae932c2f122e695b2da0c0932b5f6f9b.zip |
gnome-extra/gnome-shell-extension-bluetooth-quick-connect: Bump to v20
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'gnome-extra/gnome-shell-extension-bluetooth-quick-connect')
2 files changed, 51 insertions, 0 deletions
diff --git a/gnome-extra/gnome-shell-extension-bluetooth-quick-connect/Manifest b/gnome-extra/gnome-shell-extension-bluetooth-quick-connect/Manifest index 33359e9d9ea2..f77060c93f40 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-16.tar.gz 20053 BLAKE2B 37cf71c319a3715a7c5acb9835f1a480eb8b383e6dca48b3852ab949233137f963ee583d01e16d558bec02a9c7b604883c62e7c1b606624aecc82f7e83bbf297 SHA512 e9052d2199b8339e86b69dc317c26f23086131a6ecd8286d8058dddd185fb5cea4215fa3fb11e8b214f0a07a86cac2c45cdab1d83a529df3ab1991143b6cf53c +DIST gnome-shell-extension-bluetooth-quick-connect-20.tar.gz 20334 BLAKE2B 07998362457b4f8ccca56d22891d4998a00ba3eb8698d610778aa094df73f964a2e1bce1a1cf721b7ff037499a10b5356f3ba023fb4a04f898291a3bd7eb72a7 SHA512 947a181de76746a2a2f6d69984427b299f9e9f76c77e7e2afefd0e8c83f33226ff4c0b9a296252a21136feb481b5241d31a57f96360b9e8b1f911b043c7757b8 diff --git a/gnome-extra/gnome-shell-extension-bluetooth-quick-connect/gnome-shell-extension-bluetooth-quick-connect-20.ebuild b/gnome-extra/gnome-shell-extension-bluetooth-quick-connect/gnome-shell-extension-bluetooth-quick-connect-20.ebuild new file mode 100644 index 000000000000..b112e2e22c4e --- /dev/null +++ b/gnome-extra/gnome-shell-extension-bluetooth-quick-connect/gnome-shell-extension-bluetooth-quick-connect-20.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 ~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-connect@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 +} |