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