From 2e6b794bf4361b8ae32bb6945e84696c2e1d94ba Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 4 Mar 2023 01:36:14 +0000 Subject: gentoo auto-resync : 04:03:2023 - 01:36:13 --- dev-libs/cglm/Manifest | 1 + dev-libs/cglm/cglm-0.8.9-r1.ebuild | 40 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 dev-libs/cglm/cglm-0.8.9-r1.ebuild (limited to 'dev-libs/cglm') diff --git a/dev-libs/cglm/Manifest b/dev-libs/cglm/Manifest index b55c1fce5237..84498dd97871 100644 --- a/dev-libs/cglm/Manifest +++ b/dev-libs/cglm/Manifest @@ -1,3 +1,4 @@ DIST cglm-0.8.9.tar.gz 631331 BLAKE2B 17f6f8d379aa81ee9327315b121cc7629fcc394fe032c1e1540e5153b2d3b0a2129f27eb46a8ae4323aa826b2bfff310b9039f78953d52d0bd994ba493fcdbd9 SHA512 ac0a042d61c60eac7d6616e5bc0f5c3e77b1a45f58f6732b34edc9a0d714046777e4b490200a3b54c6325ddad5b5faeb3648a299685f748f8b0618ce66a9a7f4 +EBUILD cglm-0.8.9-r1.ebuild 872 BLAKE2B bda5e47d3796710457b055a3838283b3bf1a6a781aaf50be5a7b1c59d2934476586b02930d1e6df534ad358771abf6f4d5fa49437c384773207f495fabef015d SHA512 c4c97d092509b628744cfc0bd2a8c1851cda842add8645fae8e2a195fb37f54d77cfaaf350ad7997109069d2ef1141c141b99ab03a216c0e867e520c47999091 EBUILD cglm-0.8.9.ebuild 509 BLAKE2B 4b596071ff915c93b4d3637772d787baa1699641ec71bb3c3d75644dd595df68ec99d3705f2dd2d959207a775e43649d149487d40bdedec6e3e08c034f13be5e SHA512 808dae416359a17a4de003577d5ecd0edc32da4ff0dd9669fd88841a09d247da9d1135e823d98e0fc2bf15d6a757ae2b43979e04ea969fd413204daa1ed2cfe5 MISC metadata.xml 326 BLAKE2B bae3dddd1d78f4e11e581e13ec9b27181bac9d1d7b3bf146c10bc4851185e1dbac9ce68b1ad14cb1bc692c7aa379eb5dfee915827eaed9382d068ae04c3562a3 SHA512 5f42f80b1e9b00854a6d0bbe41e32bd81659fb254b53d483dd27c33875b3db362c301894f2e961969ec17c06333c22ab6438a01d231bf3232a1044db934118bc diff --git a/dev-libs/cglm/cglm-0.8.9-r1.ebuild b/dev-libs/cglm/cglm-0.8.9-r1.ebuild new file mode 100644 index 000000000000..8adee7688d32 --- /dev/null +++ b/dev-libs/cglm/cglm-0.8.9-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 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_{9..11} ) +inherit python-any-r1 docs meson + +DESCRIPTION="OpenGL Mathematics (glm) for C" +HOMEPAGE="https://github.com/recp/cglm" +SRC_URI="https://github.com/recp/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc64 ~x86" +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=( + $(meson_use test build_tests) + ) + meson_src_configure +} + +src_compile() { + meson_src_compile + docs_compile +} -- cgit v1.2.3