diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2016-11-04 10:04:36 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2016-11-04 10:04:36 +0100 |
commit | 993bbfc3d9e17c4912817a0498a612176de80f14 (patch) | |
tree | e9cedb9bf314b8ded88518ce4b8ab3b3b5499645 /media-libs/glm | |
parent | media-libs/celt: Bump to version 0.11.3 (diff) | |
download | gentoo-993bbfc3d9e17c4912817a0498a612176de80f14.tar.gz gentoo-993bbfc3d9e17c4912817a0498a612176de80f14.tar.bz2 gentoo-993bbfc3d9e17c4912817a0498a612176de80f14.zip |
media-libs/glm: Bump to version 0.9.8.2
Package-Manager: portage-2.3.2
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-libs/glm')
-rw-r--r-- | media-libs/glm/Manifest | 1 | ||||
-rw-r--r-- | media-libs/glm/glm-0.9.8.2.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest index 65f5b24bb9fe..1284627b3742 100644 --- a/media-libs/glm/Manifest +++ b/media-libs/glm/Manifest @@ -1,3 +1,4 @@ DIST glm-0.9.6.1.zip 4232099 SHA256 1a8a0c84dee47b0493aa8d45ccd38dc02b917d9f14da835c5b06fb0b93bb33e8 SHA512 7f1468c5e60e65181f4685a2429fa8d70350a3576175a55b7c9e8597a03837cb84aeaeb88d311e1e1948c5bd90ad9cee9286433cb78fdee54b0fbe5313ce2f84 WHIRLPOOL 88e0c6df25ee1bf73b625614be61c21c07389a7ecc05e2e74714da08412ab3ab0eba6c99c6a793f7b08d52f6748ef5202d8301c1b6cf4d64ab06184bc9482030 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 +DIST glm-0.9.8.2.tar.gz 3767435 SHA256 430cc444881750622040f386b1e509c238f4813a58e069f9e39d3e3e7b73b629 SHA512 88232f020ba1f749803bd22c6924a834d8a660a7b120269d872438bdc6ccf110f6c5c1fdb8349ee55c58a9fd295a4ae545eaddf227f2175d10f967ef1dd3dc80 WHIRLPOOL b1526dc7ab26cee31d842f59b8d3f69ba95dea028f76154aaf0770b2dd01a12f03889c5e2e8c5caa2bd9cf6e75409042816e73f81f18b43be83d7852ca4ad217 diff --git a/media-libs/glm/glm-0.9.8.2.ebuild b/media-libs/glm/glm-0.9.8.2.ebuild new file mode 100644 index 000000000000..0ef2057d67c0 --- /dev/null +++ b/media-libs/glm/glm-0.9.8.2.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 +} |