From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1111745-garchives=archives.gentoo.org@lists.gentoo.org> 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 3CC41138334 for <garchives@archives.gentoo.org>; Wed, 18 Sep 2019 20:24:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DC67EE0940; Wed, 18 Sep 2019 20:24:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C39CFE0940 for <gentoo-commits@lists.gentoo.org>; Wed, 18 Sep 2019 20:24:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6644334B37F for <gentoo-commits@lists.gentoo.org>; Wed, 18 Sep 2019 20:24:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CAD9F7E9 for <gentoo-commits@lists.gentoo.org>; Wed, 18 Sep 2019 20:24:22 +0000 (UTC) From: "Matt Turner" <mattst88@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" <mattst88@gentoo.org> Message-ID: <1568837390.378052578c7a89a49ecec89c8944c5f5c7190dda.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libglvnd/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libglvnd/libglvnd-9999.ebuild X-VCS-Directories: media-libs/libglvnd/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 378052578c7a89a49ecec89c8944c5f5c7190dda X-VCS-Branch: master Date: Wed, 18 Sep 2019 20:24:22 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 52ef0cd4-744e-42e2-9688-79516f350386 X-Archives-Hash: e84f2d5ced3478995acf9e4fc96596c0 commit: 378052578c7a89a49ecec89c8944c5f5c7190dda Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Wed Sep 18 19:26:23 2019 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Wed Sep 18 20:09:50 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37805257 media-libs/libglvnd: Make X11 support optional Closes: https://bugs.gentoo.org/693754 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> media-libs/libglvnd/libglvnd-9999.ebuild | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/media-libs/libglvnd/libglvnd-9999.ebuild b/media-libs/libglvnd/libglvnd-9999.ebuild index 7c3c16d23be..be06e85ba9a 100644 --- a/media-libs/libglvnd/libglvnd-9999.ebuild +++ b/media-libs/libglvnd/libglvnd-9999.ebuild @@ -25,14 +25,17 @@ fi LICENSE="MIT" SLOT="0" -IUSE="" +IUSE="X" RDEPEND=" !media-libs/mesa[-libglvnd(-)] - x11-libs/libX11[${MULTILIB_USEDEP}] - " + X? ( + x11-libs/libX11[${MULTILIB_USEDEP}] + x11-libs/libXext[${MULTILIB_USEDEP}] + )" DEPEND="${PYTHON_DEPS} - ${RDEPEND}" + ${RDEPEND} + X? ( x11-base/xorg-proto )" src_prepare() { default @@ -40,7 +43,12 @@ src_prepare() { } multilib_src_configure() { - ECONF_SOURCE=${S} econf + myconf=( + --disable-headers + $(use_enable X x11) + $(use_enable X glx) + ) + ECONF_SOURCE=${S} econf "${myconf[@]}" } multilib_src_install() {