commit:     c4afc732f1562592a9ef5b42e0e13a3dc00e7006
Author:     Mykyta Holubakha <hilobakho <AT> gmail <DOT> com>
AuthorDate: Thu Jul 27 19:09:04 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jul 30 14:37:25 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4afc732

dev-libs/wlc: updated live ebuild

Closes: https://github.com/gentoo/gentoo/pull/5224

 dev-libs/wlc/wlc-9999.ebuild | 24 ++++++++++++++++--------
 1 file changed, 16 insertions(+), 8 deletions(-)

diff --git a/dev-libs/wlc/wlc-9999.ebuild b/dev-libs/wlc/wlc-9999.ebuild
index 535af3d4823..709fe5def74 100644
--- a/dev-libs/wlc/wlc-9999.ebuild
+++ b/dev-libs/wlc/wlc-9999.ebuild
@@ -13,7 +13,7 @@ EGIT_REPO_URI="https://github.com/Cloudef/wlc.git";
 LICENSE="MIT ZLIB"
 SLOT="0"
 KEYWORDS=""
-IUSE="X static-libs systemd xwayland"
+IUSE="X static-libs systemd +xwayland"
 
 RDEPEND="virtual/opengl
        virtual/libudev
@@ -24,12 +24,19 @@ RDEPEND="virtual/opengl
        x11-misc/xkeyboard-config
        dev-libs/libinput
        dev-libs/wayland
-       X? ( x11-libs/libX11
-                x11-libs/libxcb[xkb]
-                x11-libs/xcb-util-image
-                x11-libs/xcb-util-wm
-                x11-libs/libXfixes )
-       xwayland? ( x11-base/xorg-server[wayland] )
+       X? (
+               x11-libs/libX11
+               x11-libs/libxcb[xkb]
+               x11-libs/xcb-util-image
+               x11-libs/xcb-util-wm
+               x11-libs/libXfixes
+       )
+       xwayland? (
+               x11-libs/libxcb[xkb]
+               x11-libs/xcb-util-image
+               x11-libs/xcb-util-wm
+               x11-base/xorg-server[wayland]
+       )
        systemd? ( sys-apps/systemd sys-apps/dbus )"
 
 DEPEND="${RDEPEND}
@@ -43,7 +50,8 @@ src_configure() {
 
                -DWLC_BUILD_STATIC=$(usex static-libs)
 
-               -DWLC_X11_SUPPORT=$(usex X)
+               -DWLC_X11_BACKEND_SUPPORT=$(usex X)
+               -DWLC_XWAYLAND_SUPPORT=$(usex xwayland)
 
                $(cmake-utils_use_find_package systemd Systemd)
                $(cmake-utils_use_find_package systemd Dbus)

Reply via email to