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-extensions-topicons-plus/
Date: Thu, 30 Apr 2020 18:17:18
Message-Id: 1588270629.8905d659e28063f90035a10e24dcb1de05e38f75.pacho@gentoo
1 commit: 8905d659e28063f90035a10e24dcb1de05e38f75
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 30 18:16:57 2020 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 30 18:17:09 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8905d659
7
8 gnome-extra/gnome-shell-extensions-topicons-plus: Bump to v27
9
10 Package-Manager: Portage-2.3.96, Repoman-2.3.22
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12
13 .../gnome-shell-extensions-topicons-plus/Manifest | 1 +
14 .../gnome-shell-extensions-topicons-plus-27.ebuild | 39 ++++++++++++++++++++++
15 2 files changed, 40 insertions(+)
16
17 diff --git a/gnome-extra/gnome-shell-extensions-topicons-plus/Manifest b/gnome-extra/gnome-shell-extensions-topicons-plus/Manifest
18 index 195f9204a7f..fd2ba0ff5b3 100644
19 --- a/gnome-extra/gnome-shell-extensions-topicons-plus/Manifest
20 +++ b/gnome-extra/gnome-shell-extensions-topicons-plus/Manifest
21 @@ -1 +1,2 @@
22 DIST gnome-shell-extensions-topicons-plus-22_p20190929.tar.gz 2759460 BLAKE2B 2eb001f472395ade58503a860d3ea8248bb8aeb36b4d6f13f65e1074694aecc02f814d18d449206e1055984177896ac787fd925b4cf2680f226ffaace042cc5d SHA512 47cb156f7a61780a53311855d716c4e4f539832080fc011db634b472b5a8aa0e9fad5b6f44bf2da30665cd97b850725822ee9fb9ed9da014388cf4adeee60fbe
23 +DIST gnome-shell-extensions-topicons-plus-27.tar.gz 2759687 BLAKE2B 854e5c8c1f749bdb3d8b83ac98d39ddcf22cfbe7221601a80b7b961c1d0dbe8ee2242ec5378c409c786957ff47602a7828fca55a09e7fa6225d4477a156a61de SHA512 3df28397bcefda7a43e6eaa520629f08a3538c98675243af2b1e109ec913d70b55f142169ad0035d0d29cacdf8f2c908eedf222e852591ed1dd5b6aa6b34591e
24
25 diff --git a/gnome-extra/gnome-shell-extensions-topicons-plus/gnome-shell-extensions-topicons-plus-27.ebuild b/gnome-extra/gnome-shell-extensions-topicons-plus/gnome-shell-extensions-topicons-plus-27.ebuild
26 new file mode 100644
27 index 00000000000..e4e9c847099
28 --- /dev/null
29 +++ b/gnome-extra/gnome-shell-extensions-topicons-plus/gnome-shell-extensions-topicons-plus-27.ebuild
30 @@ -0,0 +1,39 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +DESCRIPTION="Moves legacy tray icons to top panel"
37 +HOMEPAGE="https://extensions.gnome.org/extension/1031/topicons/"
38 +SRC_URI="https://github.com/phocean/TopIcons-plus/archive/${PV}.tar.gz -> ${P}.tar.gz"
39 +S="${WORKDIR}/TopIcons-plus-${PV}"
40 +
41 +LICENSE="GPL-2+"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~x86"
44 +IUSE=""
45 +
46 +# glib for glib-compile-schemas at build time, needed at runtime anyways
47 +DEPEND="
48 + dev-libs/glib:2
49 +"
50 +RDEPEND="${DEPEND}
51 + app-eselect/eselect-gnome-shell-extensions
52 + >=gnome-base/gnome-shell-3.34
53 +"
54 +BDEPEND=""
55 +
56 +src_install() {
57 + # TODO: Figure out if we can get the schemas to standard location, in a way that works properly runtime too
58 + make install INSTALL_PATH="${ED}/usr/share/gnome-shell/extensions/"
59 + rm "${ED}/usr/share/gnome-shell/extensions/TopIcons@×××××××.net/README.md" || die
60 + # Assuming it needs only compiled gettext catalogs at runtime
61 + rm "${ED}/usr/share/gnome-shell/extensions/TopIcons@×××××××.net/locale"/*/LC_MESSAGES/*.po || die
62 + dodoc README.md
63 +}
64 +
65 +pkg_postinst() {
66 + ebegin "Updating list of installed extensions"
67 + eselect gnome-shell-extensions update
68 + eend $?
69 +}