1 |
commit: ad9a776356050f71bcd65cae2a4a6e913c6673f6 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 22 19:55:16 2021 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 22 19:55:39 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad9a7763 |
7 |
|
8 |
gui-wm/sway: fix 9999 flags (hard dep on seatd) |
9 |
|
10 |
Package-Manager: Portage-3.0.17, Repoman-3.0.2 |
11 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
12 |
|
13 |
gui-wm/sway/sway-9999.ebuild | 29 +++++------------------------ |
14 |
1 file changed, 5 insertions(+), 24 deletions(-) |
15 |
|
16 |
diff --git a/gui-wm/sway/sway-9999.ebuild b/gui-wm/sway/sway-9999.ebuild |
17 |
index e5febb24e88..c6a53ff0d87 100644 |
18 |
--- a/gui-wm/sway/sway-9999.ebuild |
19 |
+++ b/gui-wm/sway/sway-9999.ebuild |
20 |
@@ -20,13 +20,12 @@ fi |
21 |
|
22 |
LICENSE="MIT" |
23 |
SLOT="0" |
24 |
-IUSE="elogind fish-completion +man +swaybar +swaybg +swayidle +swaylock +swaymsg +swaynag seatd systemd tray wallpapers X zsh-completion" |
25 |
-REQUIRED_USE="?? ( elogind systemd ) |
26 |
- tray? ( || ( elogind seatd systemd ) )" |
27 |
+IUSE="fish-completion +man +swaybar +swaybg +swayidle +swaylock +swaymsg +swaynag tray wallpapers X zsh-completion" |
28 |
|
29 |
DEPEND=" |
30 |
>=dev-libs/json-c-0.13:0= |
31 |
>=dev-libs/libinput-1.6.0:0= |
32 |
+ sys-auth/seatd:= |
33 |
dev-libs/libpcre |
34 |
dev-libs/wayland |
35 |
x11-libs/cairo |
36 |
@@ -34,21 +33,19 @@ DEPEND=" |
37 |
x11-libs/pango |
38 |
x11-libs/pixman |
39 |
media-libs/mesa[gles2,libglvnd(+)] |
40 |
- elogind? ( >=sys-auth/elogind-239 ) |
41 |
swaybar? ( x11-libs/gdk-pixbuf:2 ) |
42 |
swaybg? ( gui-apps/swaybg ) |
43 |
swayidle? ( gui-apps/swayidle ) |
44 |
swaylock? ( gui-apps/swaylock ) |
45 |
- systemd? ( >=sys-apps/systemd-239[policykit] ) |
46 |
wallpapers? ( x11-libs/gdk-pixbuf:2[jpeg] ) |
47 |
X? ( x11-libs/libxcb:0= ) |
48 |
" |
49 |
if [[ ${PV} == 9999 ]]; then |
50 |
- DEPEND+="~gui-libs/wlroots-9999:=[elogind=,seatd=,systemd=,X=]" |
51 |
+ DEPEND+="~gui-libs/wlroots-9999:=[X=]" |
52 |
else |
53 |
DEPEND+=" |
54 |
- >=gui-libs/wlroots-0.13:=[elogind=,seatd=,systemd=,X=] |
55 |
- <gui-libs/wlroots-0.14:=[elogind=,seatd=,systemd=,X=] |
56 |
+ >=gui-libs/wlroots-0.14:=[X=] |
57 |
+ <gui-libs/wlroots-0.15:=[X=] |
58 |
" |
59 |
fi |
60 |
RDEPEND=" |
61 |
@@ -97,19 +94,3 @@ src_configure() { |
62 |
|
63 |
meson_src_configure |
64 |
} |
65 |
- |
66 |
-pkg_preinst() { |
67 |
- if ! use systemd && ! use elogind && ! use seatd; then |
68 |
- fowners root:0 /usr/bin/sway |
69 |
- fperms 4511 /usr/bin/sway |
70 |
- fi |
71 |
-} |
72 |
- |
73 |
-pkg_postinst() { |
74 |
- if ! use systemd && ! use elogind && ! use seatd; then |
75 |
- elog "" |
76 |
- elog "If your system does not set the XDG_RUNTIME_DIR environment" |
77 |
- elog "variable, you must set it manually to run Sway. See wiki" |
78 |
- elog "for details: https://wiki.gentoo.org/wiki/Sway" |
79 |
- fi |
80 |
-} |