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
|
||||
}
|
||||
|
||||
|
||||
@ -5,11 +5,11 @@ DESCRIPTION=xdg-desktop-portal backend for hyprland
|
||||
EAPI=8
|
||||
HOMEPAGE=https://github.com/hyprwm/xdg-desktop-portal-hyprland
|
||||
INHERIT=meson git-r3
|
||||
IUSE=systemd
|
||||
IUSE=elogind systemd
|
||||
LICENSE=MIT
|
||||
PROPERTIES=live
|
||||
RDEPEND=>=media-video/pipewire-0.3.41:= dev-libs/inih dev-libs/wayland dev-qt/qtbase dev-qt/qtcore dev-qt/qtgui dev-qt/qtwayland:6 dev-qt/qtwidgets media-libs/mesa sys-apps/util-linux x11-libs/libdrm systemd? ( >=sys-apps/systemd-237 ) sys-apps/xdg-desktop-portal
|
||||
REQUIRED_USE=systemd
|
||||
REQUIRED_USE=?? ( elogind systemd )
|
||||
SLOT=0/9999
|
||||
_eclasses_=multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 ninja-utils f3010c780f65d1bb5aea15a9af1adc9c toolchain-funcs 862d337d98edb576796827be2c6b11ca multilib c19072c3cd7ac5cb21de013f7e9832e0 python-utils-r1 59e60e9c5cbd3f214d7f1002e798b387 meson 08b7183c3f4811568ee93eb0f79a89fe git-r3 2358a7b20091609e24bd3a83b3ac5991
|
||||
_md5_=b7f0e0779c2fff365d976a6b244caa27
|
||||
_md5_=379d54b9399d24c90c5c51e511bed048
|
||||
|
||||
Reference in New Issue
Block a user