1 |
commit: fd8b30464d660cfab023919cecf5b247bd63cd3b |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 29 10:32:25 2022 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 29 10:42:45 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd8b3046 |
7 |
|
8 |
gnome-extra/gnome-shell-extension-weather-in-the-clock: New extension |
9 |
|
10 |
Simply shows gnome-weather information in the panel without relying on |
11 |
external tools |
12 |
|
13 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
14 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
15 |
|
16 |
.../Manifest | 1 + |
17 |
...-extension-weather-in-the-clock-20211108.ebuild | 49 ++++++++++++++++++++++ |
18 |
.../metadata.xml | 8 ++++ |
19 |
3 files changed, 58 insertions(+) |
20 |
|
21 |
diff --git a/gnome-extra/gnome-shell-extension-weather-in-the-clock/Manifest b/gnome-extra/gnome-shell-extension-weather-in-the-clock/Manifest |
22 |
new file mode 100644 |
23 |
index 000000000000..f1ca49884f6c |
24 |
--- /dev/null |
25 |
+++ b/gnome-extra/gnome-shell-extension-weather-in-the-clock/Manifest |
26 |
@@ -0,0 +1 @@ |
27 |
+DIST gnome-shell-extension-weather-in-the-clock-20211108.tar.gz 127000 BLAKE2B 9c884b7bf093ef29fcd1cf3aa58accb4d5f70fa38bf9bd0cc0cfb81564952de9c6b9f1dbead26dd3902cc09d3be42f30c8e813a8fecb33c3753f45abe833974e SHA512 bb16b470f9d0d7fdcd90d5ec4a2723a97d808d8341c816aacd973390201c5e63a71aec51efc9953903a70ad964e406a104b9029c3c08b25b7a333de3e673dd6e |
28 |
|
29 |
diff --git a/gnome-extra/gnome-shell-extension-weather-in-the-clock/gnome-shell-extension-weather-in-the-clock-20211108.ebuild b/gnome-extra/gnome-shell-extension-weather-in-the-clock/gnome-shell-extension-weather-in-the-clock-20211108.ebuild |
30 |
new file mode 100644 |
31 |
index 000000000000..1d7cf088c5ac |
32 |
--- /dev/null |
33 |
+++ b/gnome-extra/gnome-shell-extension-weather-in-the-clock/gnome-shell-extension-weather-in-the-clock-20211108.ebuild |
34 |
@@ -0,0 +1,49 @@ |
35 |
+# Copyright 1999-2022 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=8 |
39 |
+inherit gnome2-utils |
40 |
+ |
41 |
+DESCRIPTION="Display the current weather in the clock" |
42 |
+HOMEPAGE="https://github.com/JasonLG1979/gnome-shell-extension-weather-in-the-clock" |
43 |
+COMMIT="b36cc55bf41af1a4c801ddeb0fd71d1294892c4c" |
44 |
+SRC_URI="https://github.com/JasonLG1979/gnome-shell-extension-weather-in-the-clock/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="GPL-3+" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+IUSE="" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ app-eselect/eselect-gnome-shell-extensions |
53 |
+ >=gnome-base/gnome-shell-3.38 |
54 |
+ gnome-extra/gnome-weather |
55 |
+" |
56 |
+DEPEND="" |
57 |
+BDEPEND="" |
58 |
+ |
59 |
+extension_uuid="weatherintheclock@××××××××××××××××××.io" |
60 |
+S="${WORKDIR}/${PN}-${COMMIT}" |
61 |
+ |
62 |
+src_compile() { :; } |
63 |
+ |
64 |
+src_install() { |
65 |
+ einstalldocs |
66 |
+ insinto /usr/share/gnome-shell/extensions/ |
67 |
+ doins -r "${extension_uuid}" |
68 |
+} |
69 |
+ |
70 |
+pkg_preinst() { |
71 |
+ gnome2_schemas_savelist |
72 |
+} |
73 |
+ |
74 |
+pkg_postinst() { |
75 |
+ gnome2_schemas_update |
76 |
+ ebegin "Updating list of installed extensions" |
77 |
+ eselect gnome-shell-extensions update |
78 |
+ eend $? |
79 |
+} |
80 |
+ |
81 |
+pkg_postrm() { |
82 |
+ gnome2_schemas_update |
83 |
+} |
84 |
|
85 |
diff --git a/gnome-extra/gnome-shell-extension-weather-in-the-clock/metadata.xml b/gnome-extra/gnome-shell-extension-weather-in-the-clock/metadata.xml |
86 |
new file mode 100644 |
87 |
index 000000000000..3947e1bf6d57 |
88 |
--- /dev/null |
89 |
+++ b/gnome-extra/gnome-shell-extension-weather-in-the-clock/metadata.xml |
90 |
@@ -0,0 +1,8 @@ |
91 |
+<?xml version="1.0" encoding="UTF-8"?> |
92 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
93 |
+<pkgmetadata> |
94 |
+ <maintainer type="person"> |
95 |
+ <email>pacho@g.o</email> |
96 |
+ </maintainer> |
97 |
+ <stabilize-allarches/> |
98 |
+</pkgmetadata> |