diff --git a/gui-apps/nwg-panel/Manifest b/gui-apps/nwg-panel/Manifest index 1fcbb833c6..4658d7a964 100644 --- a/gui-apps/nwg-panel/Manifest +++ b/gui-apps/nwg-panel/Manifest @@ -1,2 +1,3 @@ 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 +DIST nwg-panel-0.9.21.tar.gz 224453 BLAKE2B 33037f4934d42469e3ce4e35ca36cc9421f3ea594000e6fd90ac44739eb5b220a80d6e7a6f1162b5c8cfb32c64bd1fd9dd678e6b46cbd166cc04014951739c23 SHA512 542b574427b7f9ae2d6b57a32ecfd39282971fe848ff16a6c54f2f85898dfb30d9823a43fe9a509cf486cecb59ec675aa0b1cb2713dd2cc29b03a1ddb130eac4 diff --git a/gui-apps/nwg-panel/nwg-panel-0.9.21.ebuild b/gui-apps/nwg-panel/nwg-panel-0.9.21.ebuild new file mode 100644 index 0000000000..dde513ba92 --- /dev/null +++ b/gui-apps/nwg-panel/nwg-panel-0.9.21.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_{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}" + +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 +}