diff options
author | 2023-03-26 18:52:48 +0200 | |
---|---|---|
committer | 2023-03-26 18:53:09 +0200 | |
commit | 1e56c4c4e1e70c43c51fb90cede472559fb6d16d (patch) | |
tree | d8f4902c767b8b949d48e6953404d21d38b099ad /gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-55.ebuild | |
parent | net-mail/notmuch: Drop redundant NEED_EMACS (diff) | |
download | gentoo-1e56c4c4e1e70c43c51fb90cede472559fb6d16d.tar.gz gentoo-1e56c4c4e1e70c43c51fb90cede472559fb6d16d.tar.bz2 gentoo-1e56c4c4e1e70c43c51fb90cede472559fb6d16d.zip |
gnome-extra/gnome-shell-extension-gsconnect: add 55
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-55.ebuild')
-rw-r--r-- | gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-55.ebuild | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-55.ebuild b/gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-55.ebuild new file mode 100644 index 000000000000..39905e9e2009 --- /dev/null +++ b/gnome-extra/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect-55.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit gnome2-utils meson readme.gentoo-r1 xdg + +DESCRIPTION="KDE Connect implementation for Gnome Shell" +HOMEPAGE="https://github.com/GSConnect/gnome-shell-extension-gsconnect" +SRC_URI="https://github.com/GSConnect/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="nautilus" + +COMMON_DEPEND="dev-libs/glib:2" +RDEPEND="${COMMON_DEPEND} + app-eselect/eselect-gnome-shell-extensions + >=dev-libs/gjs-1.68 + =gnome-base/gnome-shell-44* + gnome-base/gvfs + gnome-extra/evolution-data-server + || ( media-libs/libcanberra media-libs/gsound ) + nautilus? ( + dev-python/nautilus-python + gnome-base/nautilus[introspection] ) +" +DEPEND="${COMMON_DEPEND}" +BDEPEND=" + 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() { + # nemo support relies on nemo-python from https://github.com/linuxmint/nemo-extensions + # https://bugs.gentoo.org/694388 + meson_src_configure \ + -Dinstalled_tests=false \ + -Dnemo=false \ + $(meson_use nautilus) +} + +src_install() { + meson_src_install + readme.gentoo_create_doc +} + +pkg_preinst() { + gnome2_schemas_savelist + xdg_pkg_preinst +} + +pkg_postinst() { + gnome2_schemas_update + xdg_pkg_postinst + ebegin "Updating list of installed extensions" + eselect gnome-shell-extensions update + eend $? + readme.gentoo_print_elog +} + +pkg_postrm() { + gnome2_schemas_update + xdg_pkg_postrm +} |