summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2022-10-02 10:54:48 +0200
committerPacho Ramos <pacho@gentoo.org>2022-10-02 10:54:48 +0200
commitd12c887640a27960e8801d5a1a669ce2609afb2e (patch)
tree9298fcd59e02a9a4bf21572566d9d46e21f50690 /gnome-extra
parentgnome-extra/gnome-shell-extension-applications-overview-tooltip: add 16 (diff)
downloadgentoo-d12c887640a27960e8801d5a1a669ce2609afb2e.tar.gz
gentoo-d12c887640a27960e8801d5a1a669ce2609afb2e.tar.bz2
gentoo-d12c887640a27960e8801d5a1a669ce2609afb2e.zip
gnome-extra/gnome-shell-extension-bluetooth-quick-connect: add 30
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/gnome-shell-extension-bluetooth-quick-connect/Manifest1
-rw-r--r--gnome-extra/gnome-shell-extension-bluetooth-quick-connect/gnome-shell-extension-bluetooth-quick-connect-30.ebuild50
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 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-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
+}