diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-01-04 01:27:12 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-01-04 01:27:12 +0000 |
commit | 3517852e3b8a68d1e997770fc0650c5053bafc6c (patch) | |
tree | 44068672445b1418489aed82de58df3c470289e7 /gui-apps/mako/mako-9999.ebuild | |
parent | 0f15659d48c193027158492acb726297501202c5 (diff) |
gentoo resync : 04.01.2022
Diffstat (limited to 'gui-apps/mako/mako-9999.ebuild')
-rw-r--r-- | gui-apps/mako/mako-9999.ebuild | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/gui-apps/mako/mako-9999.ebuild b/gui-apps/mako/mako-9999.ebuild index 920feefafb99..e3550881594a 100644 --- a/gui-apps/mako/mako-9999.ebuild +++ b/gui-apps/mako/mako-9999.ebuild @@ -5,7 +5,7 @@ EAPI=7 inherit meson -DESCRIPTION="A lightweight notification daemon for Wayland. Works on Sway." +DESCRIPTION="A lightweight notification daemon for Wayland. Works on Sway" HOMEPAGE="https://github.com/emersion/mako" if [[ ${PV} == 9999 ]]; then @@ -18,15 +18,15 @@ fi LICENSE="MIT" SLOT="0" -IUSE="+icons" +IUSE="elogind +icons systemd" DEPEND=" dev-libs/wayland x11-libs/pango x11-libs/cairo || ( - sys-apps/systemd - sys-auth/elogind + systemd? ( sys-apps/systemd ) + elogind? ( sys-auth/elogind ) sys-libs/basu ) sys-apps/dbus @@ -37,7 +37,7 @@ DEPEND=" " RDEPEND=" ${DEPEND} - dev-libs/wayland-protocols + >=dev-libs/wayland-protocols-1.21 " BDEPEND=" virtual/pkgconfig @@ -49,5 +49,14 @@ src_configure() { -Dicons=$(usex icons enabled disabled) "-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 } |