From 5182fbc94a91ce973c61791e48b1c3e828e4cfe7 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sun, 8 Mar 2020 11:49:43 -0700 Subject: [PATCH] media-libs/mesa: Depend on media-libs/libglvnd[X?] Since libglvnd provides gl.pc only with USE=X, and many packages depend on mesa[X], it makes sense to require matching USE=X. Suggested by Arfrever. Signed-off-by: Matt Turner --- media-libs/mesa/mesa-19.3.4.ebuild | 2 +- media-libs/mesa/mesa-20.0.1.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/media-libs/mesa/mesa-19.3.4.ebuild b/media-libs/mesa/mesa-19.3.4.ebuild index ae2e6e6626c4..78bbe80db9e8 100644 --- a/media-libs/mesa/mesa-19.3.4.ebuild +++ b/media-libs/mesa/mesa-19.3.4.ebuild @@ -77,7 +77,7 @@ RDEPEND=" >=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}] >=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}] libglvnd? ( - >=media-libs/libglvnd-1.2.0-r1[${MULTILIB_USEDEP}] + >=media-libs/libglvnd-1.2.0-r1[X?,${MULTILIB_USEDEP}] !app-eselect/eselect-opengl ) !libglvnd? ( diff --git a/media-libs/mesa/mesa-20.0.1.ebuild b/media-libs/mesa/mesa-20.0.1.ebuild index b7e1f507aed5..8805749d430f 100644 --- a/media-libs/mesa/mesa-20.0.1.ebuild +++ b/media-libs/mesa/mesa-20.0.1.ebuild @@ -77,7 +77,7 @@ RDEPEND=" >=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}] >=sys-libs/zlib-1.2.8[${MULTILIB_USEDEP}] libglvnd? ( - >=media-libs/libglvnd-1.2.0-r1[${MULTILIB_USEDEP}] + >=media-libs/libglvnd-1.2.0-r1[X?,${MULTILIB_USEDEP}] !app-eselect/eselect-opengl ) !libglvnd? ( -- 2.26.2