gui-libs/xdg-desktop-portal-wlr: fix typo; sync live

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2021-11-22 09:31:16 +00:00
parent 88a753c90e
commit e8760e71af
2 changed files with 17 additions and 9 deletions

View File

@@ -45,9 +45,9 @@ src_configure() {
"-Dwerror=false"
)
if use systemd; then
emesonargs+=(-Dsd-bus-provider=systemd)
emesonargs+=(-Dsd-bus-provider=libsystemd)
elif use elogind; then
emesonargs+=(-Dsd-bus-provider=elogind)
emesonargs+=(-Dsd-bus-provider=libelogind)
else
emesonargs+=(-Dsd-bus-provider=basu)
fi

View File

@@ -22,20 +22,21 @@ IUSE="elogind systemd"
REQUIRED_USE="?? ( elogind systemd )"
DEPEND="
>=media-video/pipewire-0.3.2:=
>=media-video/pipewire-0.3.34:=
dev-libs/inih
dev-libs/wayland
>=dev-libs/wayland-protocols-1.14:=
elogind? ( >=sys-auth/elogind-237 )
systemd? ( >=sys-apps/systemd-237 )
|| (
systemd? ( >=sys-apps/systemd-237 )
elogind? ( >=sys-auth/elogind-237 )
sys-libs/basu
)
"
RDEPEND="
${DEPEND}
sys-apps/xdg-desktop-portal
"
BDEPEND="
>=media-video/pipewire-0.3.2:=
>=dev-libs/wayland-protocols-1.14
dev-libs/inih:0
dev-libs/wayland-protocols
virtual/pkgconfig
"
@@ -43,5 +44,12 @@ src_configure() {
local emesonargs=(
"-Dwerror=false"
)
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
}