commit: d9805fec9d9e80dc9ccb898a77208bf6093dd8cd Author: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de> AuthorDate: Tue Dec 24 07:59:31 2024 +0000 Commit: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de> CommitDate: Tue Dec 24 07:59:31 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d9805fec
gui-apps/nwg-panel: add 0.9.57 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.57.ebuild | 53 ++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/gui-apps/nwg-panel/Manifest b/gui-apps/nwg-panel/Manifest index f2042789c..60e20df18 100644 --- a/gui-apps/nwg-panel/Manifest +++ b/gui-apps/nwg-panel/Manifest @@ -1,3 +1,4 @@ DIST nwg-panel-0.9.54.tar.gz 250649 BLAKE2B 75a909673f0fcb9455354b927e33d6568c767af890eba79b9d538492d9df8cdd316aae0c82645ef0ea48a008498c0e43ea0309d15846c00cc5918b66edab9412 SHA512 af7d897a0fc68aa0b87a88135d73837670aa95ae87b182ac2a8479cdf7bdb30a6af4f9784272450473976c56969027cae9ea46dc907f42a727bc475c830ade10 DIST nwg-panel-0.9.55.tar.gz 251309 BLAKE2B 02996bd369a93f28d967da83a3e02a75b801994fddb73108942aae3a3fe5dfb5273758ffa80d644d7796ca3fe7815dd9d2da4e6a294990e87109391b3216e638 SHA512 83df3bb2602e9a3c1a2677a8920f2b96bc53bbb878bcad9cc0af0a93256b0b7ad8d867517223691d718e217c8f697a9e21acd65031138e630907b92fbd904065 DIST nwg-panel-0.9.56.tar.gz 253616 BLAKE2B 6e2da9138130b58c002ed2652ed7332ad25334c44d4d0a7be5227106dcc4b48fdcf89cbfd38b3eba014dbfbb0cb6540e7d7ead4ceac3844a229c8ef2a2b816c5 SHA512 11b0b4656b96f09cb0fd2e93e4b7e6148d9515c20c2acef20ea8542841e4ecff520d11864c9c6c6f2e4bee2eab373b375510279e66431d0f06062fb7cd1b9fe9 +DIST nwg-panel-0.9.57.tar.gz 253620 BLAKE2B d7bf5a45912530f989cad9b709b8b5ff30e0ee9782998faa2dbdc2406c5d848f6ce2590e64849ec28f8325c535fed4a8d2f6fb7116e576fc8fe6ba21d6246ada SHA512 8f639cb585061355c13039714b895e721ace65b49d770d91240526a1b9fbbc7da755b3f09f7cda4a1a21506f1ed485c37c2776e7566c44fffa2b06904ad38c17 diff --git a/gui-apps/nwg-panel/nwg-panel-0.9.57.ebuild b/gui-apps/nwg-panel/nwg-panel-0.9.57.ebuild new file mode 100644 index 000000000..0a4665691 --- /dev/null +++ b/gui-apps/nwg-panel/nwg-panel-0.9.57.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 +}