summaryrefslogtreecommitdiff
path: root/dev-libs/cglm
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-02 22:51:20 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-02 22:51:20 +0100
commit1e9c38efad2f42ea208e40924d1e5936810ac7c0 (patch)
treedbcaa52c820c84eaba974e8a5bf4ba2b05a4bed2 /dev-libs/cglm
parent1f6d51a43dbfcb87ef81da70c688d354560e846a (diff)
gentoo auto-resync : 02:08:2023 - 22:51:19
Diffstat (limited to 'dev-libs/cglm')
-rw-r--r--dev-libs/cglm/Manifest3
-rw-r--r--dev-libs/cglm/cglm-0.9.0.ebuild (renamed from dev-libs/cglm/cglm-0.8.9.ebuild)20
2 files changed, 20 insertions, 3 deletions
diff --git a/dev-libs/cglm/Manifest b/dev-libs/cglm/Manifest
index 84498dd97871..6527e1dd1485 100644
--- a/dev-libs/cglm/Manifest
+++ b/dev-libs/cglm/Manifest
@@ -1,4 +1,5 @@
DIST cglm-0.8.9.tar.gz 631331 BLAKE2B 17f6f8d379aa81ee9327315b121cc7629fcc394fe032c1e1540e5153b2d3b0a2129f27eb46a8ae4323aa826b2bfff310b9039f78953d52d0bd994ba493fcdbd9 SHA512 ac0a042d61c60eac7d6616e5bc0f5c3e77b1a45f58f6732b34edc9a0d714046777e4b490200a3b54c6325ddad5b5faeb3648a299685f748f8b0618ce66a9a7f4
+DIST cglm-0.9.0.tar.gz 642861 BLAKE2B d02cb83abeeea793e5ab7b9473a9a26dcaf3e15209b555c34b6981e3becd6edbd94f0687126114a8917d9f4958575f2cf37a846b7fc54fd236d30198d1fe7aaf SHA512 23ad89df9cd80d69caf0fcf59d6acfbea710d9b6ae50634d4a32718d0214d1624df3bf8f874a76a93c3952e97f94ff48b65103035e87519bb9dbfce7fd2af427
EBUILD cglm-0.8.9-r1.ebuild 872 BLAKE2B bda5e47d3796710457b055a3838283b3bf1a6a781aaf50be5a7b1c59d2934476586b02930d1e6df534ad358771abf6f4d5fa49437c384773207f495fabef015d SHA512 c4c97d092509b628744cfc0bd2a8c1851cda842add8645fae8e2a195fb37f54d77cfaaf350ad7997109069d2ef1141c141b99ab03a216c0e867e520c47999091
-EBUILD cglm-0.8.9.ebuild 509 BLAKE2B 4b596071ff915c93b4d3637772d787baa1699641ec71bb3c3d75644dd595df68ec99d3705f2dd2d959207a775e43649d149487d40bdedec6e3e08c034f13be5e SHA512 808dae416359a17a4de003577d5ecd0edc32da4ff0dd9669fd88841a09d247da9d1135e823d98e0fc2bf15d6a757ae2b43979e04ea969fd413204daa1ed2cfe5
+EBUILD cglm-0.9.0.ebuild 872 BLAKE2B bda5e47d3796710457b055a3838283b3bf1a6a781aaf50be5a7b1c59d2934476586b02930d1e6df534ad358771abf6f4d5fa49437c384773207f495fabef015d SHA512 c4c97d092509b628744cfc0bd2a8c1851cda842add8645fae8e2a195fb37f54d77cfaaf350ad7997109069d2ef1141c141b99ab03a216c0e867e520c47999091
MISC metadata.xml 326 BLAKE2B bae3dddd1d78f4e11e581e13ec9b27181bac9d1d7b3bf146c10bc4851185e1dbac9ce68b1ad14cb1bc692c7aa379eb5dfee915827eaed9382d068ae04c3562a3 SHA512 5f42f80b1e9b00854a6d0bbe41e32bd81659fb254b53d483dd27c33875b3db362c301894f2e961969ec17c06333c22ab6438a01d231bf3232a1044db934118bc
diff --git a/dev-libs/cglm/cglm-0.8.9.ebuild b/dev-libs/cglm/cglm-0.9.0.ebuild
index c08a2059bd9c..8adee7688d32 100644
--- a/dev-libs/cglm/cglm-0.8.9.ebuild
+++ b/dev-libs/cglm/cglm-0.9.0.ebuild
@@ -2,7 +2,14 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit meson
+
+DOCS_BUILDER="sphinx"
+DOCS_AUTODOC=1
+DOCS_DEPEND="dev-python/sphinx-rtd-theme"
+DOCS_DIR="${S}/docs/source"
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit python-any-r1 docs meson
DESCRIPTION="OpenGL Mathematics (glm) for C"
HOMEPAGE="https://github.com/recp/cglm"
@@ -15,10 +22,19 @@ IUSE="test"
RESTRICT="!test? ( test )"
+src_prepare() {
+ default
+ # DOCS_DEPEND needs DOCS_AUTODOC which needs the extension
+ sed -i -e "/^extensions/s/$/ 'sphinx.ext.autodoc',/" docs/source/conf.py || die
+}
src_configure() {
local emesonargs=(
- "-Dwerror=false"
$(meson_use test build_tests)
)
meson_src_configure
}
+
+src_compile() {
+ meson_src_compile
+ docs_compile
+}