summaryrefslogtreecommitdiff
path: root/gnome-extra/gnome-shell-extension-gsconnect
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-03 02:07:18 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-03 02:07:18 +0000
commit7f4b508a2da3c371c7e770aa6ab83b0c4237cd1c (patch)
tree81d78cbf05f5daa7d57418d32f44b0149a56a765 /gnome-extra/gnome-shell-extension-gsconnect
parentd4f65848c7ecabb56e2f93889cbd20078cd347f7 (diff)
gentoo auto-resync : 03:12:2024 - 02:07:18
Diffstat (limited to 'gnome-extra/gnome-shell-extension-gsconnect')
-rw-r--r--gnome-extra/gnome-shell-extension-gsconnect/Manifest2
-rw-r--r--gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-58.ebuild77
2 files changed, 79 insertions, 0 deletions
diff --git a/gnome-extra/gnome-shell-extension-gsconnect/Manifest b/gnome-extra/gnome-shell-extension-gsconnect/Manifest
index b80a3c05dc88..f29899d3be0d 100644
--- a/gnome-extra/gnome-shell-extension-gsconnect/Manifest
+++ b/gnome-extra/gnome-shell-extension-gsconnect/Manifest
@@ -1,3 +1,5 @@
DIST gnome-shell-extension-gsconnect-56.tar.gz 876272 BLAKE2B a389ad50585bed2826f6a4b12552c5d6ff431bf4674d23710c992eb4a89cd3ecc363cddb90a2e14c65f14061a4be1c43ab956e3646b814de454d32ef08e9cf91 SHA512 3db4703f6cef3a389b4a05867725fc1c29fa18b38fd0696922c8110b3efa181dee892ebc89586538d8425de81ce3d81e6541eae685601dbdc6c8b160c1826e47
+DIST gnome-shell-extension-gsconnect-58.tar.gz 899868 BLAKE2B c39e6d82792b9e612d68fc98460b801b51ed8087a94d8eee949ff99a15f058d08842e4b4a3f22050c61ee0d71f1e58aa2574efd9fe685e267afb90492793bce1 SHA512 bc69455271afd51ccb861c66edd21b37bac449e003c560707ab30e2e062ca89f9caa60d697543d81c1c387b54a1f34912be522067b14b953a79a2e089a2612f4
EBUILD gnome-shell-extension-gsconnect-56.ebuild 1666 BLAKE2B 2cbefba672e9817cdc71621d83dffc015eff8a6f5b2ecced878b97318097985792f5a59d17ed5c24bfd15d1cd50b516c3db918a7ac7608b935409ba3011efe77 SHA512 e4d605c0623d1c35d8e6c05af53fab08c9f4d113cc4e9f05dd6b63bf2fde33cf27c2bba859fbaa037cad763e827ab1b07bc398305d6fdd3b932223c5985a7f56
+EBUILD gnome-shell-extension-gsconnect-58.ebuild 1868 BLAKE2B 00e3eda8e5b88e8bb61412378c2781a94eed3ac24245201d623fa4d3aca7faf61c6c8efe507eae3c5c0a600fae471a6b3c5171947f76565ffc87d180eccf8ce1 SHA512 0b065b74d193d6a0e90f4a491bcc1ccaab4e2eecd1cf4d1d12201a4687a75441e49de62cf23107e2fc4d19cfabbb81c059e0097917dab9345b3bba1d31969af5
MISC metadata.xml 452 BLAKE2B 02c45d13a2b727e30dd453b3c2fa3c516eb274aaacc07d61eb64fe58d2d08b6cae80222e5b2a1e17e8052b6ebaa68f746cf7967bd40beb48af482c9132e58271 SHA512 02d9c013882ebc191cc9ecf62f9b5362b15e547cf8a080a91fa9b3332fc9adc7eb61602cbc78c8964df736d0245efd2fd8cedc5ccd0d862b3d014dc7df242deb
diff --git a/gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-58.ebuild b/gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-58.ebuild
new file mode 100644
index 000000000000..2b8ff9879e7b
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-58.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit gnome2-utils meson readme.gentoo-r1 virtualx xdg
+
+DESCRIPTION="KDE Connect implementation for Gnome Shell"
+HOMEPAGE="https://github.com/GSConnect/gnome-shell-extension-gsconnect"
+SRC_URI="https://github.com/GSConnect/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="nautilus"
+
+# Upstream broke them and now they need to be run after pkg is installed or
+# a container needs to be used:
+# https://github.com/GSConnect/gnome-shell-extension-gsconnect/issues/1786
+RESTRICT="test"
+
+COMMON_DEPEND="dev-libs/glib:2"
+RDEPEND="${COMMON_DEPEND}
+ app-eselect/eselect-gnome-shell-extensions
+ >=dev-libs/gjs-1.68
+ >=gnome-base/gnome-shell-46
+ gnome-base/gvfs
+ gnome-extra/evolution-data-server
+ || ( media-libs/libcanberra media-libs/gsound )
+ nautilus? (
+ dev-python/nautilus-python
+ gnome-base/nautilus[introspection] )
+"
+DEPEND="${COMMON_DEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+DISABLE_AUTOFORMATTING="yes"
+DOC_CONTENTS="For knowing more about how to do the setup, please visit:
+https://github.com/GSConnect/gnome-shell-extension-gsconnect/wiki/Installation"
+
+src_configure() {
+ # nemo support relies on nemo-python from https://github.com/linuxmint/nemo-extensions
+ # https://bugs.gentoo.org/694388
+ meson_src_configure \
+ -Dinstalled_tests=false \
+ -Dnemo=false \
+ $(meson_use nautilus)
+}
+
+src_test() {
+ virtx meson_src_test
+}
+
+src_install() {
+ meson_src_install
+ readme.gentoo_create_doc
+}
+
+pkg_preinst() {
+ gnome2_schemas_savelist
+ xdg_pkg_preinst
+}
+
+pkg_postinst() {
+ gnome2_schemas_update
+ xdg_pkg_postinst
+ ebegin "Updating list of installed extensions"
+ eselect gnome-shell-extensions update
+ eend $?
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ gnome2_schemas_update
+ xdg_pkg_postrm
+}