commit:     5342d486d5deb6ac3fa5aa9a4a9a9ede4daaeaa2
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 22 08:38:43 2025 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Nov 22 08:39:25 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5342d486

gnome-extra/gnome-shell-extension-gsconnect: add 71

Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 .../gnome-shell-extension-gsconnect/Manifest       |  1 +
 .../gnome-shell-extension-gsconnect-71.ebuild      | 77 ++++++++++++++++++++++
 2 files changed, 78 insertions(+)

diff --git a/gnome-extra/gnome-shell-extension-gsconnect/Manifest 
b/gnome-extra/gnome-shell-extension-gsconnect/Manifest
index d479e29a1493..0da5923c19bd 100644
--- a/gnome-extra/gnome-shell-extension-gsconnect/Manifest
+++ b/gnome-extra/gnome-shell-extension-gsconnect/Manifest
@@ -1,2 +1,3 @@
 DIST gnome-shell-extension-gsconnect-66.tar.gz 904279 BLAKE2B 
f0eef3817c8d263ef258435da0a5e951a490d139be1e0d9172505d8fbb17fa350910cb71ac0ba15e36eb6f90c0073e584acb41a452c6adb3243d1c7329d79eba
 SHA512 
6180ee259751121f88c5aa24c7a7f9c99963e2145200cfb3cd9ad5de68f8d5033e5d1c38263a901ea44bca41a7db6edcde2161905256625c6bb469fc614b8896
 DIST gnome-shell-extension-gsconnect-67.tar.gz 924626 BLAKE2B 
1f87b2bb99cefb74b06958d14fd137ba5670f8af9c1a8cf30671d370cf3cda3e3432fe4ebedc430b19f7be28dbe8b160f8e450d8dfe37e05a5217493a473b565
 SHA512 
99e0f2b8837816546205a792bc0a553605ceb5a95c6f9046d504819034abe36f62e7f31a9275f9412b1ff3c2fbf2a2c4b492d2afef67d57e379c9e22b788e00a
+DIST gnome-shell-extension-gsconnect-71.tar.gz 924602 BLAKE2B 
37bfac3495e02e147df497ba52d5c20bf0fad1265951d01d75902dc0d053c42f57bec7b5d0a64f63de58184a1c5e311e77b5f48738a095b8696c76de59150663
 SHA512 
5402bbcbb915d818b919dc008fc4508ab4d9ad726ec7fd68216bba7abf0158b221cb24151e511f050d20fc4ee443f7f7cfd0b50e6445f433548f2bab16d398b7

diff --git 
a/gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-71.ebuild
 
b/gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-71.ebuild
new file mode 100644
index 000000000000..c2bd94312f8a
--- /dev/null
+++ 
b/gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-71.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2025 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"
+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
+}

Reply via email to