summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-01-27 00:07:40 +0100
committerLars Wendler <polynomial-c@gentoo.org>2017-01-27 00:36:44 +0100
commitbddbb58558038dc84559e39450df2995a655fc1e (patch)
tree9779698f7b00b745b7e76e2a68b24bcc63fdda93
parentapp-admin/sudo: Removed old. (diff)
downloadgentoo-bddbb58558038dc84559e39450df2995a655fc1e.tar.gz
gentoo-bddbb58558038dc84559e39450df2995a655fc1e.tar.bz2
gentoo-bddbb58558038dc84559e39450df2995a655fc1e.zip
media-libs/glm: Bump to version 0.9.8.4
Package-Manager: Portage-2.3.3, Repoman-2.3.1
-rw-r--r--media-libs/glm/Manifest1
-rw-r--r--media-libs/glm/glm-0.9.8.4.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index 1bf417872ba3..0db71891ba33 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.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
+DIST glm-0.9.8.4.tar.gz 3769208 SHA256 a220e60f8711265595be3221e530d632d5823641ecd46a3a54bc174933bff14c SHA512 ff0e0651a695caebe9235882d14e09546d52b3cdf66cca8e2078f15b02a3fca4e47bd97d2807aa329f76aa633af3b4999501bd4d0b22ad44b00558d4917f39ed WHIRLPOOL 4ed7f2550d454148717d813fb387466ed3863411a59c9d376ee64d9d74f9cd961b604b1fc6cfe252fe530060f13a2354872bb263ce4dcb98810125e4d2b13879
diff --git a/media-libs/glm/glm-0.9.8.4.ebuild b/media-libs/glm/glm-0.9.8.4.ebuild
new file mode 100644
index 000000000000..97db1bd99620
--- /dev/null
+++ b/media-libs/glm/glm-0.9.8.4.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 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
+}