1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 inherit gnome2-utils meson readme.gentoo-r1
7 DESCRIPTION="KDE Connect implementation for Gnome Shell"
8 HOMEPAGE="https://github.com/andyholmes/gnome-shell-extension-gsconnect"
9 SRC_URI="https://github.com/andyholmes/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
16 COMMON_DEPEND="dev-libs/glib:2"
17 RDEPEND="${COMMON_DEPEND}
18 app-eselect/eselect-gnome-shell-extensions
20 =gnome-base/gnome-shell-3.34*
22 gnome-extra/evolution-data-server
23 || ( media-libs/libcanberra media-libs/gsound )
25 dev-python/nautilus-python
26 gnome-base/nautilus[introspection] )
28 DEPEND="${COMMON_DEPEND}"
33 DISABLE_AUTOFORMATTING="yes"
34 DOC_CONTENTS="For knowing more about how to do the setup, please visit:
35 https://github.com/andyholmes/gnome-shell-extension-gsconnect/wiki/Installation"
38 # Shell Notifications: set a limit of 10 notifications from GSConnect
39 "${FILESDIR}/${P}-notifications-limit.patch"
43 # nemo support relies on nemo-python from https://github.com/linuxmint/nemo-extensions
44 # https://bugs.gentoo.org/694388
52 readme.gentoo_create_doc
56 gnome2_schemas_savelist
61 ebegin "Updating list of installed extensions"
62 eselect gnome-shell-extensions update
64 readme.gentoo_print_elog