commit:     0da01583a82c0b10607bf50f27aabdf262ce2c74
Author:     Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
AuthorDate: Fri Dec 13 11:27:04 2024 +0000
Commit:     Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
CommitDate: Fri Dec 13 11:27:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0da01583

gui-apps/nwg-panel: add 0.9.51

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.51.ebuild | 53 ++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/gui-apps/nwg-panel/Manifest b/gui-apps/nwg-panel/Manifest
index a8c55fc95..d3ed228fd 100644
--- a/gui-apps/nwg-panel/Manifest
+++ b/gui-apps/nwg-panel/Manifest
@@ -5,3 +5,4 @@ DIST nwg-panel-0.9.47.tar.gz 238407 BLAKE2B 
3716f49ffd16c4a13a2e6ecba4bac73c0b60
 DIST nwg-panel-0.9.48.tar.gz 238415 BLAKE2B 
fea22ce77d26bba29c3c76240fbb1c40e849d69fd24b57f5816d7a738b9ff5585ad620edd50ed47b2d325f8f282b787d2dccf221abd9f51836698aa6f4669c34
 SHA512 
6842e18dc72fa642bc2a5b64ef6504e62c50086f016957436cd8f8589bc2f33acf09fab9fede0ab79debb96a5dc05e3ec32ee5c6784db8cdb691734f8149bd3d
 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

diff --git a/gui-apps/nwg-panel/nwg-panel-0.9.51.ebuild 
b/gui-apps/nwg-panel/nwg-panel-0.9.51.ebuild
new file mode 100644
index 000000000..0a4665691
--- /dev/null
+++ b/gui-apps/nwg-panel/nwg-panel-0.9.51.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
+}

Reply via email to