commit:     f74b9395893e5ff94816f63d825c934e4e0985d4
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Wed Oct 26 20:27:25 2022 +0000
Commit:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
CommitDate: Wed Oct 26 20:27:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f74b9395

dev-libs/cglm: add 0.8.7

Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>

 dev-libs/cglm/Manifest          |  1 +
 dev-libs/cglm/cglm-0.8.7.ebuild | 39 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/dev-libs/cglm/Manifest b/dev-libs/cglm/Manifest
index 176bcc645..bd036b21a 100644
--- a/dev-libs/cglm/Manifest
+++ b/dev-libs/cglm/Manifest
@@ -1,2 +1,3 @@
 DIST cglm-0.8.5.tar.gz 621734 BLAKE2B 
7cde681529a1e43444a431793bbeb09122c636b50650489c44b98f03a01477c5192e2109e6777d5a9c4254dbe6fd91371011762c77f76011a245dbbddf24f359
 SHA512 
a8f6df415dc482a9b16bb7ff44aba77c32e7297b48d5e7b0fb5b2e0d92fc80cad8e436d0c83fdd7cc0836ba451137d72af2f0f823ce9698000bf257b3019b7c5
 DIST cglm-0.8.6.tar.gz 630230 BLAKE2B 
21bc97110c87989ab218335254062566e6e58b558c6f8778004ab036a345bb6abd59018150fe902e27fb044c38301c03f608bda49bce68055750fb74457fa73a
 SHA512 
50f8327f1b93577f05244f1e9b5541f66cb9279f431260f19800f650dcfadb02a7a7bdfa3fee2bf59d2d711f1898a5ede3a054d4defa221c1f04f2608b151c71
+DIST cglm-0.8.7.tar.gz 630522 BLAKE2B 
063daa82a52136bb8f19ac120afa3813e2a5edab8db161fe87de6217402b37be4db0e904619659e2bd4a4c152dd47d5aeba704aec326b7d5d100c9957932ff1f
 SHA512 
658b9af42111a4e2f68a3fe0665d51a5b2b34abefa404374d843d5b5506eac51d07e9e29549e69683d18982856e175573d218ceb55617870f239c00b1bf6bc0f

diff --git a/dev-libs/cglm/cglm-0.8.7.ebuild b/dev-libs/cglm/cglm-0.8.7.ebuild
new file mode 100644
index 000000000..b148db8ed
--- /dev/null
+++ b/dev-libs/cglm/cglm-0.8.7.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
+}

Reply via email to