diff options
author | Matthew Thode <prometheanfire@gentoo.org> | 2021-04-22 14:55:16 -0500 |
---|---|---|
committer | Matthew Thode <prometheanfire@gentoo.org> | 2021-04-22 14:55:39 -0500 |
commit | ad9a776356050f71bcd65cae2a4a6e913c6673f6 (patch) | |
tree | b83ab1569f9245a1a555809199c1842f885413c1 /gui-wm | |
parent | sys-boot/grub: move eclass vars before first inherit (diff) | |
download | gentoo-ad9a776356050f71bcd65cae2a4a6e913c6673f6.tar.gz gentoo-ad9a776356050f71bcd65cae2a4a6e913c6673f6.tar.bz2 gentoo-ad9a776356050f71bcd65cae2a4a6e913c6673f6.zip |
gui-wm/sway: fix 9999 flags (hard dep on seatd)
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
Diffstat (limited to 'gui-wm')
-rw-r--r-- | gui-wm/sway/sway-9999.ebuild | 29 |
1 files changed, 5 insertions, 24 deletions
diff --git a/gui-wm/sway/sway-9999.ebuild b/gui-wm/sway/sway-9999.ebuild index e5febb24e88b..c6a53ff0d87b 100644 --- a/gui-wm/sway/sway-9999.ebuild +++ b/gui-wm/sway/sway-9999.ebuild @@ -20,13 +20,12 @@ fi LICENSE="MIT" SLOT="0" -IUSE="elogind fish-completion +man +swaybar +swaybg +swayidle +swaylock +swaymsg +swaynag seatd systemd tray wallpapers X zsh-completion" -REQUIRED_USE="?? ( elogind systemd ) - tray? ( || ( elogind seatd systemd ) )" +IUSE="fish-completion +man +swaybar +swaybg +swayidle +swaylock +swaymsg +swaynag tray wallpapers X zsh-completion" DEPEND=" >=dev-libs/json-c-0.13:0= >=dev-libs/libinput-1.6.0:0= + sys-auth/seatd:= dev-libs/libpcre dev-libs/wayland x11-libs/cairo @@ -34,21 +33,19 @@ DEPEND=" x11-libs/pango x11-libs/pixman media-libs/mesa[gles2,libglvnd(+)] - elogind? ( >=sys-auth/elogind-239 ) swaybar? ( x11-libs/gdk-pixbuf:2 ) swaybg? ( gui-apps/swaybg ) swayidle? ( gui-apps/swayidle ) swaylock? ( gui-apps/swaylock ) - systemd? ( >=sys-apps/systemd-239[policykit] ) wallpapers? ( x11-libs/gdk-pixbuf:2[jpeg] ) X? ( x11-libs/libxcb:0= ) " if [[ ${PV} == 9999 ]]; then - DEPEND+="~gui-libs/wlroots-9999:=[elogind=,seatd=,systemd=,X=]" + DEPEND+="~gui-libs/wlroots-9999:=[X=]" else DEPEND+=" - >=gui-libs/wlroots-0.13:=[elogind=,seatd=,systemd=,X=] - <gui-libs/wlroots-0.14:=[elogind=,seatd=,systemd=,X=] + >=gui-libs/wlroots-0.14:=[X=] + <gui-libs/wlroots-0.15:=[X=] " fi RDEPEND=" @@ -97,19 +94,3 @@ src_configure() { meson_src_configure } - -pkg_preinst() { - if ! use systemd && ! use elogind && ! use seatd; then - fowners root:0 /usr/bin/sway - fperms 4511 /usr/bin/sway - fi -} - -pkg_postinst() { - if ! use systemd && ! use elogind && ! use seatd; then - elog "" - elog "If your system does not set the XDG_RUNTIME_DIR environment" - elog "variable, you must set it manually to run Sway. See wiki" - elog "for details: https://wiki.gentoo.org/wiki/Sway" - fi -} |