summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Brehler <marbre@linux.sungazer.de>2015-09-10 12:18:52 +0200
committerJustin Lecher <jlec@gentoo.org>2015-09-16 10:53:41 +0200
commit1b177c32a9e22c8a5a566a444ede3caf79c88c07 (patch)
tree1c4d1a66f251383c2c2d5a368eca6560e3f84388 /media-libs/glm
parentlicenses: add HappyBunny license (diff)
downloadgentoo-1b177c32a9e22c8a5a566a444ede3caf79c88c07.tar.gz
gentoo-1b177c32a9e22c8a5a566a444ede3caf79c88c07.tar.bz2
gentoo-1b177c32a9e22c8a5a566a444ede3caf79c88c07.zip
media-libs/glm: Version bump, fixes #553156 and #538294
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'media-libs/glm')
-rw-r--r--media-libs/glm/Manifest1
-rw-r--r--media-libs/glm/glm-0.9.7.1.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index c91819f95ea4..d055681bfc3b 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -2,3 +2,4 @@ DIST glm-0.9.2.4.zip 3462705 SHA256 1ec0e08c15c3f7e67d646ffae57777836c64431ddbf6
DIST glm-0.9.3.2.zip 6451695 SHA256 ee66ab8336b9b6b3dff69268c497688268cf5a9d2b3a14e1aa6fbd7f48c911be SHA512 7e446cb32c62254f6c44d4bc350a691312d33866bcb42865ee750342a22437e3df791007574582e9c0152f66d86d891cc433e8474c6167432f1604123b33ea51 WHIRLPOOL 9da6e38528ee7f3823983a0c4967e1528b05c7775adc548021bca36e908d987828f023e983a24bd46be48ad6a6e64c00b0c9fdb7f50abc97e1a9dbf9a0e15cd9
DIST glm-0.9.5.1.zip 4071873 SHA256 4f621657a3a7e73e2062f0c9b4366ba5e14a3c3b3c04928378f37fdd70bd0bf5 SHA512 9644e7d76dda057fb25c3c387316c551e964a179662baf095cc2519ec84693499fd1f9c8d614ed617c3a0e406843aad7a01cbbc9399e86d52cdd8cf72f1b9194 WHIRLPOOL 5a5e2e64c4236f46d97f286b6675fd01b92905fa86c02fe9812d272d0dd0319a1bff8ab0c8d27d1bb706b0033ba08b49085bd83264b72954ca7704fe7260333c
DIST glm-0.9.6.1.zip 4232099 SHA256 1a8a0c84dee47b0493aa8d45ccd38dc02b917d9f14da835c5b06fb0b93bb33e8 SHA512 7f1468c5e60e65181f4685a2429fa8d70350a3576175a55b7c9e8597a03837cb84aeaeb88d311e1e1948c5bd90ad9cee9286433cb78fdee54b0fbe5313ce2f84 WHIRLPOOL 88e0c6df25ee1bf73b625614be61c21c07389a7ecc05e2e74714da08412ab3ab0eba6c99c6a793f7b08d52f6748ef5202d8301c1b6cf4d64ab06184bc9482030
+DIST glm-0.9.7.1.tar.gz 3453078 SHA256 285a0dc8f762b4e523c8710fbd97accaace0c61f45bc8be2bdb0deed07b0e6f3 SHA512 380d3611b5867a4680c213bfec00e974d29c9aa92ed374adc9ca2ae04d6c4d29f20b88ccf3359df5faabf5050f9e6dc6e417ee9f5f4b484a3ef5aefecd3827a2 WHIRLPOOL 7a76f6efb7acacd7d2025d9ccf9d3feb0887e55dd10c757387ad07dbae44d2aba41758994ca870c64e55e501a9916b3dbdf3606dc9c7cf44368cc405d6c26a4e
diff --git a/media-libs/glm/glm-0.9.7.1.ebuild b/media-libs/glm/glm-0.9.7.1.ebuild
new file mode 100644
index 000000000000..b2cb8461455c
--- /dev/null
+++ b/media-libs/glm/glm-0.9.7.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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
+}