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