commit: d4ddf4f413e541efdc9c5be0f011bf63162edcb9
Author: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
AuthorDate: Wed Oct 18 09:50:20 2023 +0000
Commit: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
CommitDate: Wed Oct 18 09:50:20 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d4ddf4f4
gui-apps/nwg-panel: add 0.9.14
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.14.ebuild | 56 ++++++++++++++++++++++++++++++
2 files changed, 57 insertions(+)
diff --git a/gui-apps/nwg-panel/Manifest b/gui-apps/nwg-panel/Manifest
index a14a65c6e4..647ef3427c 100644
--- a/gui-apps/nwg-panel/Manifest
+++ b/gui-apps/nwg-panel/Manifest
@@ -1 +1,2 @@
DIST nwg-panel-0.9.11.tar.gz 217960 BLAKE2B
e980507c628a52839e4b582146c13648ed284e8947dca7391570dbe6d6c2e924d550993d37661a601930010f2df3247205324f6d298112a29b7cb799ff7addd8
SHA512
7a16fdb3259b1c41768ad7c5a29752743334c69669664803d6995000388ed43e064c379b0a8fe8433ad52e828dd63575e700a7c74a7a2654d20bfea12fde4bfc
+DIST nwg-panel-0.9.14.tar.gz 220515 BLAKE2B
e2c7bcecd106ed5b02e32ad1e09f48ccfacdb46361db429018b5912e235dbbfd26914f633396e505c26889522b5efd2844c780ded6134ec0c5de65d27fadf18f
SHA512
25ae81f11a69cb699181cb12fbb3370c1e182dd09974a2e4c8a52555120b33fb45ec6649ff7a17c0ba33d987ed3fa97c2ec02b2d18aa565eaf4a5fb48c0c6f89
diff --git a/gui-apps/nwg-panel/nwg-panel-0.9.14.ebuild
b/gui-apps/nwg-panel/nwg-panel-0.9.14.ebuild
new file mode 100644
index 0000000000..2174621ad2
--- /dev/null
+++ b/gui-apps/nwg-panel/nwg-panel-0.9.14.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2023 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"
+IUSE="systemd"
+
+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
+ if use systemd; then
+ systemd_dounit nwg-panel.service
+ fi
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+}