kde-base/solid includes the program solid-powermanagement, which can suspend/hibernate the computer through HAL. However, to have this functionality actually work, HAL has to be built with USE="+laptop" so that it pulls in the pm-utils package. I suggest adding the "laptop" USE flag to the kde-base/solid ebuild, and having the solid ebuild check that if the "laptop" USE flag is requested, that sys-apps/hal has also been built with the laptop flag enabled. Something like: RDEPEND="hal? ( laptop? ( sys-apps/hal[+laptop] ) || sys-apps/hal )" That way, if someone wants HAL but doesn't care about power management, they can still use HAL. And if someone doesn't want HAL, then it doesn't matter whether the laptop flag is set or not. Reproducible: Always
considering that the RDEPEND string in the initial report is invalid, I am going to assume that the original reporter meant RDEPEND="hal? ( sys-apps/hal[laptop?] )"
Closing this as WONTFIX since hal is being deprecated anyway