Gentoo Archives: gentoo-commits

From: Alfredo Tupone <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/glm/
Date: Tue, 18 Feb 2020 11:22:57
Message-Id: 1582024958.cace804f673d1d78a94e7244d66986853859ca22.tupone@gentoo
1 commit: cace804f673d1d78a94e7244d66986853859ca22
2 Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 18 11:21:46 2020 +0000
4 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 18 11:22:38 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cace804f
7
8 media-libs/glm: restore arm64 stable version
9
10 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
11
12 media-libs/glm/Manifest | 1 +
13 media-libs/glm/glm-0.9.9.5.ebuild | 32 ++++++++++++++++++++++++++++++++
14 2 files changed, 33 insertions(+)
15
16 diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
17 index 6b41fed3948..f75ae6b2e52 100644
18 --- a/media-libs/glm/Manifest
19 +++ b/media-libs/glm/Manifest
20 @@ -1 +1,2 @@
21 +DIST glm-0.9.9.5.tar.gz 4578601 BLAKE2B 9ce4dc7e638a651f958e2e0e1bfa0da121aefc382579838bfd810952bb8f4253e17caa6d743de713c86a4e8bd5f1afa38f8162e5f2d98ab141d94574d1103d40 SHA512 3b329acf5144aab1c0f47f8045d34e097699bd6685118ad8322c5ce23afdcb44ba2bb07e49301db06355b8eef7d4340b72251d55e113b533740d1e6ef6609911
22 DIST glm-0.9.9.7.tar.gz 4357077 BLAKE2B 59746a8775e0fc20fe8a8c3ae01c48841066d6092ce3cd7fa93bbf29f5247c42645bc920a3dbf3f0b4b61eb1e47f46514d9cd98c4e6df133ced0072ba6a570ee SHA512 9c557788d6382777317c94f8b30bc3df7e533877705514fa5d384f97b076d6bc750e841acbecdec8113e21af07bd8850159f5f1e079aaa2cde25540b480f983b
23
24 diff --git a/media-libs/glm/glm-0.9.9.5.ebuild b/media-libs/glm/glm-0.9.9.5.ebuild
25 new file mode 100644
26 index 00000000000..b439b0bf903
27 --- /dev/null
28 +++ b/media-libs/glm/glm-0.9.9.5.ebuild
29 @@ -0,0 +1,32 @@
30 +# Copyright 1999-2019 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +inherit cmake-utils
36 +
37 +DESCRIPTION="OpenGL Mathematics"
38 +HOMEPAGE="http://glm.g-truc.net/"
39 +SRC_URI="https://github.com/g-truc/glm/archive/${PV}.tar.gz -> ${P}.tar.gz"
40 +
41 +LICENSE="|| ( HappyBunny MIT )"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~arm arm64 ~ppc64 ~x86"
44 +IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx cpu_flags_x86_avx2"
45 +RESTRICT="!test? ( test )"
46 +
47 +RDEPEND="virtual/opengl"
48 +
49 +src_configure() {
50 + if use test; then
51 + local mycmakeargs=(
52 + -DGLM_TEST_ENABLE=ON
53 + -DGLM_TEST_ENABLE_SIMD_SSE2="$(usex cpu_flags_x86_sse2 ON OFF)"
54 + -DGLM_TEST_ENABLE_SIMD_SSE3="$(usex cpu_flags_x86_sse3 ON OFF)"
55 + -DGLM_TEST_ENABLE_SIMD_AVX="$(usex cpu_flags_x86_avx ON OFF)"
56 + -DGLM_TEST_ENABLE_SIMD_AVX2="$(usex cpu_flags_x86_avx2 ON OFF)"
57 + )
58 + fi
59 +
60 + cmake-utils_src_configure
61 +}