Skip to content

Commit

Permalink
gnome-extra/gnome-shell-extension-gsconnect: Version bump to v28
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Pacho Ramos <[email protected]>
  • Loading branch information
pacho2 committed Nov 10, 2019
1 parent 1a19c39 commit e31a239
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
1 change: 1 addition & 0 deletions gnome-extra/gnome-shell-extension-gsconnect/Manifest
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
DIST gnome-shell-extension-gsconnect-26.tar.gz 303823 BLAKE2B 7fd112c032d717e87c7189a5f06b97a246216fa1895bb3d837c8b53c3312eed9a6999c20db3e98112cdacc309d56021920b78ebb387c55335fba1965b86c117f SHA512 c32469bf9c1b3903979b1e354d6c214807158f35d4824b60597639084064d23d194bda91a3a1cd5a99d7fdaf2bea48ad7f4c9aad3befb55e59694d195b7d8a9a
DIST gnome-shell-extension-gsconnect-27.tar.gz 312328 BLAKE2B 50be25e6d2bbbe14290ebe467505aaa5cfb37627c67dadae687dc498c1a07bfc66c9f920ae38db4011665392d603188ab3195cb89db1278e605dd07b4e8a8aa2 SHA512 17be32ada8c1e529a7f219cceb099cd15ad033a47e17788d2f33dacbd5dadea450b58b3c6013ab4e37d765374f1e9433f0b2ff06e8b803a4e5610cdb283ee560
DIST gnome-shell-extension-gsconnect-28.tar.gz 312814 BLAKE2B 217e32e799c6300764f23245c0d474b025918f78808c026175fd3262b4c463b913969290156782151828cdcb15647002e7c7b8bff926337960a78d6d98a16c77 SHA512 a806f6532e68544832dac47da1fdf23edb7625c6cac4ad7f1c1a1b0a5d69af159397bc6f2bb63a74907669db5ea192343b7d2fc8eb2992bcc6a1834cffe1fbba
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
inherit gnome2-utils meson readme.gentoo-r1

DESCRIPTION="KDE Connect implementation for Gnome Shell"
HOMEPAGE="https://github.com/andyholmes/gnome-shell-extension-gsconnect"
SRC_URI="https://github.com/andyholmes/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="nautilus"

COMMON_DEPEND="dev-libs/glib:2"
RDEPEND="${COMMON_DEPEND}
app-eselect/eselect-gnome-shell-extensions
>=dev-libs/gjs-1.48
>=gnome-base/gnome-shell-3.28
gnome-base/gvfs
|| ( ( net-libs/gnome-online-accounts dev-libs/libgdata ) dev-libs/folks )
|| ( media-libs/libcanberra media-libs/gsound )
nautilus? (
dev-python/nautilus-python
gnome-base/nautilus[introspection] )
"
DEPEND="${COMMON_DEPEND}"
BDEPEND="
>=dev-util/meson-0.49.0
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 \
-Dnemo=false \
$(meson_use nautilus)
}

src_install() {
meson_src_install
readme.gentoo_create_doc
}

pkg_preinst() {
gnome2_schemas_savelist
}

pkg_postinst() {
gnome2_schemas_update
ebegin "Updating list of installed extensions"
eselect gnome-shell-extensions update
eend $?
readme.gentoo_print_elog
}

pkg_postrm() {
gnome2_schemas_update
}

0 comments on commit e31a239

Please sign in to comment.