commit: 66a2bb9ad604b55e971329d5731c54594058863e Author: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de> AuthorDate: Wed Jan 10 11:37:53 2024 +0000 Commit: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de> CommitDate: Wed Jan 10 11:38:47 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=66a2bb9a
gui-apps/nwg-panel: add 0.9.20 Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de> gui-apps/nwg-panel/Manifest | 1 + .../nwg-panel-0.9.20-fix-version-string.patch | 17 +++++++ gui-apps/nwg-panel/nwg-panel-0.9.20.ebuild | 55 ++++++++++++++++++++++ 3 files changed, 73 insertions(+) diff --git a/gui-apps/nwg-panel/Manifest b/gui-apps/nwg-panel/Manifest index 4d995dee1d..46250891e4 100644 --- a/gui-apps/nwg-panel/Manifest +++ b/gui-apps/nwg-panel/Manifest @@ -1,3 +1,4 @@ DIST nwg-panel-0.9.17.tar.gz 220794 BLAKE2B ff8d7ec92cd88f70db052c34268b31fe9542fec21184aac33175c0f58f3167e1d16051e3c3c8d1c310ceb531e7600b83fabf8b7720cd5713425793031d553dc3 SHA512 8a1728a4e3aa2dfab3c4f190aad95bf5dd5b9a2c9bb8be2c25e8ee6cb994243cd910fae77d761077946e45282154c4cce00c9fb13b93c646542ade5310e12cda DIST nwg-panel-0.9.18.tar.gz 222916 BLAKE2B 26268d8dbb2e6c3c4a980458ee663fed4e81417f5859237e252628f8b00460e692a613252f7006d75a964fa6918c99904d31d77c769e1f8c0dcc502326ab27b9 SHA512 3e219f1a516e07a24942dddd177253898c5ea26492c7930fc2a352bfeed51cfd9622858f780883565a9e1f603b690ca1ecb91b7cde2ab0be28b330ce54a99e08 DIST nwg-panel-0.9.19.tar.gz 222968 BLAKE2B aae2b2d9f50b833a12bc4e09d5615495bc288f0c0ed0e4acd1745018f63eecd5d2daa8168d4552c3cf53e47bd6765be9b51b1c23623999ac086f712aec4bea49 SHA512 e58146859d7bf6d5fc6fe2ebf4f2f36e8f44d293c5b6b945d937b9268d460dd27c724a912c1869cb5682a6a5340bc55e3cdd841a935974e0ce79437d0465a33a +DIST nwg-panel-0.9.20.tar.gz 224440 BLAKE2B 3f50d0af2ed715211fbba326201c065bb712bb937eb87eacfdb407eb5a7ddfdc1da134347593b6909b3b116ab4ffdc15e10c6fb787ffaf0448785f50300161ba SHA512 21b6f7a2c37bf003284e59717ef67d2e21bb966a279dd5ef31724ed8ed735e5c232fd50d4a1ac8bf167d9cd06c7556bccbf8ec608212eb5ab28b1acf45c7cb13 diff --git a/gui-apps/nwg-panel/files/nwg-panel-0.9.20-fix-version-string.patch b/gui-apps/nwg-panel/files/nwg-panel-0.9.20-fix-version-string.patch new file mode 100644 index 0000000000..8af05bb9db --- /dev/null +++ b/gui-apps/nwg-panel/files/nwg-panel-0.9.20-fix-version-string.patch @@ -0,0 +1,17 @@ +Typo in version string + +See also: https://github.com/nwg-piotr/nwg-panel/issues/281 + +Pascal Jäger <pascal.jae...@leimstift.de> (2024-01-10) + +--- a/setup.py ++++ b/setup.py +@@ -8,7 +8,7 @@ def read(f_name): + + setup( + name='nwg-panel', +- version='0.9.20 ', ++ version='0.9.20', + description='GTK3-based panel for sway and Hyprland Wayland compositors', + packages=find_packages(), + include_package_data=True, diff --git a/gui-apps/nwg-panel/nwg-panel-0.9.20.ebuild b/gui-apps/nwg-panel/nwg-panel-0.9.20.ebuild new file mode 100644 index 0000000000..e05b75feef --- /dev/null +++ b/gui-apps/nwg-panel/nwg-panel-0.9.20.ebuild @@ -0,0 +1,55 @@ +# 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}" + +PATCHES=( "${FILESDIR}/${P}-fix-version-string.patch" ) + +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 +}