commit: c58442c80f15280822a6f5e403f452ea25ec7cba Author: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de> AuthorDate: Sun Jan 19 18:41:21 2025 +0000 Commit: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de> CommitDate: Sun Jan 19 18:41:21 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c58442c8
gui-apps/nwg-panel: add 0.9.61 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.61.ebuild | 53 ++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/gui-apps/nwg-panel/Manifest b/gui-apps/nwg-panel/Manifest index 7935ea3a4..df5d685d4 100644 --- a/gui-apps/nwg-panel/Manifest +++ b/gui-apps/nwg-panel/Manifest @@ -1 +1,2 @@ DIST nwg-panel-0.9.60.tar.gz 258082 BLAKE2B e1646ef9ab1a285e0db155a9a44cda8f1fee9ee0af006e226d648438af1a19683154f9786578968c492df92ff62857a9ce7d4361d12c4062531a7940accb4489 SHA512 76a47a3d1f067ef439dee935d1e4cba9c6021cdaf3c7e344fdb5eece02778308ce0ec67a3cd12b96fd3134747d1d9f7f3a9797d3f1b831d13fff22fd5c138934 +DIST nwg-panel-0.9.61.tar.gz 258727 BLAKE2B b34ad41e7560523c5546a09683dcd818d88ded3eddec30a479a281801695438cf09e84277a33b7093b5dca45d3313e87363d5ca03ff5f3d97964ce9593ac259e SHA512 6200ff05d1cc66c66b40cd494315529f797619aeba4d4c337069e2b80b53bff6d54cdb842b45f94ef049261bb71f5d112b9dfae89206afa75c1ff3025ba88307 diff --git a/gui-apps/nwg-panel/nwg-panel-0.9.61.ebuild b/gui-apps/nwg-panel/nwg-panel-0.9.61.ebuild new file mode 100644 index 000000000..ae89cb2a7 --- /dev/null +++ b/gui-apps/nwg-panel/nwg-panel-0.9.61.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 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 +}