Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-shell-extension-gsconnect/
Date: Tue, 01 Dec 2020 22:15:33
Message-Id: 1606860919.93b3f17604eac02f7af0805ef258fd474095cb22.pacho@gentoo
1 commit: 93b3f17604eac02f7af0805ef258fd474095cb22
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 1 21:56:24 2020 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 1 22:15:19 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93b3f176
7
8 gnome-extra/gnome-shell-extension-gsconnect: Bump to v44
9
10 Closes: https://bugs.gentoo.org/754369
11 Package-Manager: Portage-3.0.9, Repoman-3.0.2
12 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
13
14 .../gnome-shell-extension-gsconnect/Manifest | 1 +
15 .../gnome-shell-extension-gsconnect-44.ebuild | 68 ++++++++++++++++++++++
16 2 files changed, 69 insertions(+)
17
18 diff --git a/gnome-extra/gnome-shell-extension-gsconnect/Manifest b/gnome-extra/gnome-shell-extension-gsconnect/Manifest
19 index d92fbb4ae54..376d05a91b7 100644
20 --- a/gnome-extra/gnome-shell-extension-gsconnect/Manifest
21 +++ b/gnome-extra/gnome-shell-extension-gsconnect/Manifest
22 @@ -1,2 +1,3 @@
23 DIST gnome-shell-extension-gsconnect-41.tar.gz 614195 BLAKE2B ebcf9fca448e27fe0e74bf4118528a5f8f7055ea962d4e928feceaa3257e9ff6f286a2b11631468abac1355c2506a0d8923fe56d4370f37fd7e93fe7cd8e8d45 SHA512 12de97683e4bcbf49774b6b6f93803bb0d0005f3114a581ccd7a7219cc2cb27a0e7b10d45a162c879f27e058d99b791ce33425e465651fe1f4e93f1a332a0eaa
24 DIST gnome-shell-extension-gsconnect-42.tar.gz 729438 BLAKE2B 19aea0008487c5c316a6883da176ccba4bf31334abe1ce273cdba91d4fbacfa8a3e003909488e957486ea371043174eefd1ca990470f99ac4ff36ff73cd498cc SHA512 27965435ef9524021e3ce3825af73d9a8b7f602d8c73b524bcf247b6af47ad14b16e83815b1a30e148b109531fbe230e531e1a0b456f5f51c9c96a4c5a3b19a5
25 +DIST gnome-shell-extension-gsconnect-44.tar.gz 731896 BLAKE2B f4d51ca366bf6a3fe65713da516331a5e3beba19ed6fa22b7224be3c05433bdc125d80e04ac3a1da966ed4f671c6771a53b0cd3f94f7c81eea51f8a30415a5d6 SHA512 92ca5750772c64300c4b8760d4202a1e27d5e7f0fedc5672fd54b48e17de095b29fe0ce18df76619a2e3e3802bb4b77ffdc98b9b4987db3e9550251a61f8b832
26
27 diff --git a/gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-44.ebuild b/gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-44.ebuild
28 new file mode 100644
29 index 00000000000..a971cf00fd4
30 --- /dev/null
31 +++ b/gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-44.ebuild
32 @@ -0,0 +1,68 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +inherit gnome2-utils meson readme.gentoo-r1 xdg
38 +
39 +DESCRIPTION="KDE Connect implementation for Gnome Shell"
40 +HOMEPAGE="https://github.com/andyholmes/gnome-shell-extension-gsconnect"
41 +SRC_URI="https://github.com/andyholmes/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="GPL-2+"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE="nautilus"
47 +
48 +COMMON_DEPEND="dev-libs/glib:2"
49 +RDEPEND="${COMMON_DEPEND}
50 + app-eselect/eselect-gnome-shell-extensions
51 + >=dev-libs/gjs-1.48
52 + =gnome-base/gnome-shell-3.38*
53 + gnome-base/gvfs
54 + gnome-extra/evolution-data-server
55 + || ( media-libs/libcanberra media-libs/gsound )
56 + nautilus? (
57 + dev-python/nautilus-python
58 + gnome-base/nautilus[introspection] )
59 +"
60 +DEPEND="${COMMON_DEPEND}"
61 +BDEPEND="
62 + virtual/pkgconfig
63 +"
64 +
65 +DISABLE_AUTOFORMATTING="yes"
66 +DOC_CONTENTS="For knowing more about how to do the setup, please visit:
67 +https://github.com/andyholmes/gnome-shell-extension-gsconnect/wiki/Installation"
68 +
69 +src_configure() {
70 + # nemo support relies on nemo-python from https://github.com/linuxmint/nemo-extensions
71 + # https://bugs.gentoo.org/694388
72 + meson_src_configure \
73 + -Dinstalled_tests=false \
74 + -Dnemo=false \
75 + $(meson_use nautilus)
76 +}
77 +
78 +src_install() {
79 + meson_src_install
80 + readme.gentoo_create_doc
81 +}
82 +
83 +pkg_preinst() {
84 + gnome2_schemas_savelist
85 + xdg_pkg_preinst
86 +}
87 +
88 +pkg_postinst() {
89 + gnome2_schemas_update
90 + xdg_pkg_postinst
91 + ebegin "Updating list of installed extensions"
92 + eselect gnome-shell-extensions update
93 + eend $?
94 + readme.gentoo_print_elog
95 +}
96 +
97 +pkg_postrm() {
98 + gnome2_schemas_update
99 + xdg_pkg_postrm
100 +}