Files
guru/dev-libs/cglm/cglm-0.8.5.ebuild
Oliver Freyermuth 4c9fe7636d dev-libs/cglm: Bump to version 0.8.5.
Also bumps to EAPI 8 and allows Python 3.10.

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com>
2022-03-20 20:37:14 +01:00

40 lines
722 B
Bash

# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DOCS_BUILDER="sphinx"
DOCS_AUTODOC=0
DOCS_DIR="${S}/docs/source"
PYTHON_COMPAT=( python3_{8,9,10} )
inherit python-any-r1
inherit docs meson
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/recp/cglm.git"
else
SRC_URI="https://github.com/recp/cglm/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
DESCRIPTION="OpenGL Mathematics (glm) for C"
HOMEPAGE="https://github.com/recp/cglm"
LICENSE="MIT"
SLOT="0"
src_configure() {
local emesonargs=(
"-Dwerror=false"
)
meson_src_configure
}
src_compile() {
default
meson_src_compile
docs_compile
}