* [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-shell-extension-weather-in-the-clock/, ...
@ 2024-12-02 13:00 Pacho Ramos
0 siblings, 0 replies; 3+ messages in thread
From: Pacho Ramos @ 2024-12-02 13:00 UTC (permalink / raw
To: gentoo-commits
commit: 7925e55a052ee8b0712b486cfea4d1c8bb4baa96
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 2 12:39:56 2024 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Mon Dec 2 12:59:33 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7925e55a
gnome-extra/gnome-shell-extension-weather-in-the-clock: Support gnome 46
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
...l-extension-weather-in-the-clock-gnome-46.patch | 76 ++++++++++++++++++++++
...tension-weather-in-the-clock-20221024-r3.ebuild | 54 +++++++++++++++
2 files changed, 130 insertions(+)
diff --git a/gnome-extra/gnome-shell-extension-weather-in-the-clock/files/gnome-shell-extension-weather-in-the-clock-gnome-46.patch b/gnome-extra/gnome-shell-extension-weather-in-the-clock/files/gnome-shell-extension-weather-in-the-clock-gnome-46.patch
new file mode 100644
index 000000000000..ce8ebccfee8e
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-weather-in-the-clock/files/gnome-shell-extension-weather-in-the-clock-gnome-46.patch
@@ -0,0 +1,76 @@
+From 42e6018943de5154971871f33599a66f10c17f26 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?=D0=9E=D0=BB=D0=B5=D0=B3=20=D0=9C=D0=BE=D1=80=D0=BE=D0=B7?=
+ =?UTF-8?q?=D0=BE=D0=B2?= <mopo3ilo@gmail.com>
+Date: Thu, 12 Oct 2023 23:30:58 +0300
+Subject: [PATCH] Gnome 45 support
+
+---
+ .../extension.js | 37 +++++++++++--------
+ .../metadata.json | 2 +-
+ 2 files changed, 22 insertions(+), 17 deletions(-)
+
+diff --git a/weatherintheclock@JasonLG1979.github.io/extension.js b/weatherintheclock@JasonLG1979.github.io/extension.js
+index 7b097a4..dcb08b9 100644
+--- a/weatherintheclock@JasonLG1979.github.io/extension.js
++++ b/weatherintheclock@JasonLG1979.github.io/extension.js
+@@ -18,27 +18,32 @@
+ * If this extension breaks your desktop you get to keep all of the pieces...
+ */
+
+-const {Clutter, GLib, GObject, St} = imports.gi;
+-const [major, minor] = imports.misc.config.PACKAGE_VERSION.split('.').map(s => Number(s));
++import Clutter from "gi://Clutter";
++import GLib from "gi://GLib";
++import GObject from "gi://GObject";
++import St from "gi://St";
++import * as Main from "resource:///org/gnome/shell/ui/main.js";
+
+ let panelWeather = null;
+
+-function enable() {
+- if (!panelWeather) {
+- let statusArea = imports.ui.main.panel.statusArea;
+- let dateMenu = statusArea.dateMenu;
+- let weather = dateMenu._weatherItem._weatherClient;
+- let network = (major < 43) ? statusArea.aggregateMenu._network : statusArea.quickSettings._network;
+- let networkIcon = network ? network._primaryIndicator : null;
+- panelWeather = new PanelWeather(weather, networkIcon);
+- dateMenu.get_first_child().insert_child_above(panelWeather, dateMenu._clockDisplay);
++export default class weatherInTheClock {
++ enable() {
++ if (!panelWeather) {
++ let statusArea = Main.panel.statusArea;
++ let dateMenu = statusArea.dateMenu;
++ let weather = dateMenu._weatherItem._weatherClient;
++ let network = statusArea.quickSettings._network;
++ let networkIcon = network ? network._primaryIndicator : null;
++ panelWeather = new PanelWeather(weather, networkIcon);
++ dateMenu.get_first_child().insert_child_above(panelWeather, dateMenu._clockDisplay);
++ }
+ }
+-}
+
+-function disable() {
+- if (panelWeather) {
+- panelWeather.destroy();
+- panelWeather = null;
++ disable() {
++ if (panelWeather) {
++ panelWeather.destroy();
++ panelWeather = null;
++ }
+ }
+ }
+
+diff --git a/weatherintheclock@JasonLG1979.github.io/metadata.json b/weatherintheclock@JasonLG1979.github.io/metadata.json
+index 2566fc3..1151690 100644
+--- a/weatherintheclock@JasonLG1979.github.io/metadata.json
++++ b/weatherintheclock@JasonLG1979.github.io/metadata.json
+@@ -3,6 +3,6 @@
+ "name": "Weather In The Clock",
+ "description": "Display the current Weather in the Clock. GNOME Weather is required for this extension to function.",
+ "original-author": "JasonLG1979@github.io",
+-"shell-version": ["3.38", "40", "41", "42", "43"],
++"shell-version": ["45", "46"],
+ "url": "https://github.com/JasonLG1979/gnome-shell-extension-weather-in-the-clock/"
+ }
diff --git a/gnome-extra/gnome-shell-extension-weather-in-the-clock/gnome-shell-extension-weather-in-the-clock-20221024-r3.ebuild b/gnome-extra/gnome-shell-extension-weather-in-the-clock/gnome-shell-extension-weather-in-the-clock-20221024-r3.ebuild
new file mode 100644
index 000000000000..fec095da6dc4
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-weather-in-the-clock/gnome-shell-extension-weather-in-the-clock-20221024-r3.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit gnome2-utils
+
+DESCRIPTION="Display the current weather in the clock"
+HOMEPAGE="https://github.com/JasonLG1979/gnome-shell-extension-weather-in-the-clock"
+COMMIT="38ba36090961a37260215ae04f4a7e0a1377da95"
+SRC_URI="https://github.com/JasonLG1979/gnome-shell-extension-weather-in-the-clock/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ app-eselect/eselect-gnome-shell-extensions
+ >=gnome-base/gnome-shell-45
+ gnome-extra/gnome-weather
+"
+DEPEND=""
+BDEPEND=""
+
+extension_uuid="weatherintheclock@JasonLG1979.github.io"
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+PATCHES=(
+ # https://github.com/JasonLG1979/gnome-shell-extension-weather-in-the-clock/pull/32
+ "${FILESDIR}/${PN}-gnome-46.patch"
+)
+
+src_compile() { :; }
+
+src_install() {
+ einstalldocs
+ insinto /usr/share/gnome-shell/extensions/
+ doins -r "${extension_uuid}"
+}
+
+pkg_preinst() {
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ gnome2_schemas_update
+ ebegin "Updating list of installed extensions"
+ eselect gnome-shell-extensions update
+ eend $?
+}
+
+pkg_postrm() {
+ gnome2_schemas_update
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-shell-extension-weather-in-the-clock/, ...
@ 2025-01-26 17:32 Pacho Ramos
0 siblings, 0 replies; 3+ messages in thread
From: Pacho Ramos @ 2025-01-26 17:32 UTC (permalink / raw
To: gentoo-commits
commit: 3454ff4a592901bcfa1d0e70bb3a842bca1cd5cb
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 26 17:25:45 2025 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Jan 26 17:27:31 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3454ff4a
gnome-extra/gnome-shell-extension-weather-in-the-clock: Support gnome 47
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
...l-extension-weather-in-the-clock-gnome-47.patch | 76 ++++++++++++++++++++++
...tension-weather-in-the-clock-20221024-r4.ebuild | 51 +++++++++++++++
2 files changed, 127 insertions(+)
diff --git a/gnome-extra/gnome-shell-extension-weather-in-the-clock/files/gnome-shell-extension-weather-in-the-clock-gnome-47.patch b/gnome-extra/gnome-shell-extension-weather-in-the-clock/files/gnome-shell-extension-weather-in-the-clock-gnome-47.patch
new file mode 100644
index 000000000000..22d6ff18f347
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-weather-in-the-clock/files/gnome-shell-extension-weather-in-the-clock-gnome-47.patch
@@ -0,0 +1,76 @@
+From 42e6018943de5154971871f33599a66f10c17f26 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?=D0=9E=D0=BB=D0=B5=D0=B3=20=D0=9C=D0=BE=D1=80=D0=BE=D0=B7?=
+ =?UTF-8?q?=D0=BE=D0=B2?= <mopo3ilo@gmail.com>
+Date: Thu, 12 Oct 2023 23:30:58 +0300
+Subject: [PATCH] Gnome 45 support
+
+---
+ .../extension.js | 37 +++++++++++--------
+ .../metadata.json | 2 +-
+ 2 files changed, 22 insertions(+), 17 deletions(-)
+
+diff --git a/weatherintheclock@JasonLG1979.github.io/extension.js b/weatherintheclock@JasonLG1979.github.io/extension.js
+index 7b097a4..dcb08b9 100644
+--- a/weatherintheclock@JasonLG1979.github.io/extension.js
++++ b/weatherintheclock@JasonLG1979.github.io/extension.js
+@@ -18,27 +18,32 @@
+ * If this extension breaks your desktop you get to keep all of the pieces...
+ */
+
+-const {Clutter, GLib, GObject, St} = imports.gi;
+-const [major, minor] = imports.misc.config.PACKAGE_VERSION.split('.').map(s => Number(s));
++import Clutter from "gi://Clutter";
++import GLib from "gi://GLib";
++import GObject from "gi://GObject";
++import St from "gi://St";
++import * as Main from "resource:///org/gnome/shell/ui/main.js";
+
+ let panelWeather = null;
+
+-function enable() {
+- if (!panelWeather) {
+- let statusArea = imports.ui.main.panel.statusArea;
+- let dateMenu = statusArea.dateMenu;
+- let weather = dateMenu._weatherItem._weatherClient;
+- let network = (major < 43) ? statusArea.aggregateMenu._network : statusArea.quickSettings._network;
+- let networkIcon = network ? network._primaryIndicator : null;
+- panelWeather = new PanelWeather(weather, networkIcon);
+- dateMenu.get_first_child().insert_child_above(panelWeather, dateMenu._clockDisplay);
++export default class weatherInTheClock {
++ enable() {
++ if (!panelWeather) {
++ let statusArea = Main.panel.statusArea;
++ let dateMenu = statusArea.dateMenu;
++ let weather = dateMenu._weatherItem._weatherClient;
++ let network = statusArea.quickSettings._network;
++ let networkIcon = network ? network._primaryIndicator : null;
++ panelWeather = new PanelWeather(weather, networkIcon);
++ dateMenu.get_first_child().insert_child_above(panelWeather, dateMenu._clockDisplay);
++ }
+ }
+-}
+
+-function disable() {
+- if (panelWeather) {
+- panelWeather.destroy();
+- panelWeather = null;
++ disable() {
++ if (panelWeather) {
++ panelWeather.destroy();
++ panelWeather = null;
++ }
+ }
+ }
+
+diff --git a/weatherintheclock@JasonLG1979.github.io/metadata.json b/weatherintheclock@JasonLG1979.github.io/metadata.json
+index 2566fc3..1151690 100644
+--- a/weatherintheclock@JasonLG1979.github.io/metadata.json
++++ b/weatherintheclock@JasonLG1979.github.io/metadata.json
+@@ -3,6 +3,6 @@
+ "name": "Weather In The Clock",
+ "description": "Display the current Weather in the Clock. GNOME Weather is required for this extension to function.",
+ "original-author": "JasonLG1979@github.io",
+-"shell-version": ["3.38", "40", "41", "42", "43"],
++"shell-version": ["45", "46", "47"],
+ "url": "https://github.com/JasonLG1979/gnome-shell-extension-weather-in-the-clock/"
+ }
diff --git a/gnome-extra/gnome-shell-extension-weather-in-the-clock/gnome-shell-extension-weather-in-the-clock-20221024-r4.ebuild b/gnome-extra/gnome-shell-extension-weather-in-the-clock/gnome-shell-extension-weather-in-the-clock-20221024-r4.ebuild
new file mode 100644
index 000000000000..60cb9e1d0402
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-weather-in-the-clock/gnome-shell-extension-weather-in-the-clock-20221024-r4.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit gnome2-utils
+
+DESCRIPTION="Display the current weather in the clock"
+HOMEPAGE="https://github.com/JasonLG1979/gnome-shell-extension-weather-in-the-clock"
+COMMIT="38ba36090961a37260215ae04f4a7e0a1377da95"
+SRC_URI="https://github.com/JasonLG1979/gnome-shell-extension-weather-in-the-clock/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ app-eselect/eselect-gnome-shell-extensions
+ >=gnome-base/gnome-shell-45
+ gnome-extra/gnome-weather
+"
+
+extension_uuid="weatherintheclock@JasonLG1979.github.io"
+
+PATCHES=(
+ # https://github.com/JasonLG1979/gnome-shell-extension-weather-in-the-clock/pull/32
+ "${FILESDIR}/${PN}-gnome-47.patch"
+)
+
+src_compile() { :; }
+
+src_install() {
+ einstalldocs
+ insinto /usr/share/gnome-shell/extensions/
+ doins -r "${extension_uuid}"
+}
+
+pkg_preinst() {
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ gnome2_schemas_update
+ ebegin "Updating list of installed extensions"
+ eselect gnome-shell-extensions update
+ eend $?
+}
+
+pkg_postrm() {
+ gnome2_schemas_update
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-shell-extension-weather-in-the-clock/, ...
@ 2025-01-26 17:32 Pacho Ramos
0 siblings, 0 replies; 3+ messages in thread
From: Pacho Ramos @ 2025-01-26 17:32 UTC (permalink / raw
To: gentoo-commits
commit: b3a3237d7d1c0a8fe7d2a7dce4fbcffb8135c8ed
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 26 17:26:18 2025 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Jan 26 17:27:31 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3a3237d
gnome-extra/gnome-shell-extension-weather-in-the-clock: drop 20221024-r1, 20221024-r2
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
...l-extension-weather-in-the-clock-gnome-45.patch | 76 ----------------------
...tension-weather-in-the-clock-20221024-r1.ebuild | 56 ----------------
...tension-weather-in-the-clock-20221024-r2.ebuild | 54 ---------------
3 files changed, 186 deletions(-)
diff --git a/gnome-extra/gnome-shell-extension-weather-in-the-clock/files/gnome-shell-extension-weather-in-the-clock-gnome-45.patch b/gnome-extra/gnome-shell-extension-weather-in-the-clock/files/gnome-shell-extension-weather-in-the-clock-gnome-45.patch
deleted file mode 100644
index 37d5968ec29c..000000000000
--- a/gnome-extra/gnome-shell-extension-weather-in-the-clock/files/gnome-shell-extension-weather-in-the-clock-gnome-45.patch
+++ /dev/null
@@ -1,76 +0,0 @@
-From 42e6018943de5154971871f33599a66f10c17f26 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?=D0=9E=D0=BB=D0=B5=D0=B3=20=D0=9C=D0=BE=D1=80=D0=BE=D0=B7?=
- =?UTF-8?q?=D0=BE=D0=B2?= <mopo3ilo@gmail.com>
-Date: Thu, 12 Oct 2023 23:30:58 +0300
-Subject: [PATCH] Gnome 45 support
-
----
- .../extension.js | 37 +++++++++++--------
- .../metadata.json | 2 +-
- 2 files changed, 22 insertions(+), 17 deletions(-)
-
-diff --git a/weatherintheclock@JasonLG1979.github.io/extension.js b/weatherintheclock@JasonLG1979.github.io/extension.js
-index 7b097a4..dcb08b9 100644
---- a/weatherintheclock@JasonLG1979.github.io/extension.js
-+++ b/weatherintheclock@JasonLG1979.github.io/extension.js
-@@ -18,27 +18,32 @@
- * If this extension breaks your desktop you get to keep all of the pieces...
- */
-
--const {Clutter, GLib, GObject, St} = imports.gi;
--const [major, minor] = imports.misc.config.PACKAGE_VERSION.split('.').map(s => Number(s));
-+import Clutter from "gi://Clutter";
-+import GLib from "gi://GLib";
-+import GObject from "gi://GObject";
-+import St from "gi://St";
-+import * as Main from "resource:///org/gnome/shell/ui/main.js";
-
- let panelWeather = null;
-
--function enable() {
-- if (!panelWeather) {
-- let statusArea = imports.ui.main.panel.statusArea;
-- let dateMenu = statusArea.dateMenu;
-- let weather = dateMenu._weatherItem._weatherClient;
-- let network = (major < 43) ? statusArea.aggregateMenu._network : statusArea.quickSettings._network;
-- let networkIcon = network ? network._primaryIndicator : null;
-- panelWeather = new PanelWeather(weather, networkIcon);
-- dateMenu.get_first_child().insert_child_above(panelWeather, dateMenu._clockDisplay);
-+export default class weatherInTheClock {
-+ enable() {
-+ if (!panelWeather) {
-+ let statusArea = Main.panel.statusArea;
-+ let dateMenu = statusArea.dateMenu;
-+ let weather = dateMenu._weatherItem._weatherClient;
-+ let network = statusArea.quickSettings._network;
-+ let networkIcon = network ? network._primaryIndicator : null;
-+ panelWeather = new PanelWeather(weather, networkIcon);
-+ dateMenu.get_first_child().insert_child_above(panelWeather, dateMenu._clockDisplay);
-+ }
- }
--}
-
--function disable() {
-- if (panelWeather) {
-- panelWeather.destroy();
-- panelWeather = null;
-+ disable() {
-+ if (panelWeather) {
-+ panelWeather.destroy();
-+ panelWeather = null;
-+ }
- }
- }
-
-diff --git a/weatherintheclock@JasonLG1979.github.io/metadata.json b/weatherintheclock@JasonLG1979.github.io/metadata.json
-index 2566fc3..1151690 100644
---- a/weatherintheclock@JasonLG1979.github.io/metadata.json
-+++ b/weatherintheclock@JasonLG1979.github.io/metadata.json
-@@ -3,6 +3,6 @@
- "name": "Weather In The Clock",
- "description": "Display the current Weather in the Clock. GNOME Weather is required for this extension to function.",
- "original-author": "JasonLG1979@github.io",
--"shell-version": ["3.38", "40", "41", "42", "43"],
-+"shell-version": ["45"],
- "url": "https://github.com/JasonLG1979/gnome-shell-extension-weather-in-the-clock/"
- }
diff --git a/gnome-extra/gnome-shell-extension-weather-in-the-clock/gnome-shell-extension-weather-in-the-clock-20221024-r1.ebuild b/gnome-extra/gnome-shell-extension-weather-in-the-clock/gnome-shell-extension-weather-in-the-clock-20221024-r1.ebuild
deleted file mode 100644
index 1df2254b8cf4..000000000000
--- a/gnome-extra/gnome-shell-extension-weather-in-the-clock/gnome-shell-extension-weather-in-the-clock-20221024-r1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit gnome2-utils
-
-DESCRIPTION="Display the current weather in the clock"
-HOMEPAGE="https://github.com/JasonLG1979/gnome-shell-extension-weather-in-the-clock"
-COMMIT="38ba36090961a37260215ae04f4a7e0a1377da95"
-SRC_URI="https://github.com/JasonLG1979/gnome-shell-extension-weather-in-the-clock/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-RDEPEND="
- app-eselect/eselect-gnome-shell-extensions
- >=gnome-base/gnome-shell-3.38
- gnome-extra/gnome-weather
-"
-DEPEND=""
-BDEPEND=""
-
-extension_uuid="weatherintheclock@JasonLG1979.github.io"
-S="${WORKDIR}/${PN}-${COMMIT}"
-
-src_prepare() {
- default
- # https://github.com/JasonLG1979/gnome-shell-extension-weather-in-the-clock/issues/30
- sed -i -e 's/"43"/"43", "44"/' \
- "${extension_uuid}"/metadata.json || die
-}
-
-src_compile() { :; }
-
-src_install() {
- einstalldocs
- insinto /usr/share/gnome-shell/extensions/
- doins -r "${extension_uuid}"
-}
-
-pkg_preinst() {
- gnome2_schemas_savelist
-}
-
-pkg_postinst() {
- gnome2_schemas_update
- ebegin "Updating list of installed extensions"
- eselect gnome-shell-extensions update
- eend $?
-}
-
-pkg_postrm() {
- gnome2_schemas_update
-}
diff --git a/gnome-extra/gnome-shell-extension-weather-in-the-clock/gnome-shell-extension-weather-in-the-clock-20221024-r2.ebuild b/gnome-extra/gnome-shell-extension-weather-in-the-clock/gnome-shell-extension-weather-in-the-clock-20221024-r2.ebuild
deleted file mode 100644
index 262bbe8eae38..000000000000
--- a/gnome-extra/gnome-shell-extension-weather-in-the-clock/gnome-shell-extension-weather-in-the-clock-20221024-r2.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit gnome2-utils
-
-DESCRIPTION="Display the current weather in the clock"
-HOMEPAGE="https://github.com/JasonLG1979/gnome-shell-extension-weather-in-the-clock"
-COMMIT="38ba36090961a37260215ae04f4a7e0a1377da95"
-SRC_URI="https://github.com/JasonLG1979/gnome-shell-extension-weather-in-the-clock/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-RDEPEND="
- app-eselect/eselect-gnome-shell-extensions
- >=gnome-base/gnome-shell-45
- gnome-extra/gnome-weather
-"
-DEPEND=""
-BDEPEND=""
-
-extension_uuid="weatherintheclock@JasonLG1979.github.io"
-S="${WORKDIR}/${PN}-${COMMIT}"
-
-PATCHES=(
- # https://github.com/JasonLG1979/gnome-shell-extension-weather-in-the-clock/pull/32
- "${FILESDIR}/${PN}-gnome-45.patch"
-)
-
-src_compile() { :; }
-
-src_install() {
- einstalldocs
- insinto /usr/share/gnome-shell/extensions/
- doins -r "${extension_uuid}"
-}
-
-pkg_preinst() {
- gnome2_schemas_savelist
-}
-
-pkg_postinst() {
- gnome2_schemas_update
- ebegin "Updating list of installed extensions"
- eselect gnome-shell-extensions update
- eend $?
-}
-
-pkg_postrm() {
- gnome2_schemas_update
-}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-01-26 17:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-26 17:32 [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-shell-extension-weather-in-the-clock/, Pacho Ramos
-- strict thread matches above, loose matches on Subject: below --
2025-01-26 17:32 Pacho Ramos
2024-12-02 13:00 Pacho Ramos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox