summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2023-05-03 21:22:29 +0200
committerPacho Ramos <pacho@gentoo.org>2023-05-03 21:22:29 +0200
commitdca59ddaddaf89bb9c0baa21dc594d9477560b85 (patch)
tree257b8b790b4df4184262dd5b777ee3c1bacba4e4 /gnome-extra
parentdev-util/glade: Port to webkitgtk-4.1 (diff)
downloadgentoo-dca59ddaddaf89bb9c0baa21dc594d9477560b85.tar.gz
gentoo-dca59ddaddaf89bb9c0baa21dc594d9477560b85.tar.bz2
gentoo-dca59ddaddaf89bb9c0baa21dc594d9477560b85.zip
gnome-extra/gnome-shell-extension-bluetooth-quick-connect: add 36
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-36.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 19f1178532ac..972d089ce2a3 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-33.tar.gz 26460 BLAKE2B fac17c01c0498420f6b3f35d770c5272112577be8001174b4781640e7e2e91c71e14373cb662a4c92539ebb724dda0986b96bb1fc78d4c5770a458f5898afcb2 SHA512 3642c09c9975f38b11dd8605cfce2030bb8aa5921c6cd55957cc8061cf670ff94af2f650745a891bdb491cfc768fe93da948518dc99c07d531e27e29adcece87
+DIST gnome-shell-extension-bluetooth-quick-connect-36.tar.gz 27126 BLAKE2B 0fd5e166bb1c0bcd237e4fcb741581bc0bdb7e1be4ea90ab860de64b3a04064315c08697598286eee29b07c5f4689d86e80925cd3da3f77036480fbbde7c0d62 SHA512 fa72495e4e935d7f2751d6652d2e6e337a858db56ee56374a361810dd4e8a48ded38b533b6b1e2d975f1e732579e5b054b17d953db2f50a27f2b58ff147612d9
diff --git a/gnome-extra/gnome-shell-extension-bluetooth-quick-connect/gnome-shell-extension-bluetooth-quick-connect-36.ebuild b/gnome-extra/gnome-shell-extension-bluetooth-quick-connect/gnome-shell-extension-bluetooth-quick-connect-36.ebuild
new file mode 100644
index 000000000000..10aae10bee12
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-bluetooth-quick-connect/gnome-shell-extension-bluetooth-quick-connect-36.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2023 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-44
+"
+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
+}