media-libs/mesa: Depend on media-libs/libglvnd[X?]
authorMatt Turner <mattst88@gentoo.org>
Sun, 8 Mar 2020 18:49:43 +0000 (11:49 -0700)
committerMatt Turner <mattst88@gentoo.org>
Sun, 8 Mar 2020 18:51:05 +0000 (11:51 -0700)
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@gentoo.org>
media-libs/mesa/mesa-19.3.4.ebuild
media-libs/mesa/mesa-20.0.1.ebuild

index ae2e6e6626c4ee134d64d970bcc144d3b4a9965e..78bbe80db9e852a80cddc2995346327a99763152 100644 (file)
@@ -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? (
index b7e1f507aed55586730ec5bf03bed929445b5a34..8805749d430f579b4ad9b5173df8256b60f5e3da 100644 (file)
@@ -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? (