Files
guru/media-libs/gl4es/gl4es-9999.ebuild
Ronny (tastytea) Gutbrod 2425eab7e7 media-libs/gl4es: update HOMEPAGE (change to HTTPS)
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
2022-04-12 21:31:59 +02:00

35 lines
722 B
Bash

# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake git-r3
DESCRIPTION="OpenGL 2.1/1.5 to GL ES 2.0/1.1 translation library"
HOMEPAGE="https://ptitseb.github.io/gl4es/"
EGIT_REPO_URI="https://github.com/ptitSeb/gl4es.git"
LICENSE="MIT"
SLOT="0"
IUSE="X test"
RESTRICT="!test? ( test )"
DEPEND="
media-libs/mesa[X?,egl(+)]
"
RDEPEND="${DEPEND}"
BDEPEND="test? ( dev-util/apitrace )"
# Note: Should be added into virtual/opengl if moved to ::gentoo
src_configure() {
local mycmakeargs=(
-DNOX11=$(usex !X)
)
cmake_src_configure
}
pkg_install() {
einfo "To use this replacement library add ${PREFIX}/usr/lib/gl4es/ to LD_LIBRARY_PATH"
}