diff --git a/dev-libs/cglm/Manifest b/dev-libs/cglm/Manifest index 0ff60093da..176bcc6453 100644 --- a/dev-libs/cglm/Manifest +++ b/dev-libs/cglm/Manifest @@ -1 +1,2 @@ DIST cglm-0.8.5.tar.gz 621734 BLAKE2B 7cde681529a1e43444a431793bbeb09122c636b50650489c44b98f03a01477c5192e2109e6777d5a9c4254dbe6fd91371011762c77f76011a245dbbddf24f359 SHA512 a8f6df415dc482a9b16bb7ff44aba77c32e7297b48d5e7b0fb5b2e0d92fc80cad8e436d0c83fdd7cc0836ba451137d72af2f0f823ce9698000bf257b3019b7c5 +DIST cglm-0.8.6.tar.gz 630230 BLAKE2B 21bc97110c87989ab218335254062566e6e58b558c6f8778004ab036a345bb6abd59018150fe902e27fb044c38301c03f608bda49bce68055750fb74457fa73a SHA512 50f8327f1b93577f05244f1e9b5541f66cb9279f431260f19800f650dcfadb02a7a7bdfa3fee2bf59d2d711f1898a5ede3a054d4defa221c1f04f2608b151c71 diff --git a/dev-libs/cglm/cglm-0.8.6.ebuild b/dev-libs/cglm/cglm-0.8.6.ebuild new file mode 100644 index 0000000000..b148db8ed2 --- /dev/null +++ b/dev-libs/cglm/cglm-0.8.6.ebuild @@ -0,0 +1,39 @@ +# 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..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_configure() { + local emesonargs=( + "-Dwerror=false" + ) + meson_src_configure +} + +src_compile() { + default + meson_src_compile + docs_compile +}