commit:     47c64c008ce238fcae12b05f1c4ae6eac667906a
Author:     Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
AuthorDate: Sat May 18 18:11:17 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Sat May 18 18:11:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=47c64c00

gui-apps/nwg-panel: add 0.9.32

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

diff --git a/gui-apps/nwg-panel/Manifest b/gui-apps/nwg-panel/Manifest
index 6d3e31ae12..c5f1dfce47 100644
--- a/gui-apps/nwg-panel/Manifest
+++ b/gui-apps/nwg-panel/Manifest
@@ -1 +1,2 @@
 DIST nwg-panel-0.9.31.tar.gz 231000 BLAKE2B 
6363c09e0bc47cb89b27f987e890126b62de21e9d45f4dbab8dbb7902375c44268add7ffb42f343eeb105af2a29f9cc1cbb9831e4eb7c6553fd746a55125a4ff
 SHA512 
a3ce46610ac1e3837b7a30220722954e201b5ea8ef89913be2f519267d02ab5ca6b87e7514a3ea6156ceb98d1a6d7bfebe452b14de577f82b117105cb82bfde8
+DIST nwg-panel-0.9.32.tar.gz 231248 BLAKE2B 
d7964b47a4edc8e625f5033524519b9476c928180f368e6c9220cc6f9d9a20e67b35e34dca1bea3c222565807f2d9af6b4a9998b746e60b86d448b1548a15c05
 SHA512 
14e9e3feb86895420f0dfb8996f0af5903d87d458a81f98bc9aeaac986d413aebbade3b2b0522a021132640d580d7e9021795f7674476271edc60a3878988098

diff --git a/gui-apps/nwg-panel/nwg-panel-0.9.32.ebuild 
b/gui-apps/nwg-panel/nwg-panel-0.9.32.ebuild
new file mode 100644
index 0000000000..7161950788
--- /dev/null
+++ b/gui-apps/nwg-panel/nwg-panel-0.9.32.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
+"
+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