commit:     3aea916e9e7b022a1f0fa9de237d27fa938a98f8
Author:     Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 22 20:41:03 2016 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Jul 22 20:41:38 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3aea916e

media-libs/glm: Version bump to 0.9.7.6

Package-Manager: portage-2.2.28

 media-libs/glm/Manifest           |  1 +
 media-libs/glm/glm-0.9.7.6.ebuild | 31 +++++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index 1d8a019..c6cb805 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -4,3 +4,4 @@ DIST glm-0.9.5.1.zip 4071873 SHA256 
4f621657a3a7e73e2062f0c9b4366ba5e14a3c3b3c04
 DIST glm-0.9.6.1.zip 4232099 SHA256 
1a8a0c84dee47b0493aa8d45ccd38dc02b917d9f14da835c5b06fb0b93bb33e8 SHA512 
7f1468c5e60e65181f4685a2429fa8d70350a3576175a55b7c9e8597a03837cb84aeaeb88d311e1e1948c5bd90ad9cee9286433cb78fdee54b0fbe5313ce2f84
 WHIRLPOOL 
88e0c6df25ee1bf73b625614be61c21c07389a7ecc05e2e74714da08412ab3ab0eba6c99c6a793f7b08d52f6748ef5202d8301c1b6cf4d64ab06184bc9482030
 DIST glm-0.9.7.1.tar.gz 3453078 SHA256 
285a0dc8f762b4e523c8710fbd97accaace0c61f45bc8be2bdb0deed07b0e6f3 SHA512 
380d3611b5867a4680c213bfec00e974d29c9aa92ed374adc9ca2ae04d6c4d29f20b88ccf3359df5faabf5050f9e6dc6e417ee9f5f4b484a3ef5aefecd3827a2
 WHIRLPOOL 
7a76f6efb7acacd7d2025d9ccf9d3feb0887e55dd10c757387ad07dbae44d2aba41758994ca870c64e55e501a9916b3dbdf3606dc9c7cf44368cc405d6c26a4e
 DIST glm-0.9.7.2.tar.gz 3454084 SHA256 
8fb3049a620cee153462c8c41df9c9ecebfc44cddf823828b25f9eb53a541890 SHA512 
edcfc8df59e3adfd6131156bc817a7880afb336d9bea1f2e7324b7c3937057fc8c6eca3b47f5c0c33b08e79ed7ca4f69d884fdfe75204c070b7b79d24256b81a
 WHIRLPOOL 
ab296f91ed27cbe24c0ad3fa6fa03787e42aa27ae1c7bf9e31ebadada00a0d00f228aaf8a762ec1f1aaf7096c79db8642ad31926bbe2383a019b2b813e29de23
+DIST glm-0.9.7.6.tar.gz 3457100 SHA256 
872fdea580b69b752562adc60734d7472fd97d5724c4ead585564083deac3953 SHA512 
d4e1e173405c11b5744df8dc12f0848cd84ab27b868434c0f8fc74f15110b78606564991f3063ccc97e68a0aa1c1cb4a1b40ba6ce7feffb0d1a23c3e5cff315a
 WHIRLPOOL 
ac48038cc7ed3e5a7f8a192ba4fe7cd43cc4f5f65cbfebe545ef0b9841f945e9fd6ff1385fa8c8d09ac4c578883827f187290b1154e1f5f01b8558a5e604883b

diff --git a/media-libs/glm/glm-0.9.7.6.ebuild 
b/media-libs/glm/glm-0.9.7.6.ebuild
new file mode 100644
index 0000000..5af7bf4
--- /dev/null
+++ b/media-libs/glm/glm-0.9.7.6.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit cmake-utils
+
+DESCRIPTION="OpenGL Mathematics"
+HOMEPAGE="http://glm.g-truc.net/";
+SRC_URI="https://github.com/g-truc/glm/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="|| ( HappyBunny MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
+
+RDEPEND="virtual/opengl"
+
+src_configure() {
+       if use test; then
+               local mycmakeargs=( -DGLM_TEST_ENABLE=ON )
+
+               use cpu_flags_x86_sse2 && mycmakeargs+=( 
-DGLM_TEST_ENABLE_SIMD_SSE2=ON )
+               use cpu_flags_x86_sse3 && mycmakeargs+=( 
-DGLM_TEST_ENABLE_SIMD_SSE3=ON )
+               use cpu_flags_x86_avx  && mycmakeargs+=( 
-DGLM_TEST_ENABLE_SIMD_AVX=ON )
+               use cpu_flags_x86_avx2 && mycmakeargs+=( 
-DGLM_TEST_ENABLE_SIMD_AVX2=ON )
+       fi
+
+       cmake-utils_src_configure
+}

Reply via email to