commit: e11f2e0da32f403360449543a5f31e72d6694bde
Author: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
AuthorDate: Fri Dec 13 11:27:50 2024 +0000
Commit: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
CommitDate: Fri Dec 13 11:27:50 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e11f2e0d
gui-apps/nwg-panel: add 0.9.52
Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de>
gui-apps/nwg-panel/Manifest | 1 +
gui-apps/nwg-panel/nwg-panel-0.9.52.ebuild | 53 ++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/gui-apps/nwg-panel/Manifest b/gui-apps/nwg-panel/Manifest
index d3ed228fd..eba8a2f42 100644
--- a/gui-apps/nwg-panel/Manifest
+++ b/gui-apps/nwg-panel/Manifest
@@ -6,3 +6,4 @@ DIST nwg-panel-0.9.48.tar.gz 238415 BLAKE2B
fea22ce77d26bba29c3c76240fbb1c40e849
DIST nwg-panel-0.9.49.tar.gz 250341 BLAKE2B
008b8ac6f0c899449f1a3e8931cedeba50f0621cf2eefcf7b9640a7bc66f911a97271fd8e74a80de18150e0f3b7d57a8c60ad5cadac6f677551a392919c4d31c
SHA512
1b84de344a749ecfcb2efbf0e6034efb8710f6a712c765e9008decde9f4e977d66a7bb803489e05dcab30e518fd9190951670be84e763a0012119da2019b8d0f
DIST nwg-panel-0.9.50.tar.gz 250289 BLAKE2B
549f9a557f76aca5287e030ad7112cd1732b6f4a8f8472ba2d346429bd2bcdd398301f8fa50240d4a632476caf2f1fa2439c96379c4c46264f71a6240fae39d0
SHA512
064d6a638227fa1a458de4d1073557fafebb55703f03f62beb068c41f89be3a6193c7ff3aee516793bf7d80d775b1921ce865268f1c0bbfb28ed23e31acfee90
DIST nwg-panel-0.9.51.tar.gz 250339 BLAKE2B
bb5964cae732c13fe0df45878a8191eddc89ba59e22573c15590c03ee77280deb42b97363d87c7d31e75debf974c33f8eeba833aaec99fdfac622ea7d88dc9a3
SHA512
9d6e57fff7db2b43925bf67b9a08487926d1ecf3034300e2abf4488e72009b0f2b8dee6c908bc21ba1d6b6f2e3e3fa9b47896362478004f73cfce35b590945cb
+DIST nwg-panel-0.9.52.tar.gz 250349 BLAKE2B
f31abec41b093fc12ce0ee61b18a505be2a205ac2ab16c433a582473bd484a98a6215b54cbbd689d981fe8a6bbd8768c88a1c70dfbd12227aa81ff283671fb30
SHA512
59672a207f0879ace64c2c2b1b7da450b69c98fb204b70890d7b749bbf20648cf9235d03ac702d6cc806c1ffd5d4b11a217dfdb48c083cc085677e7a0c2e3168
diff --git a/gui-apps/nwg-panel/nwg-panel-0.9.52.ebuild
b/gui-apps/nwg-panel/nwg-panel-0.9.52.ebuild
new file mode 100644
index 000000000..0a4665691
--- /dev/null
+++ b/gui-apps/nwg-panel/nwg-panel-0.9.52.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..12} )
+DISTUTILS_USE_PEP517=setuptools
+inherit desktop distutils-r1 systemd xdg-utils
+
+if [[ "${PV}" == 9999 ]]
+then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/nwg-piotr/nwg-panel.git"
+else
+ SRC_URI="https://github.com/nwg-piotr/nwg-panel/archive/v${PV}.tar.gz
-> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="GTK3-based panel for sway and Hyprland Wayland compositors"
+HOMEPAGE="https://github.com/nwg-piotr/nwg-panel"
+LICENSE="MIT"
+
+SLOT="0"
+
+RDEPEND="
+ x11-libs/gtk+:3
+ dev-python/pygobject[${PYTHON_USEDEP}]
+ dev-python/psutil[${PYTHON_USEDEP}]
+ dev-python/i3ipc[${PYTHON_USEDEP}]
+ dev-python/dasbus[${PYTHON_USEDEP}]
+ gui-apps/nwg-icon-picker
+ media-sound/playerctl
+ gui-libs/gtk-layer-shell[introspection]
+"
+DEPEND="${RDEPEND}"
+
+python_install_all() {
+ distutils-r1_python_install_all
+ domenu nwg-panel-config.desktop
+ domenu nwg-processes.desktop
+ doicon nwg-panel.svg
+ doicon nwg-processes.svg
+ doicon nwg-shell.svg
+ systemd_dounit nwg-panel.service
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+}