minor adjustement
This commit is contained in:
@ -33,7 +33,11 @@ DEPEND="
|
||||
media-libs/mesa
|
||||
sys-apps/util-linux
|
||||
x11-libs/libdrm
|
||||
systemd? ( >=sys-apps/systemd-237 )
|
||||
|| (
|
||||
systemd? ( >=sys-apps/systemd-237 )
|
||||
elogind? ( >=sys-auth/elogind-237 )
|
||||
sys-libs/basu
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
@ -46,6 +50,14 @@ BDEPEND="
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=()
|
||||
if use systemd; then
|
||||
emesonargs+=(-Dsd-bus-provider=libsystemd)
|
||||
elif use elogind; then
|
||||
emesonargs+=(-Dsd-bus-provider=libelogind)
|
||||
else
|
||||
emesonargs+=(-Dsd-bus-provider=basu)
|
||||
fi
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user