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: Sun, 14 Apr 2019 19:31:37
Message-Id: 1555270278.dcc45328eeeb5bb952e424448ae7bef772bd4e1d.tupone@gentoo
1 commit: dcc45328eeeb5bb952e424448ae7bef772bd4e1d
2 Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 14 19:31:18 2019 +0000
4 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 14 19:31:18 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcc45328
7
8 media-libs/glm: Version bump to 0.9.9.5
9
10 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
11 Package-Manager: Portage-2.3.62, Repoman-2.3.11
12
13 media-libs/glm/Manifest | 1 +
14 media-libs/glm/glm-0.9.9.5.ebuild | 31 +++++++++++++++++++++++++++++++
15 2 files changed, 32 insertions(+)
16
17 diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
18 index 5a8a8c49456..197ebe8778d 100644
19 --- a/media-libs/glm/Manifest
20 +++ b/media-libs/glm/Manifest
21 @@ -1,2 +1,3 @@
22 DIST glm-0.9.9.2.tar.gz 4572279 BLAKE2B 8b9ade542989b3f73f1a80403b73b5c04c5d64ae259891a6b41564eb7b4417876d527ea8440352f2feec6480ec926ca877a4849c4e75c6ece3692d24d87c942a SHA512 80a5fbeaaea5f1034cd6f8ad3f4daf8b5fa8d9410ccce15ced20f37e24c0f6083332fde82b1fa7357399b3e37c1a31dd3a14f257b7847a5f1ddefa627b50351a
23 DIST glm-0.9.9.4.tar.gz 4578404 BLAKE2B 4c0bb64bb477ca46d45b4d25d7d992a39a82a7d745d4564dfac04c7f6e31ea0741b33d2d6c7832580e6f51f62a2efe269a9601c10d87f1e68b333e71e20c3d02 SHA512 50e4784fcd5f1da4ae27830948ffe4b412ec53447b89d30c6dcc2b4e0f9ec05cca4b07461d3d8a339eb103fae8dac325fabc87607b5397122ce2021d6e15a1a1
24 +DIST glm-0.9.9.5.tar.gz 4578601 BLAKE2B 9ce4dc7e638a651f958e2e0e1bfa0da121aefc382579838bfd810952bb8f4253e17caa6d743de713c86a4e8bd5f1afa38f8162e5f2d98ab141d94574d1103d40 SHA512 3b329acf5144aab1c0f47f8045d34e097699bd6685118ad8322c5ce23afdcb44ba2bb07e49301db06355b8eef7d4340b72251d55e113b533740d1e6ef6609911
25
26 diff --git a/media-libs/glm/glm-0.9.9.5.ebuild b/media-libs/glm/glm-0.9.9.5.ebuild
27 new file mode 100644
28 index 00000000000..169bf319fad
29 --- /dev/null
30 +++ b/media-libs/glm/glm-0.9.9.5.ebuild
31 @@ -0,0 +1,31 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit cmake-utils
38 +
39 +DESCRIPTION="OpenGL Mathematics"
40 +HOMEPAGE="http://glm.g-truc.net/"
41 +SRC_URI="https://github.com/g-truc/glm/archive/${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="|| ( HappyBunny MIT )"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
46 +IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx cpu_flags_x86_avx2"
47 +
48 +RDEPEND="virtual/opengl"
49 +
50 +src_configure() {
51 + if use test; then
52 + local mycmakeargs=(
53 + -DGLM_TEST_ENABLE=ON
54 + -DGLM_TEST_ENABLE_SIMD_SSE2="$(usex cpu_flags_x86_sse2 ON OFF)"
55 + -DGLM_TEST_ENABLE_SIMD_SSE3="$(usex cpu_flags_x86_sse3 ON OFF)"
56 + -DGLM_TEST_ENABLE_SIMD_AVX="$(usex cpu_flags_x86_avx ON OFF)"
57 + -DGLM_TEST_ENABLE_SIMD_AVX2="$(usex cpu_flags_x86_avx2 ON OFF)"
58 + )
59 + fi
60 +
61 + cmake-utils_src_configure
62 +}