commit: 36c163c407ec64f0253dd0822f2f531f20fbbedb Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> AuthorDate: Wed Nov 16 21:09:24 2016 +0000 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> CommitDate: Wed Nov 16 21:30:21 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36c163c4
media-libs/glm: Bump to version 0.9.8.3 (bug #599674). Should also fix bug #599112. Package-Manager: portage-2.3.2 media-libs/glm/Manifest | 1 + media-libs/glm/glm-0.9.8.3.ebuild | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest index 1284627..4212fd3 100644 --- a/media-libs/glm/Manifest +++ b/media-libs/glm/Manifest @@ -2,3 +2,4 @@ DIST glm-0.9.6.1.zip 4232099 SHA256 1a8a0c84dee47b0493aa8d45ccd38dc02b917d9f14da 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 +DIST glm-0.9.8.3.tar.gz 3767840 SHA256 0c09d7d03e68cef60e6384385739c36eb9d49586f6827c4ca95fac1819c9328e SHA512 708317254941f288449b9abe41b57053d67e689a9a13efcce9d71940ae27fef777a5ffc2e2a33a0142701af78ddc66a17c9f59851e4be8690919fa8e9eeeb2fa WHIRLPOOL 21e4b1e1f0105b0721c98a913234b9a7d78e56b5cac0b9f08b0ac4cefe0459bcaf8f74dc29052bf7b88b5780c632a066a2702b6581cb4e2468ce3995d09afb6d diff --git a/media-libs/glm/glm-0.9.8.3.ebuild b/media-libs/glm/glm-0.9.8.3.ebuild new file mode 100644 index 00000000..0ef2057 --- /dev/null +++ b/media-libs/glm/glm-0.9.8.3.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 +}