diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2018-09-10 11:45:42 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2018-09-10 11:45:42 +0200 |
commit | 25559e7f7c82d6abed72eda667ae04dc11a5ecb4 (patch) | |
tree | ffc6fe33e878e4fafc575976ad369c746df6754b /media-libs/glm | |
parent | games-rpg/manaplus: Removed old. (diff) | |
download | gentoo-25559e7f7c82d6abed72eda667ae04dc11a5ecb4.tar.gz gentoo-25559e7f7c82d6abed72eda667ae04dc11a5ecb4.tar.bz2 gentoo-25559e7f7c82d6abed72eda667ae04dc11a5ecb4.zip |
media-libs/glm: Bump to version 0.9.9.1
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'media-libs/glm')
-rw-r--r-- | media-libs/glm/Manifest | 1 | ||||
-rw-r--r-- | media-libs/glm/glm-0.9.9.1.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest index 736140c33017..21ba931679db 100644 --- a/media-libs/glm/Manifest +++ b/media-libs/glm/Manifest @@ -1,2 +1,3 @@ DIST glm-0.9.8.5.tar.gz 3756809 BLAKE2B 41abc10e1c41c40ad68b7148a8ccbe9d2f4fc8a80c034c86341d12fedb17ab16f96114df28f56f52a12d8d60edecd26ecbcbffe6daa76f035711248240ef6616 SHA512 5a7e84ecc5a54320c74776c133bfdbeaf0d4496a7a7fdf2f4ccf89e66b3665a577a370a662ac97a350a2b1f717ce769cb0826057ebb3b13c9c2fee65f20ac7b4 DIST glm-0.9.9.0.tar.gz 2716220 BLAKE2B fa48b318532cacd7d89325c615005b028e88b0702ed9248543f7d9a8e201dd6c130a63498d335289c452708dc627ebafc9654888b6db23ff238352fee638f236 SHA512 b7a6996cb98bc334130c33a339275b50ea28d8dfce300f3d14ac52edf0b5c38bf216d318f411e898edef428876c0b2d1f6a6e951f160f31425fe0852ad150421 +DIST glm-0.9.9.1.tar.gz 4572043 BLAKE2B 6715c2f755b8127923db766d485f6587e879cb3456a318b386ec5ff32e184ca385513916edb60dbaebf3295225aa86b154418bdce88c5070c135df7527f00ca4 SHA512 7b29796abd1d29a6877e3600be15dfa7856149ab8abafa7018835e47dedd3c53b0a2c707f6ddbc3510a0d7b9e58c549298f956cd675c7969d91491b85ccf8e7f diff --git a/media-libs/glm/glm-0.9.9.1.ebuild b/media-libs/glm/glm-0.9.9.1.ebuild new file mode 100644 index 000000000000..8f93505e3279 --- /dev/null +++ b/media-libs/glm/glm-0.9.9.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2018 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 ~arm64 ~ppc64 ~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 +} |