dev-libs/cglm: add 0.8.8

Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com>
This commit is contained in:
Oliver Freyermuth
2022-12-15 22:24:18 +01:00
parent 70b7951e96
commit efcfce92c5
2 changed files with 47 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST cglm-0.8.5.tar.gz 621734 BLAKE2B 7cde681529a1e43444a431793bbeb09122c636b50650489c44b98f03a01477c5192e2109e6777d5a9c4254dbe6fd91371011762c77f76011a245dbbddf24f359 SHA512 a8f6df415dc482a9b16bb7ff44aba77c32e7297b48d5e7b0fb5b2e0d92fc80cad8e436d0c83fdd7cc0836ba451137d72af2f0f823ce9698000bf257b3019b7c5
DIST cglm-0.8.7.tar.gz 630522 BLAKE2B 063daa82a52136bb8f19ac120afa3813e2a5edab8db161fe87de6217402b37be4db0e904619659e2bd4a4c152dd47d5aeba704aec326b7d5d100c9957932ff1f SHA512 658b9af42111a4e2f68a3fe0665d51a5b2b34abefa404374d843d5b5506eac51d07e9e29549e69683d18982856e175573d218ceb55617870f239c00b1bf6bc0f
DIST cglm-0.8.8.tar.gz 631074 BLAKE2B 381de733722ef7cc7deb8799da2e7ccb2efeec1fd8cf9322c98216e796b829d4b81208e93c6b0e4f14b868fe60d498142b59c5de48e578df656333f4196967f9 SHA512 a89f76378aee6ee8a7a38b9ce975bff1873590b4cb83daaf658b2875578758d05e15e92ef7141df3109ee37e6b097eda0bb2e60b13fdeca536a72053145c5ece

View File

@@ -0,0 +1,46 @@
# Copyright 2019-2022 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
}