mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
dev-libs/cglm: Drop oldest version.
Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST cglm-0.8.2.tar.gz 231038 BLAKE2B 138a3aec9446e0588b0fc43462f05caf901ac8d03337120e477ec91df2bb0f65aea43921384eeb3d07d63dc4cd8b6ec016d55d6a40ab1e8db4fd6c74131817b9 SHA512 9ed9661f69fc46c7f0fe8468ec7cdf4071118adaa06b97f99134f5d04a0f7b21158df479f678f78e927c6e4a5d2e6f38c2e8d38ef40ab1f04b2b721af3e7a152
|
||||
DIST cglm-0.8.3.tar.gz 246664 BLAKE2B 70e89d8926b3470c32ef847d2076fb1d8cbce0b0aa726f84c0bcf0207419b3ee7d70f1bfb40b1598827cd74c1b3482d86d0bb4cb3c77c3667ae341829580cca6 SHA512 71062814637e2523b2632980384fa58a639cdc1bbe8b647e7826fe334a53cd880bd5b29baac7d5eaff2bb009a97830c76b239e7273af46908ad7ab52cc8b8173
|
||||
DIST cglm-0.8.4.tar.gz 620905 BLAKE2B 9891172bd97c714f81ec931daa82c62d7f2a91008a44b8a49a24cd899bd15b7a5d21c2e7ae322d670336233682435f0f28eab2630891d153b8df5c562478e610 SHA512 507875119eac77cb3f60fe2353cd92b39f50605fdbf68f56d27b7062b7ec6b1cadd868f70c059ebde17adaf4a9167e5082c0151f1af5b0a5e751864a1eca1fa8
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
# Copyright 2019-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit 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"
|
||||
|
||||
IUSE="doc"
|
||||
|
||||
BDEPEND="dev-util/meson
|
||||
doc? ( dev-python/sphinx )"
|
||||
|
||||
PATCHES=(
|
||||
# Upstream patch: https://github.com/recp/cglm/commit/13269f4af8d3c95220f97746c968eac3ba122a32
|
||||
"${FILESDIR}"/${PN}-0.8.2-fix-vec3-vec4.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
"-Dwerror=false"
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
meson_src_compile
|
||||
if use doc; then
|
||||
einfo "Building documentation ..."
|
||||
local doc_dir="${S}/docs"
|
||||
cd "${doc_dir}" || die "Cannot chdir into \"${doc_dir}\"!"
|
||||
sphinx-build -b html source build || die "Building documentation failed!"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use doc && local HTML_DOCS=( "${S}/docs/build/." )
|
||||
default
|
||||
meson_src_install
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
From 13269f4af8d3c95220f97746c968eac3ba122a32 Mon Sep 17 00:00:00 2001
|
||||
From: winter091 <winter091@yandex.ru>
|
||||
Date: Sat, 1 May 2021 16:48:31 +0300
|
||||
Subject: [PATCH] fix typo: vec3 -> vec4
|
||||
|
||||
---
|
||||
include/cglm/call/vec4.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/include/cglm/call/vec4.h b/include/cglm/call/vec4.h
|
||||
index 28a3734..f56f599 100644
|
||||
--- a/include/cglm/call/vec4.h
|
||||
+++ b/include/cglm/call/vec4.h
|
||||
@@ -99,7 +99,7 @@ glmc_vec4_scale(vec4 v, float s, vec4 dest);
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
-glmc_vec4_scale_as(vec3 v, float s, vec3 dest);
|
||||
+glmc_vec4_scale_as(vec4 v, float s, vec4 dest);
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
Reference in New Issue
Block a user