commit:     d218d3597a67f4fb199c5e5b88fa40d62a46c408
Author:     Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
AuthorDate: Wed Mar 27 17:00:10 2024 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Wed Mar 27 17:00:10 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d218d359

gui-apps/nwg-panel: add 0.9.26

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

diff --git a/gui-apps/nwg-panel/Manifest b/gui-apps/nwg-panel/Manifest
index 606263d101..f440d7b7cf 100644
--- a/gui-apps/nwg-panel/Manifest
+++ b/gui-apps/nwg-panel/Manifest
@@ -1,3 +1,4 @@
 DIST nwg-panel-0.9.23.tar.gz 227040 BLAKE2B 
bc0f5afd220bab8f360874b9744b21c8f1730cbd124763fe57d9707ae1169cce6d155dfe49dca37d45d398b5aeda38f3f68764e7cd5e11ac5392ad61d6b2a615
 SHA512 
1363ffab1124a17a4320a0350595808dda76fcfe1a97191e3b504b99a0733c9860d4aa35a97299605226f988687c3b4cf14794fe065e2e1ec11e1ca2e0fb0e9c
 DIST nwg-panel-0.9.24.tar.gz 227084 BLAKE2B 
8a86923a0d457d55a1269b00c6955c51410fbd8f838c1b9b4526c37200b4f55c161d0df1ee4a3a0ef83f115c33563ffc8cc5907d601495d1b433ec04e93ac198
 SHA512 
68329511f20ce88738fb2b30efaa542fcbaf1376a7cb269755f99489cd89984d8986230eebd4c0c610cf5e935f85ba4d33108b7beff64dabc0d67f8f2af04c5b
 DIST nwg-panel-0.9.25.tar.gz 227247 BLAKE2B 
627d679d3b9de4e32d52d4954bf090354d0ce1e85b34bb8a5a63971195c5f1e1cd6ff48c4ea9ec948726b3f3b7939c2d22f284259ee4f9637c943a98102754c7
 SHA512 
8dd1e43c75ad4ddc61586290fe4928db958c05f1049b7860f212e0950ca46e881d4657722b4859823917af8d16dd613a7374d5bf611d67f4ce2652992d3798f7
+DIST nwg-panel-0.9.26.tar.gz 229968 BLAKE2B 
acac5f1268fee7d47b6b31a91e3c161cf72b9c387c3dcd75977262c7938e2e5e8a24b3a47dae9365ecf5ece9daec55771714dcd4ed1e942e59b372e0efc30684
 SHA512 
5f3537ce8ddc356248f75ad463980ccdbe5ec819164df6d00336eebb7eff27486ce2945ce9c15ac8d36fe45818c46f76b3460ee4b5ce08d955548cdbcaef329a

diff --git a/gui-apps/nwg-panel/nwg-panel-0.9.26.ebuild 
b/gui-apps/nwg-panel/nwg-panel-0.9.26.ebuild
new file mode 100644
index 0000000000..dde513ba92
--- /dev/null
+++ b/gui-apps/nwg-panel/nwg-panel-0.9.26.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_{10..11} )
+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
+"
+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