media-libs/gl4es: Follow mesa and forge USE=egl

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
Haelwenn (lanodan) Monnier
2022-04-10 23:49:16 +02:00
parent 09e3fc495c
commit 95d25b62f1
2 changed files with 3 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 2021 Gentoo Authors
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -10,11 +10,11 @@ HOMEPAGE="http://ptitseb.github.io/gl4es/"
EGIT_REPO_URI="https://github.com/ptitSeb/gl4es.git"
LICENSE="MIT"
SLOT="0"
IUSE="egl X test"
IUSE="X test"
RESTRICT="!test? ( test )"
DEPEND="
media-libs/mesa[X?,egl?]
media-libs/mesa[X?,egl(+)]
"
RDEPEND="${DEPEND}"
BDEPEND="test? ( dev-util/apitrace )"
@@ -24,7 +24,6 @@ BDEPEND="test? ( dev-util/apitrace )"
src_configure() {
local mycmakeargs=(
-DNOX11=$(usex !X)
-DNOEGL=$(usex !egl)
)
cmake_src_configure

View File

@@ -5,9 +5,6 @@
<email>contact@hacktivis.me</email>
<name>Haelwenn (lanodan) Monnier</name>
</maintainer>
<use>
<flag name="egl">Enable EGL support.</flag>
</use>
<upstream>
<remote-id type="github">ptitSeb/gl4es</remote-id>
</upstream>