commit:     5182fbc94a91ce973c61791e48b1c3e828e4cfe7
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  8 18:49:43 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Mar  8 18:51:05 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5182fbc9

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 <mattst88 <AT> gentoo.org>

 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 ae2e6e6626c..78bbe80db9e 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 b7e1f507aed..8805749d430 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? (

Reply via email to