mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 12:33:40 -04:00
media-libs/gl4es: Follow mesa and forge USE=egl
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# Copyright 2021 Gentoo Authors
|
# Copyright 2021-2022 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
@@ -10,11 +10,11 @@ HOMEPAGE="http://ptitseb.github.io/gl4es/"
|
|||||||
EGIT_REPO_URI="https://github.com/ptitSeb/gl4es.git"
|
EGIT_REPO_URI="https://github.com/ptitSeb/gl4es.git"
|
||||||
LICENSE="MIT"
|
LICENSE="MIT"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE="egl X test"
|
IUSE="X test"
|
||||||
RESTRICT="!test? ( test )"
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
DEPEND="
|
DEPEND="
|
||||||
media-libs/mesa[X?,egl?]
|
media-libs/mesa[X?,egl(+)]
|
||||||
"
|
"
|
||||||
RDEPEND="${DEPEND}"
|
RDEPEND="${DEPEND}"
|
||||||
BDEPEND="test? ( dev-util/apitrace )"
|
BDEPEND="test? ( dev-util/apitrace )"
|
||||||
@@ -24,7 +24,6 @@ BDEPEND="test? ( dev-util/apitrace )"
|
|||||||
src_configure() {
|
src_configure() {
|
||||||
local mycmakeargs=(
|
local mycmakeargs=(
|
||||||
-DNOX11=$(usex !X)
|
-DNOX11=$(usex !X)
|
||||||
-DNOEGL=$(usex !egl)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
cmake_src_configure
|
cmake_src_configure
|
||||||
|
|||||||
@@ -5,9 +5,6 @@
|
|||||||
<email>contact@hacktivis.me</email>
|
<email>contact@hacktivis.me</email>
|
||||||
<name>Haelwenn (lanodan) Monnier</name>
|
<name>Haelwenn (lanodan) Monnier</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
<use>
|
|
||||||
<flag name="egl">Enable EGL support.</flag>
|
|
||||||
</use>
|
|
||||||
<upstream>
|
<upstream>
|
||||||
<remote-id type="github">ptitSeb/gl4es</remote-id>
|
<remote-id type="github">ptitSeb/gl4es</remote-id>
|
||||||
</upstream>
|
</upstream>
|
||||||
|
|||||||
Reference in New Issue
Block a user