Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@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, 21 Sep 2017 18:29:57
Message-Id: 1506018501.5e7df26d472f0c94a6d8da608003cb9da6ebc72b.leio@gentoo
1 commit: 5e7df26d472f0c94a6d8da608003cb9da6ebc72b
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 21 18:28:21 2017 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 21 18:28:21 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e7df26d
7
8 gnome-extra/gnome-shell-extensions-topicons-plus: bump to v21 for bug fixes and GNOME 3.26 compat
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 .../gnome-shell-extensions-topicons-plus/Manifest | 1 +
13 .../gnome-shell-extensions-topicons-plus-21.ebuild | 44 ++++++++++++++++++++++
14 2 files changed, 45 insertions(+)
15
16 diff --git a/gnome-extra/gnome-shell-extensions-topicons-plus/Manifest b/gnome-extra/gnome-shell-extensions-topicons-plus/Manifest
17 index 3e115eb89f0..51045238a0a 100644
18 --- a/gnome-extra/gnome-shell-extensions-topicons-plus/Manifest
19 +++ b/gnome-extra/gnome-shell-extensions-topicons-plus/Manifest
20 @@ -1 +1,2 @@
21 DIST gnome-shell-extensions-topicons-plus-20.tar.gz 6173720 SHA256 02ffe087b390b277ce3245b3db675977dad0ed5b6503d719e6e868d8a3082825 SHA512 89feaf4a42f1785c7667ba451efddce2322599c5441bfe66c8bcc72fa3c07bbc2535e34db5383ab9c5b38a61f83ec6ef245473f2c269708e4042684f2d7a07bc WHIRLPOOL 0ccba7837700964e730ab07c8fdac5795b08aab884fa0feab56789e0a5b8166ed864836a383baa01be86c49969a409c4d3b92f2a6653eaeb0387114352e245ca
22 +DIST gnome-shell-extensions-topicons-plus-21.tar.gz 2756641 SHA256 92c0865dff0bba89b64fa8a7808a29294bf6904430336c7cb13f51b823f74a13 SHA512 f85db46f20c24f0b11ce2c79c0548b88262faf059d674073e328917dc8497de0e07ccd6f3613f45aa9e49109468d78293f3a8f0f4fea5a24a7c5254666cda5df WHIRLPOOL 56c9933775ba9d10ee6bb383cf60ca76430ee97a6b22f238ef4b64892aecb61a8e523cd3e65ac6857a7e5d32c54d28bfcb4f8da1a6eca1df23e65afe8233ef6f
23
24 diff --git a/gnome-extra/gnome-shell-extensions-topicons-plus/gnome-shell-extensions-topicons-plus-21.ebuild b/gnome-extra/gnome-shell-extensions-topicons-plus/gnome-shell-extensions-topicons-plus-21.ebuild
25 new file mode 100644
26 index 00000000000..7639cc3ca8a
27 --- /dev/null
28 +++ b/gnome-extra/gnome-shell-extensions-topicons-plus/gnome-shell-extensions-topicons-plus-21.ebuild
29 @@ -0,0 +1,44 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +inherit vcs-snapshot
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/v${PV}.tar.gz -> ${P}.tar.gz"
39 +
40 +LICENSE="GPL-2+"
41 +SLOT="0"
42 +KEYWORDS="~amd64 ~x86"
43 +IUSE=""
44 +
45 +# glib for glib-compile-schemas at build time, needed at runtime anyways
46 +COMMON_DEPEND="
47 + dev-libs/glib:2
48 +"
49 +RDEPEND="${COMMON_DEPEND}
50 + app-eselect/eselect-gnome-shell-extensions
51 + >=gnome-base/gnome-shell-3.16
52 +"
53 +DEPEND="${COMMON_DEPEND}"
54 +
55 +#src_compile() {
56 + # It redoes this with "make install" later due to a dumb Makefile, so don't bother
57 + #make build
58 +#}
59 +
60 +src_install() {
61 + # TODO: Figure out if we can get the schemas to standard location, in a way that works properly runtime too
62 + make install INSTALL_PATH="${ED}usr/share/gnome-shell/extensions/"
63 + rm "${ED}/usr/share/gnome-shell/extensions/TopIcons@×××××××.net/README.md" || die
64 + # Assuming it needs only compiled gettext catalogs at runtime
65 + rm "${ED}/usr/share/gnome-shell/extensions/TopIcons@×××××××.net/locale"/*/LC_MESSAGES/*.po || die
66 + dodoc README.md
67 +}
68 +
69 +pkg_postinst() {
70 + ebegin "Updating list of installed extensions"
71 + eselect gnome-shell-extensions update
72 + eend $?
73 +}