summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-08-18 10:43:32 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-08-18 10:43:32 +0200
commit5d2e7ade267f11fc5b1840ccbcbaea8f0608bb3a (patch)
tree56cc3539f8a132c9028ff0dec0acac095ed94e35 /media-libs
parentmedia-libs/portaudio: update to EAPI 6 and add doc USE flag (diff)
downloadgentoo-5d2e7ade267f11fc5b1840ccbcbaea8f0608bb3a.tar.gz
gentoo-5d2e7ade267f11fc5b1840ccbcbaea8f0608bb3a.tar.bz2
gentoo-5d2e7ade267f11fc5b1840ccbcbaea8f0608bb3a.zip
media-libs/glm: Bump to version 0.9.8.5
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/glm/Manifest1
-rw-r--r--media-libs/glm/glm-0.9.8.5.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index b6d8ba432f0d..4d05bff2bad5 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.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
+DIST glm-0.9.8.5.tar.gz 3756809 SHA256 80cf9958f06e5504f8df45ea14fde87411270102930be31c0a16c0da430fc920 SHA512 5a7e84ecc5a54320c74776c133bfdbeaf0d4496a7a7fdf2f4ccf89e66b3665a577a370a662ac97a350a2b1f717ce769cb0826057ebb3b13c9c2fee65f20ac7b4 WHIRLPOOL 52168171aba2d49edb7c43dacab743f4b3a33e78e0f6d1fdf0d7c9d829be79e8e8bac0574593144f892478c42a65f78281a67ac054937515a64e13ef0e31bbbc
diff --git a/media-libs/glm/glm-0.9.8.5.ebuild b/media-libs/glm/glm-0.9.8.5.ebuild
new file mode 100644
index 000000000000..22f8f5cb7717
--- /dev/null
+++ b/media-libs/glm/glm-0.9.8.5.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+ -DGLM_TEST_ENABLE_SIMD_SSE2="$(usex cpu_flags_x86_sse2 ON OFF)"
+ -DGLM_TEST_ENABLE_SIMD_SSE3="$(usex cpu_flags_x86_sse3 ON OFF)"
+ -DGLM_TEST_ENABLE_SIMD_AVX="$(usex cpu_flags_x86_avx ON OFF)"
+ -DGLM_TEST_ENABLE_SIMD_AVX2="$(usex cpu_flags_x86_avx2 ON OFF)"
+ )
+ fi
+
+ cmake-utils_src_configure
+}