diff options
Diffstat (limited to 'sys-process/htop/htop-9999.ebuild')
-rw-r--r-- | sys-process/htop/htop-9999.ebuild | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sys-process/htop/htop-9999.ebuild b/sys-process/htop/htop-9999.ebuild index 76b7ce3cb327..7d41590b84b1 100644 --- a/sys-process/htop/htop-9999.ebuild +++ b/sys-process/htop/htop-9999.ebuild @@ -5,7 +5,9 @@ EAPI=8 PYTHON_COMPAT=( python3_{8..11} ) -inherit linux-info optfeature python-any-r1 xdg +# We avoid xdg.eclass here because it'll pull in glib, desktop utils on +# htop which is often used on headless machines. bug #787470 +inherit linux-info optfeature python-any-r1 xdg-utils DESCRIPTION="interactive process viewer" HOMEPAGE="https://htop.dev/ https://github.com/htop-dev/htop" @@ -99,7 +101,13 @@ src_configure() { } pkg_postinst() { - xdg_pkg_postinst + xdg_desktop_database_update + xdg_icon_cache_update optfeature "Viewing processes accessing certain files" sys-process/lsof } + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} |