commit: fb4dbb6f92ae030f2d17287bc5d817b87172145c Author: Henning Schild <henning <AT> hennsch <DOT> de> AuthorDate: Thu Nov 13 11:04:08 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Nov 13 12:27:52 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb4dbb6f
sys-devel/distcc: inherit xdg eclass When buidling with USE=gui we install a desktop file and need to run xdg callbacks to update menus and caches. Signed-off-by: Henning Schild <henning <AT> hennsch.de> Part-of: https://github.com/gentoo/gentoo/pull/44600 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-devel/distcc/{distcc-3.4-r7.ebuild => distcc-3.4-r8.ebuild} | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys-devel/distcc/distcc-3.4-r7.ebuild b/sys-devel/distcc/distcc-3.4-r8.ebuild similarity index 97% rename from sys-devel/distcc/distcc-3.4-r7.ebuild rename to sys-devel/distcc/distcc-3.4-r8.ebuild index ea89e1aa2054..bdc6c233055a 100644 --- a/sys-devel/distcc/distcc-3.4-r7.ebuild +++ b/sys-devel/distcc/distcc-3.4-r8.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..13} ) -inherit autotools flag-o-matic prefix python-single-r1 systemd +inherit autotools flag-o-matic prefix python-single-r1 systemd xdg DESCRIPTION="Distribute compilation of C code across several machines on a network" HOMEPAGE="https://github.com/distcc/distcc" @@ -159,6 +159,9 @@ src_install() { } pkg_preinst() { + if use gui; then + xdg_pkg_preinst + fi # Compatibility symlink for Portage dosym . /usr/lib/distcc/bin if [[ -e ${EROOT}/usr/lib/distcc/bin && ! -L ${EROOT}/usr/lib/distcc/bin ]]; then @@ -189,6 +192,8 @@ pkg_postinst() { if use gui; then elog "Or:" elog "# DISTCC_DIR=\"${DISTCC_DIR:-${BUILD_PREFIX}/.distcc}\" distccmon-gnome" + elog + xdg_pkg_postinst fi }
