commit:     65874513a2b51ba7bf7ba0b053ba6b2f8732e458
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 21 22:30:30 2024 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Apr 21 22:40:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65874513

media-libs/libepoxy: RDEPEND on libglvnd[X?]

And remove IUSE=+egl at the same time since libglvnd always provides libEGL.

Bug: https://bugs.gentoo.org/929993
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 media-libs/libepoxy/libepoxy-9999.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/media-libs/libepoxy/libepoxy-9999.ebuild 
b/media-libs/libepoxy/libepoxy-9999.ebuild
index 5bc5cc5fd964..5e82b138f474 100644
--- a/media-libs/libepoxy/libepoxy-9999.ebuild
+++ b/media-libs/libepoxy/libepoxy-9999.ebuild
@@ -20,12 +20,13 @@ HOMEPAGE="https://github.com/anholt/libepoxy";
 
 LICENSE="MIT"
 SLOT="0"
-IUSE="+egl test +X"
+IUSE="test +X"
 
 RESTRICT="!test? ( test )"
 
 RDEPEND="
-       egl? ( media-libs/mesa[egl(+),${MULTILIB_USEDEP}] )"
+       media-libs/libglvnd[X?,${MULTILIB_USEDEP}]
+"
 DEPEND="${RDEPEND}
        X? ( x11-libs/libX11[${MULTILIB_USEDEP}] )"
 BDEPEND="${PYTHON_DEPS}
@@ -35,7 +36,7 @@ PATCHES=( 
"${FILESDIR}"/libepoxy-1.5.10-use-opengl.pc-without-x.patch )
 
 multilib_src_configure() {
        local emesonargs=(
-               -Degl=$(usex egl)
+               -Degl=yes
                -Dglx=$(usex X)
                $(meson_use X x11)
                $(meson_use test tests)

Reply via email to