fix(install): scope xapp closure USE deps

This commit is contained in:
Phoebus 2026-09-27 05:36:27 -07:00
parent 8a0dfdf965
commit 233a3e2f7f

View file

@ -1049,6 +1049,16 @@ pub fn package_use(config: &InstallConfig, hardware: &HardwareReport) -> String
o.push_str("x11-libs/xapp introspection\n"); o.push_str("x11-libs/xapp introspection\n");
o.push_str("app-crypt/libsecret introspection\n"); o.push_str("app-crypt/libsecret introspection\n");
o.push_str("x11-libs/cinnamon-desktop introspection\n"); o.push_str("x11-libs/cinnamon-desktop introspection\n");
// xapp's own closure (read from x11-libs/xapp-3.2.2.ebuild DEPEND):
// libdbusmenu[gtk3] (proven by VM install run 9), plus
// gdk-pixbuf[introspection?] and gtk+[introspection?] which activate
// because xapp itself builds with introspection for nemo (nemo's
// COMMON_DEPEND also requires gtk+[introspection] directly). Scoped
// pre-emptively: USE flags cannot pull testing versions, and a
// matching binpkg is still preferred when its USE already matches.
o.push_str("dev-libs/libdbusmenu gtk3\n");
o.push_str("x11-libs/gdk-pixbuf introspection\n");
o.push_str("x11-libs/gtk+ introspection\n");
// mpv shares swayimg's exactly-one-lua-target REQUIRED_USE class; // mpv shares swayimg's exactly-one-lua-target REQUIRED_USE class;
// select luajit explicitly (harmless no-op if the profile already // select luajit explicitly (harmless no-op if the profile already
// enables a target or disables lua). // enables a target or disables lua).