diff --git a/gui-apps/nwg-panel/Manifest b/gui-apps/nwg-panel/Manifest index dee6abf3e8..48555301a2 100644 --- a/gui-apps/nwg-panel/Manifest +++ b/gui-apps/nwg-panel/Manifest @@ -1,2 +1,3 @@ DIST nwg-panel-0.10.2.tar.gz 262398 BLAKE2B 3962fcf8638e877b727831991c1371a0ed3134d519e6b9fd97bafb2c5eb6c40286d6b84f9cacf334a7c707d6c30db7086a78ef078fffe65eb33cb5cb6c70e6ea SHA512 9e3c02bb2a97c404790bbc5e3d29bffea39a5a0a577712486019dc70903193dbcb37a1fb99fee1dcd920f4dabce1b20d7008e03dd8556efc513d0e3a28cd763e +DIST nwg-panel-0.10.3.tar.gz 262877 BLAKE2B 7dbcb7152caf1104e4e1c473d2472c1205c70588d8077336663a8cf8db7e71e1023c5a31c83b4d690deba33a191a9039811f60de0ff1d2d7163fecc74d7c78ee SHA512 4420798833f53053c81b4b338d4f9a3ac78981df4a0b9e77f48ddc50d530bb83cf2f7f0161b30427c155c2b169e4c1fcdb7c61293fda7fb475b78a3b0bf27752 DIST nwg-panel-0.9.61.tar.gz 258727 BLAKE2B b34ad41e7560523c5546a09683dcd818d88ded3eddec30a479a281801695438cf09e84277a33b7093b5dca45d3313e87363d5ca03ff5f3d97964ce9593ac259e SHA512 6200ff05d1cc66c66b40cd494315529f797619aeba4d4c337069e2b80b53bff6d54cdb842b45f94ef049261bb71f5d112b9dfae89206afa75c1ff3025ba88307 diff --git a/gui-apps/nwg-panel/nwg-panel-0.10.3.ebuild b/gui-apps/nwg-panel/nwg-panel-0.10.3.ebuild new file mode 100644 index 0000000000..32bfd0b63b --- /dev/null +++ b/gui-apps/nwg-panel/nwg-panel-0.10.3.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..13} ) +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 +}