summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2021-06-22 18:43:26 +0200
committerPacho Ramos <pacho@gentoo.org>2021-06-22 18:43:33 +0200
commit72af9bba3599c573c1997c3f811725d4fdb61833 (patch)
tree4514665350d63d2598a7d39a9386f1c86fd575b4 /gnome-extra
parentdev-python/pandas: Bump to 1.2.5 (diff)
downloadgentoo-72af9bba3599c573c1997c3f811725d4fdb61833.tar.gz
gentoo-72af9bba3599c573c1997c3f811725d4fdb61833.tar.bz2
gentoo-72af9bba3599c573c1997c3f811725d4fdb61833.zip
gnome-extra/gnome-shell-extension-gsconnect: Bump to v47
Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/gnome-shell-extension-gsconnect/Manifest1
-rw-r--r--gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-47.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/gnome-extra/gnome-shell-extension-gsconnect/Manifest b/gnome-extra/gnome-shell-extension-gsconnect/Manifest
index c6d04415d0f1..654d797bd9e5 100644
--- a/gnome-extra/gnome-shell-extension-gsconnect/Manifest
+++ b/gnome-extra/gnome-shell-extension-gsconnect/Manifest
@@ -1 +1,2 @@
DIST gnome-shell-extension-gsconnect-46.tar.gz 735155 BLAKE2B 86a7288953fe6001cfa15277dcc38feac3dd63fc60b8cca86dd95632b4d022587654393c3e6386a7e2cf7ad3af409efbae2e5ffe49eb36a9093887d0848cb080 SHA512 584348407a0f41f4317f52cddc1cc7e1e622fdd765e3eaa0b8012cc4bf46c09adedc97f9701a8c94aaa63dcd46d20fae35f49bfabe8c0d4abb4b407d8ac2c199
+DIST gnome-shell-extension-gsconnect-47.tar.gz 737392 BLAKE2B d2f09ae4650c17cf9f5ef90c18beb2ff46c3c077d27e4ea11fdb5f41522cb231aea47b168848c5da2c0ae35fbd1df734fa11f13c38abbde2ccab585137b7e116 SHA512 c1e900b225cda8edbcc1b3a16883b58d09a110b67cb503f3e7e71f8e0abafb565081528958cbd44e5685a1de2d7f54cee88a87a8e35f2344571eab8935b80c91
diff --git a/gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-47.ebuild b/gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-47.ebuild
new file mode 100644
index 000000000000..c046c64ae00b
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-47.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit gnome2-utils meson readme.gentoo-r1 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 ~x86"
+IUSE="nautilus"
+
+COMMON_DEPEND="dev-libs/glib:2"
+RDEPEND="${COMMON_DEPEND}
+ app-eselect/eselect-gnome-shell-extensions
+ >=dev-libs/gjs-1.68
+ =gnome-base/gnome-shell-40*
+ 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/andyholmes/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_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
+}