summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2019-03-09 11:53:09 +0100
committerPacho Ramos <pacho@gentoo.org>2019-03-09 12:29:09 +0100
commitf26c6eab73221eb32f48ed4340ca8ff22fe2d31c (patch)
tree7277aded0c9eade766173948853953e6f841628e /gnome-extra
parentdev-python/jsonschema: Version bump (diff)
downloadgentoo-f26c6eab73221eb32f48ed4340ca8ff22fe2d31c.tar.gz
gentoo-f26c6eab73221eb32f48ed4340ca8ff22fe2d31c.tar.bz2
gentoo-f26c6eab73221eb32f48ed4340ca8ff22fe2d31c.zip
gnome-extra/gnome-shell-extension-gsconnect: Bump to v20
Closes: https://bugs.gentoo.org/679536 Package-Manager: Portage-2.3.62, Repoman-2.3.12 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-20.ebuild61
-rw-r--r--gnome-extra/gnome-shell-extension-gsconnect/metadata.xml3
3 files changed, 65 insertions, 0 deletions
diff --git a/gnome-extra/gnome-shell-extension-gsconnect/Manifest b/gnome-extra/gnome-shell-extension-gsconnect/Manifest
index 3b4caf99b7ff..b89557579126 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-12.tar.gz 1034122 BLAKE2B dc9e4003532bbb500c81d2bd0d2a715f60bb5c70b6bcf3286ebd8b2219d511f51e63c93ef30b0b71ced720531c811462f3b343d9a9eaa07ef4a56a498e5c497f SHA512 3b88aa7ff6e55556a6e438376c578a007d41d266dc91f6d56dfccde217bd0ede7ed40c10b05903582d9bde392f0a375f34b1fbdfd1aae0204f46b9d7e6c246ef
+DIST gnome-shell-extension-gsconnect-20.tar.gz 282464 BLAKE2B 1d0949a34f209f85ebe857494ef94ca429755c13d4988f5ef965f90194b7fad2d37ba0ebfb65ddb2df0db8aba17f27ca400e19755e528cf445dc1cd2b5a8b9d5 SHA512 7db21a580593f429eb7d89054d6ec5e867d33ddc36e29a7e08ba54be8941cc507f081539fdbb0b14bd9ef3c6461964f02e23c12136f475c683c90685e4ea1354
diff --git a/gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-20.ebuild b/gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-20.ebuild
new file mode 100644
index 000000000000..8f9bd59c0ad3
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-20.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit gnome2-utils meson readme.gentoo-r1
+
+DESCRIPTION="KDE Connect implementation for Gnome Shell"
+HOMEPAGE="https://github.com/andyholmes/gnome-shell-extension-gsconnect"
+SRC_URI="https://github.com/andyholmes/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="nautilus"
+
+COMMON_DEPEND="dev-libs/glib:2"
+
+RDEPEND="${COMMON_DEPEND}
+ app-eselect/eselect-gnome-shell-extensions
+ >=dev-libs/gjs-1.48
+ >=gnome-base/gnome-shell-3.28
+ net-fs/sshfs
+ || ( ( net-libs/gnome-online-accounts dev-libs/libgdata ) dev-libs/folks )
+ || ( media-libs/libcanberra media-libs/gsound )
+ nautilus? (
+ dev-python/nautilus-python
+ gnome-base/nautilus[introspection] )
+"
+DEPEND="${COMMON_DEPEND}
+ 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() {
+ meson_src_configure \
+ $(meson_use nautilus)
+}
+
+src_install() {
+ meson_src_install
+ readme.gentoo_create_doc
+}
+
+pkg_preinst() {
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ gnome2_schemas_update
+ ebegin "Updating list of installed extensions"
+ eselect gnome-shell-extensions update
+ eend $?
+ readme.gentoo_print_elog
+}
+
+pkg_postrm() {
+ gnome2_schemas_update
+}
diff --git a/gnome-extra/gnome-shell-extension-gsconnect/metadata.xml b/gnome-extra/gnome-shell-extension-gsconnect/metadata.xml
index 020b40648ee8..61da47d8257f 100644
--- a/gnome-extra/gnome-shell-extension-gsconnect/metadata.xml
+++ b/gnome-extra/gnome-shell-extension-gsconnect/metadata.xml
@@ -4,4 +4,7 @@
<maintainer type="person">
<email>pacho@gentoo.org</email>
</maintainer>
+ <use>
+ <flag name="nautilus">Install Nautilus extension for sending files via GSConnect</flag>
+ </use>
</pkgmetadata>