-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Pascal Jäger <[email protected]>
- Loading branch information
Showing
2 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DIST nwg-panel-0.9.32.tar.gz 231248 BLAKE2B d7964b47a4edc8e625f5033524519b9476c928180f368e6c9220cc6f9d9a20e67b35e34dca1bea3c222565807f2d9af6b4a9998b746e60b86d448b1548a15c05 SHA512 14e9e3feb86895420f0dfb8996f0af5903d87d458a81f98bc9aeaac986d413aebbade3b2b0522a021132640d580d7e9021795f7674476271edc60a3878988098 | ||
DIST nwg-panel-0.9.33.tar.gz 236374 BLAKE2B 43debadb835752cded87164ca81095dfa36f66bbdcd3ce8b33f9112d6423557a50a46995ffcfe6cbb4de60904c7a66f2ba3402987b4f0ab40f6318e5aa3428ce SHA512 5f9be9f85bd62987a79afc69827a8937e50cfa373288d866aaeaa00e041ab89adf234badca88a97bc268b2f6dcf6aab67c13b5aaa159226ed615bb92c9f7e005 | ||
DIST nwg-panel-0.9.34.tar.gz 236364 BLAKE2B e922885708b974ed8318bf51f3aac29089eacad05127514a267c05c87212e03727aac5ec57952a0831492510dee572a49d998662581db08220e394c7803e23a8 SHA512 b34bdfda19b47e61abf57df44ac4ec71ea897e35a7e957ff42ffb761854db2b770216641936f6859bc801c3f2ee37f9e9f0a959bff2d42559b450c51ab39cdb6 | ||
DIST nwg-panel-0.9.37.tar.gz 236621 BLAKE2B 1b06cd8e123afdd68c3a1d802b6c2816ba3ced0f76ebd0a425af14dd758c27f2d461a642fd42be6c3afd28267d47d91c79f97b1dbe6e6365cd4f0836152e05c2 SHA512 02383ea626a3cf0b843e6ff6d2bbeb62b7b2d1cd3526811dde9ad33effb6a5e8890aab95f0286a961acfa1ea150624fe5a45c9fa9ab0dcb47cf54864ab082280 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
" | ||
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 | ||
} |