dev-libs/cglm: add 0.8.9

Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com>
This commit is contained in:
Oliver Freyermuth
2023-02-04 20:25:57 +01:00
parent 640fee1509
commit 361bd54a93
2 changed files with 47 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST cglm-0.8.7.tar.gz 630522 BLAKE2B 063daa82a52136bb8f19ac120afa3813e2a5edab8db161fe87de6217402b37be4db0e904619659e2bd4a4c152dd47d5aeba704aec326b7d5d100c9957932ff1f SHA512 658b9af42111a4e2f68a3fe0665d51a5b2b34abefa404374d843d5b5506eac51d07e9e29549e69683d18982856e175573d218ceb55617870f239c00b1bf6bc0f
DIST cglm-0.8.8.tar.gz 631074 BLAKE2B 381de733722ef7cc7deb8799da2e7ccb2efeec1fd8cf9322c98216e796b829d4b81208e93c6b0e4f14b868fe60d498142b59c5de48e578df656333f4196967f9 SHA512 a89f76378aee6ee8a7a38b9ce975bff1873590b4cb83daaf658b2875578758d05e15e92ef7141df3109ee37e6b097eda0bb2e60b13fdeca536a72053145c5ece
DIST cglm-0.8.9.tar.gz 631331 BLAKE2B 17f6f8d379aa81ee9327315b121cc7629fcc394fe032c1e1540e5153b2d3b0a2129f27eb46a8ae4323aa826b2bfff310b9039f78953d52d0bd994ba493fcdbd9 SHA512 ac0a042d61c60eac7d6616e5bc0f5c3e77b1a45f58f6732b34edc9a0d714046777e4b490200a3b54c6325ddad5b5faeb3648a299685f748f8b0618ce66a9a7f4

View File

@@ -0,0 +1,46 @@
# Copyright 2019-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DOCS_BUILDER="sphinx"
DOCS_AUTODOC=1
DOCS_DEPEND="dev-python/sphinx_rtd_theme"
DOCS_DIR="${S}/docs/source"
PYTHON_COMPAT=( python3_{8..11} )
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_prepare() {
default
# Enable autodoc since themeing plugin is used.
sed -i "s#'sphinx.ext.githubpages'#'sphinx.ext.githubpages','sphinx.ext.autodoc'#" docs/source/conf.py || die
}
src_configure() {
local emesonargs=(
"-Dwerror=false"
)
meson_src_configure
}
src_compile() {
default
meson_src_compile
docs_compile
}