commit:     3200f4e4e3b1afe1a755b3a206841c90800cbc55
Author:     Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
AuthorDate: Tue Oct  8 11:47:47 2024 +0000
Commit:     Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
CommitDate: Tue Oct  8 11:47:47 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3200f4e4

gui-apps/nwg-panel: add 0.9.39

Closes: https://bugs.gentoo.org/940355

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

diff --git a/gui-apps/nwg-panel/Manifest b/gui-apps/nwg-panel/Manifest
index e0a68ffcb..5d17ad9dc 100644
--- a/gui-apps/nwg-panel/Manifest
+++ b/gui-apps/nwg-panel/Manifest
@@ -3,3 +3,4 @@ DIST nwg-panel-0.9.33.tar.gz 236374 BLAKE2B 
43debadb835752cded87164ca81095dfa36f
 DIST nwg-panel-0.9.34.tar.gz 236364 BLAKE2B 
e922885708b974ed8318bf51f3aac29089eacad05127514a267c05c87212e03727aac5ec57952a0831492510dee572a49d998662581db08220e394c7803e23a8
 SHA512 
b34bdfda19b47e61abf57df44ac4ec71ea897e35a7e957ff42ffb761854db2b770216641936f6859bc801c3f2ee37f9e9f0a959bff2d42559b450c51ab39cdb6
 DIST nwg-panel-0.9.37.tar.gz 236621 BLAKE2B 
1b06cd8e123afdd68c3a1d802b6c2816ba3ced0f76ebd0a425af14dd758c27f2d461a642fd42be6c3afd28267d47d91c79f97b1dbe6e6365cd4f0836152e05c2
 SHA512 
02383ea626a3cf0b843e6ff6d2bbeb62b7b2d1cd3526811dde9ad33effb6a5e8890aab95f0286a961acfa1ea150624fe5a45c9fa9ab0dcb47cf54864ab082280
 DIST nwg-panel-0.9.38.tar.gz 237533 BLAKE2B 
5f104e46d9861f92ef1f5dfb99467710f794fc86d553db4ca1a7c30b562b903b346345f08f3b11711e071b95dd6c409023b293802731608277ab6d473371e92d
 SHA512 
55d13c9eed2f9ae8044e2c5c804ac5e77473504f9ac1d2db9810acb9054bad270028b0e101c25aadb921b85e6cfb07a8f0fe42eb4633554703e677c4e7bd993f
+DIST nwg-panel-0.9.39.tar.gz 237628 BLAKE2B 
696439bab09e6eb3412accf9e6f091cf21288c4c4415b40d1510309f85e75a505dfe1a8f8a8adf6143b7d6e73a45444524ac635b61c71db9dbcd1867ae2ae0b5
 SHA512 
f99e85a396b50f6b311da0bf204442b43731f5d4d0bca0d098a23337793c63e77db1f745bfda53d4d288ceda12a80fe2e9b0099d73bd6fc894aff331a32b359c

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