commit:     c012026c8e5e496adb47486999d9e899c6d9d427
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 17 08:26:46 2016 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Oct 17 09:04:35 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c012026c

media-libs/glm: Bump to version 0.9.8.1

Package-Manager: portage-2.3.2
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

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

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index c6cb805..1338da5 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -5,3 +5,4 @@ DIST glm-0.9.6.1.zip 4232099 SHA256 
1a8a0c84dee47b0493aa8d45ccd38dc02b917d9f14da
 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
+DIST glm-0.9.8.1.tar.gz 3766725 SHA256 
8bafbc2442548bb7fbe17a7d0e2256394495f09fe7edfae3a8bd9a0222d3792d SHA512 
0ae0948c13ad17f07a1cc1e987d43bab904ba14575086678d0aa4fb189a591e87a6e805ea66a3f36f12435c1d5b4421942882d528a12370021514995c542de28
 WHIRLPOOL 
2b341a39ec59b345e1208aff908f282f9192e631a628e597a006f9f3cd4356a8b3e492708c0d9cb87687b81a3634f16f727a257b8bcc354342478c66c1727f4d

diff --git a/media-libs/glm/glm-0.9.8.1.ebuild 
b/media-libs/glm/glm-0.9.8.1.ebuild
new file mode 100644
index 00000000..0ef2057
--- /dev/null
+++ b/media-libs/glm/glm-0.9.8.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+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