diff options
author | Mykyta Holubakha <hilobakho@gmail.com> | 2017-07-27 22:26:42 +0300 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-07-30 16:37:47 +0200 |
commit | bc23c8123ca6f78bb54b3366c41bb2b8bb0ad0a2 (patch) | |
tree | b325fb9427cf6747038ab13cc53b19d9dd3cd095 /dev-libs | |
parent | dev-libs/sway: drop old 0.12.2 (diff) | |
download | gentoo-bc23c8123ca6f78bb54b3366c41bb2b8bb0ad0a2.tar.gz gentoo-bc23c8123ca6f78bb54b3366c41bb2b8bb0ad0a2.tar.bz2 gentoo-bc23c8123ca6f78bb54b3366c41bb2b8bb0ad0a2.zip |
dev-libs/sway: updated live ebuild
Closes: https://github.com/gentoo/gentoo/pull/5224
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/sway/sway-9999.ebuild | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/dev-libs/sway/sway-9999.ebuild b/dev-libs/sway/sway-9999.ebuild index 93173283fe5f..bd77799828ac 100644 --- a/dev-libs/sway/sway-9999.ebuild +++ b/dev-libs/sway/sway-9999.ebuild @@ -13,7 +13,9 @@ EGIT_REPO_URI="https://github.com/SirCmpwn/sway.git" LICENSE="MIT" SLOT="0" KEYWORDS="" -IUSE="+swaybg +swaybar +swaymsg swaygrab swaylock +gdk-pixbuf zsh-completion wallpapers systemd" +IUSE="+swaybg +swaybar +swaymsg swaygrab swaylock +gdk-pixbuf zsh-completion wallpapers systemd +tray" + +REQUIRED_USE="tray? ( swaybar )" RDEPEND="=dev-libs/wlc-9999[systemd=] dev-libs/json-c @@ -25,6 +27,7 @@ RDEPEND="=dev-libs/wlc-9999[systemd=] x11-libs/pango x11-libs/cairo swaylock? ( virtual/pam ) + tray? ( sys-apps/dbus ) gdk-pixbuf? ( x11-libs/gdk-pixbuf[jpeg] )" DEPEND="${RDEPEND} @@ -45,6 +48,7 @@ src_configure() { -Denable-swaygrab=$(usex swaygrab) -Denable-swaylock=$(usex swaylock) -Denable-swaymsg=$(usex swaymsg) + -Denable-tray=$(usex tray) -Ddefault-wallpaper=$(usex wallpapers) @@ -69,5 +73,11 @@ pkg_postinst() { optfeature "swaygrab screenshot support" media-gfx/imagemagick[png] optfeature "swaygrab video capture support" virtual/ffmpeg fi + if use tray + then + optfeature "experimental xembed tray icons support" \ + x11-misc/xembedsniproxy + fi optfeature "X11 applications support" dev-libs/wlc[xwayland] x11-base/xorg-server[wayland] + } |