From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2123C1395E2 for ; Fri, 4 Nov 2016 22:23:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AB6E5E0B91; Fri, 4 Nov 2016 22:23:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 64A74E0B96 for ; Fri, 4 Nov 2016 22:23:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E3A4A34164C for ; Fri, 4 Nov 2016 22:23:29 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E4ADC7E1 for ; Fri, 4 Nov 2016 22:23:27 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1478298184.e366d8cd7eb95abaaff29f6e19a65a97dd4685b2.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/wlc/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/wlc/metadata.xml dev-libs/wlc/wlc-9999.ebuild X-VCS-Directories: dev-libs/wlc/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: e366d8cd7eb95abaaff29f6e19a65a97dd4685b2 X-VCS-Branch: master Date: Fri, 4 Nov 2016 22:23:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1bef422a-7f83-44d5-8efd-a06d33c2a907 X-Archives-Hash: 999ff72b0ecca516da7df4c53d18a416 commit: e366d8cd7eb95abaaff29f6e19a65a97dd4685b2 Author: Mykyta Holubakha gmail com> AuthorDate: Fri Nov 4 18:52:04 2016 +0000 Commit: Patrice Clement gentoo org> CommitDate: Fri Nov 4 22:23:04 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e366d8cd dev-libs/wlc: introduce xwayland use flag. Closes: https://github.com/gentoo/gentoo/pull/2744 Signed-off-by: Patrice Clement gentoo.org> dev-libs/wlc/metadata.xml | 1 + dev-libs/wlc/wlc-9999.ebuild | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/dev-libs/wlc/metadata.xml b/dev-libs/wlc/metadata.xml index bd85b2b..3319b29 100644 --- a/dev-libs/wlc/metadata.xml +++ b/dev-libs/wlc/metadata.xml @@ -12,5 +12,6 @@ Enable support for systemd-logind. Enable X11 backend and XWayland support. + Enable XWayland support. diff --git a/dev-libs/wlc/wlc-9999.ebuild b/dev-libs/wlc/wlc-9999.ebuild index 5a3e040..e44e750 100644 --- a/dev-libs/wlc/wlc-9999.ebuild +++ b/dev-libs/wlc/wlc-9999.ebuild @@ -14,7 +14,7 @@ EGIT_REPO_URI="https://github.com/Cloudef/wlc.git" LICENSE="MIT ZLIB" SLOT="0" KEYWORDS="" -IUSE="X static-libs systemd" +IUSE="X static-libs systemd xwayland" RDEPEND="virtual/opengl media-libs/mesa[wayland,gbm,gles2,egl] @@ -29,6 +29,7 @@ RDEPEND="virtual/opengl x11-libs/xcb-util-image x11-libs/xcb-util-wm x11-libs/libXfixes ) + xwayland? ( x11-base/xorg-server[wayland] ) systemd? ( sys-apps/systemd sys-apps/dbus )" DEPEND="${RDEPEND} @@ -52,9 +53,8 @@ src_configure() { } pkg_postinst() { - if use X && !has_version 'x11-base/xorg-server[wayland]' + if use X && !use xwayland then - elog "You have enabled wlc's X11 support. To use Xwayland, you must emerge" - elog "'x11-base/xorg-server[wayland]'." + elog "xwayland use flag is required for X11 applications support" fi }