[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/files/, media-libs/glm/

2024-08-06 Thread Andreas Sturmlechner
commit: 2ef83bfaadaa71aec36fa57a9ebc1af6d656cd73
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Mar 10 19:43:19 2024 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Aug  6 20:33:14 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ef83bfa

media-libs/glm: drop 0.9.9.8-r1

Closes: https://bugs.gentoo.org/926345
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-libs/glm/Manifest  |  1 -
 media-libs/glm/files/glm-0.9.9.8-clang.patch | 11 -
 media-libs/glm/glm-0.9.9.8-r1.ebuild | 62 
 3 files changed, 74 deletions(-)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index 9701cf7e2d20..657fb9fb3084 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -1,2 +1 @@
-DIST glm-0.9.9.8.tar.gz 4368032 BLAKE2B 
41e4d4a9fbd75c6c6717e43b6a6ae09bb7da3b4b2ee7c5b04308f3aa875b306638b638aca3e457c039845c489fcf0716a080ec2166bf5e9db93c25944f4ba81a
 SHA512 
9484b0c12175414237c5b9486a2990099b1cb727e442f25ecda18b081aa661f7e92a44481f642989553cd3da7992a773441ee5688991bd539ce19fb66a5ce9e8
 DIST glm-1.0.1.tar.gz 4567161 BLAKE2B 
2a6f399710f5812d4060b994df454e0c0e4fc7fcaccdfa62de6de2886987349b266944313539a398733708043c887f1324fe33eef8aa2205ef77e7c0dff28fec
 SHA512 
c6c6fa1ea7a7e97820e36ee042a78be248ae828c99c1b080d9bf334a5160c9993a70312351c92a867cd49907c95f9f357c8dfe2bc29946da6e83e27ba20c

diff --git a/media-libs/glm/files/glm-0.9.9.8-clang.patch 
b/media-libs/glm/files/glm-0.9.9.8-clang.patch
deleted file mode 100644
index af763d5b452a..
--- a/media-libs/glm/files/glm-0.9.9.8-clang.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 a/test/CMakeLists.txt  2020-07-07 08:44:31.304955458 +0200
-+++ b/test/CMakeLists.txt  2020-07-07 08:44:38.962844309 +0200
-@@ -197,7 +197,7 @@
-   message("GLM: Clang - ${CMAKE_CXX_COMPILER_ID} compiler")
-   endif()
- 
--  add_compile_options(-Werror -Weverything)
-+  add_compile_options(-Weverything)
-   add_compile_options(-Wno-c++98-compat -Wno-c++98-compat-pedantic 
-Wno-c++11-long-long -Wno-padded -Wno-gnu-anonymous-struct 
-Wno-nested-anon-types)
-   add_compile_options(-Wno-undefined-reinterpret-cast 
-Wno-sign-conversion -Wno-unused-variable -Wno-missing-prototypes 
-Wno-unreachable-code -Wno-missing-variable-declarations -Wno-sign-compare 
-Wno-global-constructors -Wno-unused-macros -Wno-format-nonliteral)
- 

diff --git a/media-libs/glm/glm-0.9.9.8-r1.ebuild 
b/media-libs/glm/glm-0.9.9.8-r1.ebuild
deleted file mode 100644
index 8c3edfc5425a..
--- a/media-libs/glm/glm-0.9.9.8-r1.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake flag-o-matic
-
-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 ~loong ppc ppc64 ~riscv sparc x86"
-IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
-RESTRICT="!test? ( test )"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-0.9.9.6-simd.patch
-   "${FILESDIR}"/${P}-clang.patch
-   "${FILESDIR}"/${PN}-0.9.9.8-big-endian-tests.patch
-)
-
-src_configure() {
-   # Header-only library
-   if use test; then
-   # See https://github.com/g-truc/glm/pull/1087
-   # https://bugs.gentoo.org/818235
-   test-flag-CXX -fno-ipa-modref && append-cxxflags -fno-ipa-modref
-
-   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)"
-   )
-   cmake_src_configure
-   fi
-
-   sed \
-   -e "s:@CMAKE_INSTALL_PREFIX@:${EPREFIX}/usr:" \
-   -e "s:@GLM_VERSION@:$(ver_cut 1-3):" \
-   "${FILESDIR}"/glm.pc.in \
-   > "${BUILD_DIR}/glm.pc" || die
-}
-
-src_compile() {
-   # Header-only library
-   if use test; then
-   cmake_src_compile
-   fi
-}
-
-src_install() {
-   doheader -r glm
-   insinto /usr/share/pkgconfig
-   doins "${BUILD_DIR}/glm.pc"
-   insinto /usr/share
-   doins -r cmake
-   dodoc readme.md manual.md
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2024-03-13 Thread Alfredo Tupone
commit: 7c2862bc1fb88c122b306ff91fd8bc0edd47e783
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Wed Mar 13 09:37:34 2024 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Wed Mar 13 09:38:52 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c2862bc

media-libs/glm: cmake variables changed name

Closes: https://bugs.gentoo.org/926865
Signed-off-by: Alfredo Tupone  gentoo.org>

 media-libs/glm/glm-1.0.1.ebuild | 15 ++-
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/media-libs/glm/glm-1.0.1.ebuild b/media-libs/glm/glm-1.0.1.ebuild
index 81469af7284c..eaf5ae530bef 100644
--- a/media-libs/glm/glm-1.0.1.ebuild
+++ b/media-libs/glm/glm-1.0.1.ebuild
@@ -12,7 +12,9 @@ SRC_URI="https://github.com/g-truc/glm/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 LICENSE="|| ( HappyBunny MIT )"
 SLOT="0"
 KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86"
-IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
+IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3
+   cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2
+   cpu_flags_x86_avx cpu_flags_x86_avx2"
 RESTRICT="!test? ( test )"
 
 PATCHES=(
@@ -37,10 +39,13 @@ src_configure() {
 
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)"
+   -DGLM_ENABLE_SIMD_SSE2="$(usex cpu_flags_x86_sse2 ON 
OFF)"
+   -DGLM_ENABLE_SIMD_SSE3="$(usex cpu_flags_x86_sse3 ON 
OFF)"
+   -DGLM_ENABLE_SIMD_SSSE3="$(usex cpu_flags_x86_ssse3 ON 
OFF)"
+   -DGLM_ENABLE_SIMD_SSE4_1="$(usex cpu_flags_x86_sse4_1 
ON OFF)"
+   -DGLM_ENABLE_SIMD_SSE4_2="$(usex cpu_flags_x86_sse4_2 
ON OFF)"
+   -DGLM_ENABLE_SIMD_AVX="$(usex cpu_flags_x86_avx ON OFF)"
+   -DGLM_ENABLE_SIMD_AVX2="$(usex cpu_flags_x86_avx2 ON 
OFF)"
)
fi
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2024-03-10 Thread Arthur Zamarin
commit: 3392459f1c75597e8c0f42d2791cab38cad0b83b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Mar 10 12:49:50 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Mar 10 12:49:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3392459f

media-libs/glm: Stabilize 1.0.1 sparc, #926345

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/glm/glm-1.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glm/glm-1.0.1.ebuild b/media-libs/glm/glm-1.0.1.ebuild
index 9b37ae0d784a..81469af7284c 100644
--- a/media-libs/glm/glm-1.0.1.ebuild
+++ b/media-libs/glm/glm-1.0.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/g-truc/glm/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="|| ( HappyBunny MIT )"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86"
 IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2024-03-10 Thread Arthur Zamarin
commit: 0d7ffb35876b58841b8edc2178836509cc579f09
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Mar 10 12:13:24 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Mar 10 12:13:24 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d7ffb35

media-libs/glm: Stabilize 1.0.1 arm64, #926345

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/glm/glm-1.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glm/glm-1.0.1.ebuild b/media-libs/glm/glm-1.0.1.ebuild
index 2382441370f5..9b37ae0d784a 100644
--- a/media-libs/glm/glm-1.0.1.ebuild
+++ b/media-libs/glm/glm-1.0.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/g-truc/glm/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="|| ( HappyBunny MIT )"
 SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~loong ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86"
 IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2024-03-10 Thread Arthur Zamarin
commit: 5e7f5aa3c83ce28e582b5123f12a27097399a68c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Mar 10 12:04:21 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Mar 10 12:04:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e7f5aa3

media-libs/glm: Stabilize 1.0.1 ppc, #926345

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/glm/glm-1.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glm/glm-1.0.1.ebuild b/media-libs/glm/glm-1.0.1.ebuild
index a3799df87b01..2382441370f5 100644
--- a/media-libs/glm/glm-1.0.1.ebuild
+++ b/media-libs/glm/glm-1.0.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/g-truc/glm/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="|| ( HappyBunny MIT )"
 SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 arm ~arm64 ~loong ppc ppc64 ~riscv ~sparc x86"
 IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2024-03-10 Thread Arthur Zamarin
commit: 184f697745d1be494641044a2e7f94d32d70c181
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Mar 10 12:04:19 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Mar 10 12:04:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=184f6977

media-libs/glm: Stabilize 1.0.1 arm, #926345

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/glm/glm-1.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glm/glm-1.0.1.ebuild b/media-libs/glm/glm-1.0.1.ebuild
index 67bcbfd5c083..48c10d587e95 100644
--- a/media-libs/glm/glm-1.0.1.ebuild
+++ b/media-libs/glm/glm-1.0.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/g-truc/glm/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="|| ( HappyBunny MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="~amd64 arm ~arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
 IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2024-03-10 Thread Arthur Zamarin
commit: 07292ebc3b5c4b8b44ad49c4cc1d885af87c9dd5
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Mar 10 12:04:20 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Mar 10 12:04:20 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07292ebc

media-libs/glm: Stabilize 1.0.1 amd64, #926345

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/glm/glm-1.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glm/glm-1.0.1.ebuild b/media-libs/glm/glm-1.0.1.ebuild
index 48c10d587e95..a3799df87b01 100644
--- a/media-libs/glm/glm-1.0.1.ebuild
+++ b/media-libs/glm/glm-1.0.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/g-truc/glm/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="|| ( HappyBunny MIT )"
 SLOT="0"
-KEYWORDS="~amd64 arm ~arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 arm ~arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
 IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2024-03-10 Thread Arthur Zamarin
commit: 576beb1eb9f7a8045a000e0d474df5f80f89578c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Mar 10 12:04:18 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Mar 10 12:04:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=576beb1e

media-libs/glm: Stabilize 1.0.1 x86, #926345

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/glm/glm-1.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glm/glm-1.0.1.ebuild b/media-libs/glm/glm-1.0.1.ebuild
index 0d6729f7d564..a105b1b5a525 100644
--- a/media-libs/glm/glm-1.0.1.ebuild
+++ b/media-libs/glm/glm-1.0.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/g-truc/glm/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="|| ( HappyBunny MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
 IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2024-03-10 Thread Arthur Zamarin
commit: bd2ec4f2199dce974e9cde334a35c907dbb60982
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Mar 10 12:04:19 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Mar 10 12:04:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd2ec4f2

media-libs/glm: Stabilize 1.0.1 ppc64, #926345

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/glm/glm-1.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glm/glm-1.0.1.ebuild b/media-libs/glm/glm-1.0.1.ebuild
index a105b1b5a525..67bcbfd5c083 100644
--- a/media-libs/glm/glm-1.0.1.ebuild
+++ b/media-libs/glm/glm-1.0.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/g-truc/glm/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="|| ( HappyBunny MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
 IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/files/

2024-03-05 Thread Petr Vaněk
commit: 1079025224770ff6d80ecb944e0d07bc8dc8716b
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Mon Mar  4 18:23:38 2024 +
Commit: Petr Vaněk  gentoo  org>
CommitDate: Tue Mar  5 09:17:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10790252

media-libs/glm: remove unused patch

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Petr Vaněk  gentoo.org>

 media-libs/glm/files/glm-1.0.0-clang.patch | 19 ---
 1 file changed, 19 deletions(-)

diff --git a/media-libs/glm/files/glm-1.0.0-clang.patch 
b/media-libs/glm/files/glm-1.0.0-clang.patch
deleted file mode 100644
index 0223129f6c04..
--- a/media-libs/glm/files/glm-1.0.0-clang.patch
+++ /dev/null
@@ -1,19 +0,0 @@
 a/CMakeLists.txt   2024-01-25 07:39:25.528947981 +0100
-+++ b/CMakeLists.txt   2024-01-25 07:39:45.377618695 +0100
-@@ -241,7 +241,7 @@
-   endif()
- 
-   if(NOT GLM_DISABLE_AUTO_DETECTION)
--  add_compile_options(-Werror -Weverything)
-+  add_compile_options(-Weverything)
-   endif()
- # add_compile_options(-Wno-c++98-compat -Wno-c++98-compat-pedantic 
-Wno-c++11-long-long -Wno-padded -Wno-gnu-anonymous-struct 
-Wno-nested-anon-types)
- # add_compile_options(-Wno-undefined-reinterpret-cast 
-Wno-sign-conversion -Wno-unused-variable -Wno-missing-prototypes 
-Wno-unreachable-code -Wno-missing-variable-declarations -Wno-sign-compare 
-Wno-global-constructors -Wno-unused-macros -Wno-format-nonliteral 
-Wno-float-equal)
-@@ -252,7 +252,6 @@
-   endif()
- 
-   if(NOT GLM_DISABLE_AUTO_DETECTION)
--  add_compile_options(-Werror)
- # add_compile_options(-Wpedantic)
- # add_compile_options(-Wall)
- # add_compile_options(-Wextra)



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2024-03-02 Thread Alfredo Tupone
commit: f311efe5b48bf892441bd4b553b5468f0e11428c
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Sat Mar  2 19:49:19 2024 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Sat Mar  2 19:50:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f311efe5

media-libs/glm: drop 1.0.0, 1.0.0-r1

Signed-off-by: Alfredo Tupone  gentoo.org>

 media-libs/glm/Manifest|  1 -
 media-libs/glm/glm-1.0.0-r1.ebuild | 69 --
 media-libs/glm/glm-1.0.0.ebuild| 62 --
 3 files changed, 132 deletions(-)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index 94cda1d380db..9701cf7e2d20 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -1,3 +1,2 @@
 DIST glm-0.9.9.8.tar.gz 4368032 BLAKE2B 
41e4d4a9fbd75c6c6717e43b6a6ae09bb7da3b4b2ee7c5b04308f3aa875b306638b638aca3e457c039845c489fcf0716a080ec2166bf5e9db93c25944f4ba81a
 SHA512 
9484b0c12175414237c5b9486a2990099b1cb727e442f25ecda18b081aa661f7e92a44481f642989553cd3da7992a773441ee5688991bd539ce19fb66a5ce9e8
-DIST glm-1.0.0.tar.gz 4523789 BLAKE2B 
66c26067085bd5878dc1f6e473c1c8449d2a609351ababd8f893010983b9e20dae8e7cb2c9a4469b7e46592b7d350fda75e2975676b8696288065a7b776a21a5
 SHA512 
62e22002a6369a54e1f0ee2885a65f2780af7d2a446573e5387b81518f5dc7e8076053837cb99ae850a0166ce8b0f077bed009e8986d9884d01c456ce467553f
 DIST glm-1.0.1.tar.gz 4567161 BLAKE2B 
2a6f399710f5812d4060b994df454e0c0e4fc7fcaccdfa62de6de2886987349b266944313539a398733708043c887f1324fe33eef8aa2205ef77e7c0dff28fec
 SHA512 
c6c6fa1ea7a7e97820e36ee042a78be248ae828c99c1b080d9bf334a5160c9993a70312351c92a867cd49907c95f9f357c8dfe2bc29946da6e83e27ba20c

diff --git a/media-libs/glm/glm-1.0.0-r1.ebuild 
b/media-libs/glm/glm-1.0.0-r1.ebuild
deleted file mode 100644
index 1f037d446d41..
--- a/media-libs/glm/glm-1.0.0-r1.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic
-
-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 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
-RESTRICT="!test? ( test )"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-0.9.9.6-simd.patch
-   "${FILESDIR}"/${P}-clang.patch
-   "${FILESDIR}"/${PN}-0.9.9.8-big-endian-tests.patch
-)
-
-DOCS=( manual.md readme.md )
-
-src_configure() {
-   # Header-only library
-   local mycmakeargs=(
-   -DGLM_BUILD_INSTALL=ON
-   -DGLM_BUILD_LIBRARY=OFF
-   -DGLM_BUILD_TESTS=$(usex test)
-   )
-
-   if use test; then
-   # See https://github.com/g-truc/glm/pull/1087
-   # https://bugs.gentoo.org/818235
-   test-flag-CXX -fno-ipa-modref && append-cxxflags -fno-ipa-modref
-
-   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_src_configure
-
-   sed \
-   -e "s:@CMAKE_INSTALL_PREFIX@:${EPREFIX}/usr:" \
-   -e "s:@GLM_VERSION@:$(ver_cut 1-3):" \
-   "${FILESDIR}"/glm.pc.in \
-   > "${BUILD_DIR}/glm.pc" || die
-}
-
-src_compile() {
-   # Header-only library
-   if use test; then
-   cmake_src_compile
-   fi
-}
-
-src_install() {
-   cmake_src_install
-
-   insinto /usr/share/pkgconfig
-   doins "${BUILD_DIR}/glm.pc"
-}

diff --git a/media-libs/glm/glm-1.0.0.ebuild b/media-libs/glm/glm-1.0.0.ebuild
deleted file mode 100644
index 5138d21e6371..
--- a/media-libs/glm/glm-1.0.0.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake flag-o-matic
-
-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 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
-RESTRICT="!test? ( test )"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-0.9.9.6-simd.patch
-   "${FILESDIR}"/${P}-clang.patch
-   "${FILESDIR}"/${PN}-0.9.9.8-big-endian-tests.patch
-)
-
-src_configure() {
-   # Header-only library
-   

[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2024-02-27 Thread Alfredo Tupone
commit: 59c5897981f930f63a0c04c879cde06b056c3ea5
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Tue Feb 27 20:33:19 2024 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Tue Feb 27 20:33:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59c58979

media-libs/glm: add 1.0.1

Signed-off-by: Alfredo Tupone  gentoo.org>

 media-libs/glm/Manifest |  1 +
 media-libs/glm/glm-1.0.1.ebuild | 68 +
 2 files changed, 69 insertions(+)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index b9db1fa2e0bf..94cda1d380db 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -1,2 +1,3 @@
 DIST glm-0.9.9.8.tar.gz 4368032 BLAKE2B 
41e4d4a9fbd75c6c6717e43b6a6ae09bb7da3b4b2ee7c5b04308f3aa875b306638b638aca3e457c039845c489fcf0716a080ec2166bf5e9db93c25944f4ba81a
 SHA512 
9484b0c12175414237c5b9486a2990099b1cb727e442f25ecda18b081aa661f7e92a44481f642989553cd3da7992a773441ee5688991bd539ce19fb66a5ce9e8
 DIST glm-1.0.0.tar.gz 4523789 BLAKE2B 
66c26067085bd5878dc1f6e473c1c8449d2a609351ababd8f893010983b9e20dae8e7cb2c9a4469b7e46592b7d350fda75e2975676b8696288065a7b776a21a5
 SHA512 
62e22002a6369a54e1f0ee2885a65f2780af7d2a446573e5387b81518f5dc7e8076053837cb99ae850a0166ce8b0f077bed009e8986d9884d01c456ce467553f
+DIST glm-1.0.1.tar.gz 4567161 BLAKE2B 
2a6f399710f5812d4060b994df454e0c0e4fc7fcaccdfa62de6de2886987349b266944313539a398733708043c887f1324fe33eef8aa2205ef77e7c0dff28fec
 SHA512 
c6c6fa1ea7a7e97820e36ee042a78be248ae828c99c1b080d9bf334a5160c9993a70312351c92a867cd49907c95f9f357c8dfe2bc29946da6e83e27ba20c

diff --git a/media-libs/glm/glm-1.0.1.ebuild b/media-libs/glm/glm-1.0.1.ebuild
new file mode 100644
index ..0d6729f7d564
--- /dev/null
+++ b/media-libs/glm/glm-1.0.1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic
+
+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 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.9.9.6-simd.patch
+   "${FILESDIR}"/${PN}-0.9.9.8-big-endian-tests.patch
+)
+
+DOCS=( manual.md readme.md )
+
+src_configure() {
+   # Header-only library
+   local mycmakeargs=(
+   -DGLM_BUILD_INSTALL=ON
+   -DGLM_BUILD_LIBRARY=OFF
+   -DGLM_BUILD_TESTS=$(usex test)
+   )
+
+   if use test; then
+   # See https://github.com/g-truc/glm/pull/1087
+   # https://bugs.gentoo.org/818235
+   test-flag-CXX -fno-ipa-modref && append-cxxflags -fno-ipa-modref
+
+   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_src_configure
+
+   sed \
+   -e "s:@CMAKE_INSTALL_PREFIX@:${EPREFIX}/usr:" \
+   -e "s:@GLM_VERSION@:$(ver_cut 1-3):" \
+   "${FILESDIR}"/glm.pc.in \
+   > "${BUILD_DIR}/glm.pc" || die
+}
+
+src_compile() {
+   # Header-only library
+   if use test; then
+   cmake_src_compile
+   fi
+}
+
+src_install() {
+   cmake_src_install
+
+   insinto /usr/share/pkgconfig
+   doins "${BUILD_DIR}/glm.pc"
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2024-01-27 Thread Ionen Wolkens
commit: 975efa4b289384a6af4b79fe3f151429f1e9297c
Author: Chris Mayo  gmail  com>
AuthorDate: Sat Jan 27 17:05:46 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Sat Jan 27 18:23:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=975efa4b

media-libs/glm: install CMake config files

Signed-off-by: Chris Mayo  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35045
Acked-by: Alfredo Tupone  gentoo.org>
Signed-off-by: Ionen Wolkens  gentoo.org>

 media-libs/glm/glm-1.0.0-r1.ebuild | 69 ++
 1 file changed, 69 insertions(+)

diff --git a/media-libs/glm/glm-1.0.0-r1.ebuild 
b/media-libs/glm/glm-1.0.0-r1.ebuild
new file mode 100644
index ..1f037d446d41
--- /dev/null
+++ b/media-libs/glm/glm-1.0.0-r1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic
+
+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 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.9.9.6-simd.patch
+   "${FILESDIR}"/${P}-clang.patch
+   "${FILESDIR}"/${PN}-0.9.9.8-big-endian-tests.patch
+)
+
+DOCS=( manual.md readme.md )
+
+src_configure() {
+   # Header-only library
+   local mycmakeargs=(
+   -DGLM_BUILD_INSTALL=ON
+   -DGLM_BUILD_LIBRARY=OFF
+   -DGLM_BUILD_TESTS=$(usex test)
+   )
+
+   if use test; then
+   # See https://github.com/g-truc/glm/pull/1087
+   # https://bugs.gentoo.org/818235
+   test-flag-CXX -fno-ipa-modref && append-cxxflags -fno-ipa-modref
+
+   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_src_configure
+
+   sed \
+   -e "s:@CMAKE_INSTALL_PREFIX@:${EPREFIX}/usr:" \
+   -e "s:@GLM_VERSION@:$(ver_cut 1-3):" \
+   "${FILESDIR}"/glm.pc.in \
+   > "${BUILD_DIR}/glm.pc" || die
+}
+
+src_compile() {
+   # Header-only library
+   if use test; then
+   cmake_src_compile
+   fi
+}
+
+src_install() {
+   cmake_src_install
+
+   insinto /usr/share/pkgconfig
+   doins "${BUILD_DIR}/glm.pc"
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/files/, media-libs/glm/

2024-01-24 Thread Alfredo Tupone
commit: bbb69c0f35c0fc985c50282bd5fb7c9b98d9080b
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Thu Jan 25 06:49:34 2024 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Thu Jan 25 06:49:55 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbb69c0f

media-libs/glm: add 1.0.0

Signed-off-by: Alfredo Tupone  gentoo.org>

 media-libs/glm/Manifest|  1 +
 media-libs/glm/files/glm-1.0.0-clang.patch | 19 +
 media-libs/glm/glm-1.0.0.ebuild| 62 ++
 3 files changed, 82 insertions(+)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index b2981f94c415..b9db1fa2e0bf 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -1 +1,2 @@
 DIST glm-0.9.9.8.tar.gz 4368032 BLAKE2B 
41e4d4a9fbd75c6c6717e43b6a6ae09bb7da3b4b2ee7c5b04308f3aa875b306638b638aca3e457c039845c489fcf0716a080ec2166bf5e9db93c25944f4ba81a
 SHA512 
9484b0c12175414237c5b9486a2990099b1cb727e442f25ecda18b081aa661f7e92a44481f642989553cd3da7992a773441ee5688991bd539ce19fb66a5ce9e8
+DIST glm-1.0.0.tar.gz 4523789 BLAKE2B 
66c26067085bd5878dc1f6e473c1c8449d2a609351ababd8f893010983b9e20dae8e7cb2c9a4469b7e46592b7d350fda75e2975676b8696288065a7b776a21a5
 SHA512 
62e22002a6369a54e1f0ee2885a65f2780af7d2a446573e5387b81518f5dc7e8076053837cb99ae850a0166ce8b0f077bed009e8986d9884d01c456ce467553f

diff --git a/media-libs/glm/files/glm-1.0.0-clang.patch 
b/media-libs/glm/files/glm-1.0.0-clang.patch
new file mode 100644
index ..0223129f6c04
--- /dev/null
+++ b/media-libs/glm/files/glm-1.0.0-clang.patch
@@ -0,0 +1,19 @@
+--- a/CMakeLists.txt   2024-01-25 07:39:25.528947981 +0100
 b/CMakeLists.txt   2024-01-25 07:39:45.377618695 +0100
+@@ -241,7 +241,7 @@
+   endif()
+ 
+   if(NOT GLM_DISABLE_AUTO_DETECTION)
+-  add_compile_options(-Werror -Weverything)
++  add_compile_options(-Weverything)
+   endif()
+ # add_compile_options(-Wno-c++98-compat -Wno-c++98-compat-pedantic 
-Wno-c++11-long-long -Wno-padded -Wno-gnu-anonymous-struct 
-Wno-nested-anon-types)
+ # add_compile_options(-Wno-undefined-reinterpret-cast 
-Wno-sign-conversion -Wno-unused-variable -Wno-missing-prototypes 
-Wno-unreachable-code -Wno-missing-variable-declarations -Wno-sign-compare 
-Wno-global-constructors -Wno-unused-macros -Wno-format-nonliteral 
-Wno-float-equal)
+@@ -252,7 +252,6 @@
+   endif()
+ 
+   if(NOT GLM_DISABLE_AUTO_DETECTION)
+-  add_compile_options(-Werror)
+ # add_compile_options(-Wpedantic)
+ # add_compile_options(-Wall)
+ # add_compile_options(-Wextra)

diff --git a/media-libs/glm/glm-1.0.0.ebuild b/media-libs/glm/glm-1.0.0.ebuild
new file mode 100644
index ..5138d21e6371
--- /dev/null
+++ b/media-libs/glm/glm-1.0.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake flag-o-matic
+
+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 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.9.9.6-simd.patch
+   "${FILESDIR}"/${P}-clang.patch
+   "${FILESDIR}"/${PN}-0.9.9.8-big-endian-tests.patch
+)
+
+src_configure() {
+   # Header-only library
+   if use test; then
+   # See https://github.com/g-truc/glm/pull/1087
+   # https://bugs.gentoo.org/818235
+   test-flag-CXX -fno-ipa-modref && append-cxxflags -fno-ipa-modref
+
+   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)"
+   )
+   cmake_src_configure
+   fi
+
+   sed \
+   -e "s:@CMAKE_INSTALL_PREFIX@:${EPREFIX}/usr:" \
+   -e "s:@GLM_VERSION@:$(ver_cut 1-3):" \
+   "${FILESDIR}"/glm.pc.in \
+   > "${BUILD_DIR}/glm.pc" || die
+}
+
+src_compile() {
+   # Header-only library
+   if use test; then
+   cmake_src_compile
+   fi
+}
+
+src_install() {
+   doheader -r glm
+   insinto /usr/share/pkgconfig
+   doins "${BUILD_DIR}/glm.pc"
+   insinto /usr/share
+   doins -r cmake
+   dodoc readme.md manual.md
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2022-08-12 Thread WANG Xuerui
commit: ac0f5bc1a0345815ae2dc8f136ac90ec8981e94e
Author: WANG Xuerui  gentoo  org>
AuthorDate: Fri Aug 12 07:50:29 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Fri Aug 12 12:24:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac0f5bc1

media-libs/glm: keyword 0.9.9.8-r1 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 media-libs/glm/glm-0.9.9.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glm/glm-0.9.9.8-r1.ebuild 
b/media-libs/glm/glm-0.9.9.8-r1.ebuild
index 32a1a04eaf5a..8c3edfc5425a 100644
--- a/media-libs/glm/glm-0.9.9.8-r1.ebuild
+++ b/media-libs/glm/glm-0.9.9.8-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/g-truc/glm/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="|| ( HappyBunny MIT )"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86"
+KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86"
 IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2022-05-16 Thread Sam James
commit: 122cd845c79ca3aee2ecbc8ed7cce797df1984da
Author: Sam James  gentoo  org>
AuthorDate: Tue May 17 01:15:35 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 17 01:15:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=122cd845

media-libs/glm: test for -fno-ipa-modref before using

Closes: https://bugs.gentoo.org/845105
Bug: https://bugs.gentoo.org/818235
Thanks-to: Jonathan Lovelace  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-libs/glm/glm-0.9.9.8-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/glm/glm-0.9.9.8-r1.ebuild 
b/media-libs/glm/glm-0.9.9.8-r1.ebuild
index 1b411e2a5fab..32a1a04eaf5a 100644
--- a/media-libs/glm/glm-0.9.9.8-r1.ebuild
+++ b/media-libs/glm/glm-0.9.9.8-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -26,7 +26,7 @@ src_configure() {
if use test; then
# See https://github.com/g-truc/glm/pull/1087
# https://bugs.gentoo.org/818235
-   append-cxxflags -fno-ipa-modref
+   test-flag-CXX -fno-ipa-modref && append-cxxflags -fno-ipa-modref
 
local mycmakeargs=(
-DGLM_TEST_ENABLE=ON



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2021-12-17 Thread Andreas Sturmlechner
commit: 143f106cf76eaa59a442bfa93700c1a6a4225fe8
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Dec 11 09:32:58 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri Dec 17 10:06:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=143f106c

media-libs/glm: Drop 0.9.9.7 and 0.9.9.8 (r0)

Package-Manager: Portage-3.0.29, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-libs/glm/Manifest   |  1 -
 media-libs/glm/glm-0.9.9.7.ebuild | 52 --
 media-libs/glm/glm-0.9.9.8.ebuild | 53 ---
 3 files changed, 106 deletions(-)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index 1c55b37d8d81..b2981f94c415 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -1,2 +1 @@
-DIST glm-0.9.9.7.tar.gz 4357077 BLAKE2B 
59746a8775e0fc20fe8a8c3ae01c48841066d6092ce3cd7fa93bbf29f5247c42645bc920a3dbf3f0b4b61eb1e47f46514d9cd98c4e6df133ced0072ba6a570ee
 SHA512 
9c557788d6382777317c94f8b30bc3df7e533877705514fa5d384f97b076d6bc750e841acbecdec8113e21af07bd8850159f5f1e079aaa2cde25540b480f983b
 DIST glm-0.9.9.8.tar.gz 4368032 BLAKE2B 
41e4d4a9fbd75c6c6717e43b6a6ae09bb7da3b4b2ee7c5b04308f3aa875b306638b638aca3e457c039845c489fcf0716a080ec2166bf5e9db93c25944f4ba81a
 SHA512 
9484b0c12175414237c5b9486a2990099b1cb727e442f25ecda18b081aa661f7e92a44481f642989553cd3da7992a773441ee5688991bd539ce19fb66a5ce9e8

diff --git a/media-libs/glm/glm-0.9.9.7.ebuild 
b/media-libs/glm/glm-0.9.9.7.ebuild
deleted file mode 100644
index 23177ad7f0d5..
--- a/media-libs/glm/glm-0.9.9.7.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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"
-RESTRICT="!test? ( test )"
-
-RDEPEND=""
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-0.9.9.6-simd.patch
-)
-
-src_prepare() {
-   sed \
-   -e "s:@CMAKE_INSTALL_PREFIX@:${EPREFIX}/usr:" \
-   -e "s:@GLM_VERSION@:0.9.9:" \
-   "${FILESDIR}"/glm.pc.in \
-   > glm.pc
-   cmake-utils_src_prepare
-}
-
-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
-}
-
-src_install() {
-   doheader -r glm
-   insinto /usr/$(get_libdir)/pkgconfig
-   doins glm.pc
-   dodoc readme.md manual.md
-}

diff --git a/media-libs/glm/glm-0.9.9.8.ebuild 
b/media-libs/glm/glm-0.9.9.8.ebuild
deleted file mode 100644
index 6fd8711eea6d..
--- a/media-libs/glm/glm-0.9.9.8.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-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"
-RESTRICT="!test? ( test )"
-
-RDEPEND=""
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-0.9.9.6-simd.patch
-   "${FILESDIR}"/${P}-clang.patch
-)
-
-src_prepare() {
-   sed \
-   -e "s:@CMAKE_INSTALL_PREFIX@:${EPREFIX}/usr:" \
-   -e "s:@GLM_VERSION@:0.9.9:" \
-   "${FILESDIR}"/glm.pc.in \
-   > glm.pc
-   cmake_src_prepare
-}
-
-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_src_configure
-}
-
-src_install() {
-   doheader -r glm
-   insinto /usr/$(get_libdir)/pkgconfig
-   doins glm.pc
-   dodoc readme.md manual.md
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2021-12-10 Thread Sam James
commit: 0e3e338bc665d65e1cb1c41ac20a695ba43d3857
Author: Sam James  gentoo  org>
AuthorDate: Sat Dec 11 03:29:05 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec 11 03:29:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e3e338b

media-libs/glm: Stabilize 0.9.9.8-r1 arm, #827847

Signed-off-by: Sam James  gentoo.org>

 media-libs/glm/glm-0.9.9.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glm/glm-0.9.9.8-r1.ebuild 
b/media-libs/glm/glm-0.9.9.8-r1.ebuild
index 744910fd87c9..1b411e2a5fab 100644
--- a/media-libs/glm/glm-0.9.9.8-r1.ebuild
+++ b/media-libs/glm/glm-0.9.9.8-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/g-truc/glm/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="|| ( HappyBunny MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc ppc64 ~riscv sparc x86"
+KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86"
 IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2021-12-07 Thread Sam James
commit: 952a29c6138d6eb1e1e3bd77781c053837924d5b
Author: Sam James  gentoo  org>
AuthorDate: Wed Dec  8 05:00:14 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Dec  8 05:00:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=952a29c6

media-libs/glm: fix test-core_func_integer test

Note that glm is a header-only library and the miscompilation/unintended
optimisation/whatever we want to call it only affectes tests, so no
need to revbump (no change in runtime behaviour).

See: https://github.com/g-truc/glm/pull/1087
Bug: https://bugs.gentoo.org/818235
Signed-off-by: Sam James  gentoo.org>

 media-libs/glm/glm-0.9.9.8-r1.ebuild | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/media-libs/glm/glm-0.9.9.8-r1.ebuild 
b/media-libs/glm/glm-0.9.9.8-r1.ebuild
index 04922fcc2113..744910fd87c9 100644
--- a/media-libs/glm/glm-0.9.9.8-r1.ebuild
+++ b/media-libs/glm/glm-0.9.9.8-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake
+inherit cmake flag-o-matic
 
 DESCRIPTION="OpenGL Mathematics"
 HOMEPAGE="http://glm.g-truc.net/";
@@ -24,6 +24,10 @@ PATCHES=(
 src_configure() {
# Header-only library
if use test; then
+   # See https://github.com/g-truc/glm/pull/1087
+   # https://bugs.gentoo.org/818235
+   append-cxxflags -fno-ipa-modref
+
local mycmakeargs=(
-DGLM_TEST_ENABLE=ON
-DGLM_TEST_ENABLE_SIMD_SSE2="$(usex cpu_flags_x86_sse2 
ON OFF)"



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2021-10-29 Thread Alfredo Tupone
commit: 2845ab331f93763cbd52e3a575c5a424e96fd931
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Fri Oct 29 19:39:17 2021 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Fri Oct 29 19:39:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2845ab33

media-libs/glm: drop old version

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alfredo Tupone  gentoo.org>

 media-libs/glm/Manifest   |  1 -
 media-libs/glm/glm-0.9.9.5.ebuild | 32 
 2 files changed, 33 deletions(-)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index e165587e7d2..1c55b37d8d8 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -1,3 +1,2 @@
-DIST glm-0.9.9.5.tar.gz 4578601 BLAKE2B 
9ce4dc7e638a651f958e2e0e1bfa0da121aefc382579838bfd810952bb8f4253e17caa6d743de713c86a4e8bd5f1afa38f8162e5f2d98ab141d94574d1103d40
 SHA512 
3b329acf5144aab1c0f47f8045d34e097699bd6685118ad8322c5ce23afdcb44ba2bb07e49301db06355b8eef7d4340b72251d55e113b533740d1e6ef6609911
 DIST glm-0.9.9.7.tar.gz 4357077 BLAKE2B 
59746a8775e0fc20fe8a8c3ae01c48841066d6092ce3cd7fa93bbf29f5247c42645bc920a3dbf3f0b4b61eb1e47f46514d9cd98c4e6df133ced0072ba6a570ee
 SHA512 
9c557788d6382777317c94f8b30bc3df7e533877705514fa5d384f97b076d6bc750e841acbecdec8113e21af07bd8850159f5f1e079aaa2cde25540b480f983b
 DIST glm-0.9.9.8.tar.gz 4368032 BLAKE2B 
41e4d4a9fbd75c6c6717e43b6a6ae09bb7da3b4b2ee7c5b04308f3aa875b306638b638aca3e457c039845c489fcf0716a080ec2166bf5e9db93c25944f4ba81a
 SHA512 
9484b0c12175414237c5b9486a2990099b1cb727e442f25ecda18b081aa661f7e92a44481f642989553cd3da7992a773441ee5688991bd539ce19fb66a5ce9e8

diff --git a/media-libs/glm/glm-0.9.9.5.ebuild 
b/media-libs/glm/glm-0.9.9.5.ebuild
deleted file mode 100644
index b439b0bf903..000
--- a/media-libs/glm/glm-0.9.9.5.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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"
-RESTRICT="!test? ( test )"
-
-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
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2021-08-11 Thread Yixun Lan
commit: 48abcc92386e2201aedfabb01e199dd1231f2a2c
Author: Alex Fan  yahoo  com>
AuthorDate: Thu Aug 12 00:35:38 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Aug 12 02:54:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48abcc92

media-libs/glm: keyword 0.9.9.8-r1 for ~riscv

Signed-off-by: Alex Fan  yahoo.com>
Signed-off-by: Yixun Lan  gentoo.org>

 media-libs/glm/glm-0.9.9.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glm/glm-0.9.9.8-r1.ebuild 
b/media-libs/glm/glm-0.9.9.8-r1.ebuild
index 477a13fcc98..04922fcc211 100644
--- a/media-libs/glm/glm-0.9.9.8-r1.ebuild
+++ b/media-libs/glm/glm-0.9.9.8-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/g-truc/glm/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="|| ( HappyBunny MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc ppc64 sparc x86"
+KEYWORDS="amd64 ~arm arm64 ppc ppc64 ~riscv sparc x86"
 IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2021-02-25 Thread Sam James
commit: 71826c102a064bae0e155159ffbcd13b80c72aed
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 25 09:45:34 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 25 09:45:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71826c10

media-libs/glm: Stabilize 0.9.9.8-r1 ppc64, #763405

Signed-off-by: Sam James  gentoo.org>

 media-libs/glm/glm-0.9.9.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glm/glm-0.9.9.8-r1.ebuild 
b/media-libs/glm/glm-0.9.9.8-r1.ebuild
index 9f2a239e994..477a13fcc98 100644
--- a/media-libs/glm/glm-0.9.9.8-r1.ebuild
+++ b/media-libs/glm/glm-0.9.9.8-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/g-truc/glm/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="|| ( HappyBunny MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc ~ppc64 sparc x86"
+KEYWORDS="amd64 ~arm arm64 ppc ppc64 sparc x86"
 IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2021-02-07 Thread Sergei Trofimovich
commit: 0b986d83bbd050ee6b314b364dc0df47bdc68fc9
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sun Feb  7 11:48:02 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Feb  7 18:18:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b986d83

media-libs/glm: stable 0.9.9.8-r1 for sparc, bug #763405

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 media-libs/glm/glm-0.9.9.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glm/glm-0.9.9.8-r1.ebuild 
b/media-libs/glm/glm-0.9.9.8-r1.ebuild
index e9a0569a52e..9f2a239e994 100644
--- a/media-libs/glm/glm-0.9.9.8-r1.ebuild
+++ b/media-libs/glm/glm-0.9.9.8-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/g-truc/glm/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="|| ( HappyBunny MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc ~ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm arm64 ppc ~ppc64 sparc x86"
 IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2021-02-07 Thread Sam James
commit: d6f6d39fed7a9e2801332c9fc37de22741a2469c
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb  7 09:22:32 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb  7 09:22:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6f6d39f

media-libs/glm: Stabilize 0.9.9.8-r1 ppc, #763405

Signed-off-by: Sam James  gentoo.org>

 media-libs/glm/glm-0.9.9.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glm/glm-0.9.9.8-r1.ebuild 
b/media-libs/glm/glm-0.9.9.8-r1.ebuild
index 96a90be0b01..e9a0569a52e 100644
--- a/media-libs/glm/glm-0.9.9.8-r1.ebuild
+++ b/media-libs/glm/glm-0.9.9.8-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/g-truc/glm/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="|| ( HappyBunny MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm arm64 ppc ~ppc64 ~sparc x86"
 IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/, media-libs/glm/files/

2021-02-05 Thread Sam James
commit: c74dcd154317d93fc07455b0f03bb442d592ca35
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb  5 21:57:16 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  5 21:57:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c74dcd15

media-libs/glm: fix tests on big endian arches

Closes: https://bugs.gentoo.org/673972
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 .../glm/files/glm-0.9.9.8-big-endian-tests.patch   | 186 +
 media-libs/glm/glm-0.9.9.8-r1.ebuild   |   3 +-
 2 files changed, 187 insertions(+), 2 deletions(-)

diff --git a/media-libs/glm/files/glm-0.9.9.8-big-endian-tests.patch 
b/media-libs/glm/files/glm-0.9.9.8-big-endian-tests.patch
new file mode 100644
index 000..cc8b1b637a8
--- /dev/null
+++ b/media-libs/glm/files/glm-0.9.9.8-big-endian-tests.patch
@@ -0,0 +1,186 @@
+https://github.com/g-truc/glm/commit/06ce42e72324b32b1f4c37c646e99950c2bd5f6b.patch
+https://bugs.gentoo.org/673972
+
+Not yet applied upstream because  is not available on non-Linux 
platforms.
+
+From 06ce42e72324b32b1f4c37c646e99950c2bd5f6b Mon Sep 17 00:00:00 2001
+From: Max Rees 
+Date: Sun, 15 Mar 2020 15:13:27 -0400
+Subject: [PATCH] Fix test suite on big endian platforms
+
+---
+ glm/gtc/packing.inl  | 55 
+ test/gtc/gtc_packing.cpp |  3 ++-
+ 2 files changed, 57 insertions(+), 1 deletion(-)
+
+diff --git a/glm/gtc/packing.inl b/glm/gtc/packing.inl
+index 8c906e16c..b1c99a507 100644
+--- a/glm/gtc/packing.inl
 b/glm/gtc/packing.inl
+@@ -9,6 +9,9 @@
+ #include "../detail/type_half.hpp"
+ #include 
+ #include 
++extern "C" {
++#include 
++}
+ 
+ namespace glm{
+ namespace detail
+@@ -183,9 +186,15 @@ namespace detail
+   {
+   struct
+   {
++#if BYTE_ORDER == LITTLE_ENDIAN
+   uint x : 3;
+   uint y : 3;
+   uint z : 2;
++#else
++  uint z : 2;
++  uint y : 3;
++  uint x : 3;
++#endif
+   } data;
+   uint8 pack;
+   };
+@@ -194,8 +203,13 @@ namespace detail
+   {
+   struct
+   {
++#if BYTE_ORDER == LITTLE_ENDIAN
+   uint x : 4;
+   uint y : 4;
++#else
++  uint y : 4;
++  uint x : 4;
++#endif
+   } data;
+   uint8 pack;
+   };
+@@ -204,10 +218,17 @@ namespace detail
+   {
+   struct
+   {
++#if BYTE_ORDER == LITTLE_ENDIAN
+   uint x : 4;
+   uint y : 4;
+   uint z : 4;
+   uint w : 4;
++#else
++  uint w : 4;
++  uint z : 4;
++  uint y : 4;
++  uint x : 4;
++#endif
+   } data;
+   uint16 pack;
+   };
+@@ -216,9 +237,15 @@ namespace detail
+   {
+   struct
+   {
++#if BYTE_ORDER == LITTLE_ENDIAN
+   uint x : 5;
+   uint y : 6;
+   uint z : 5;
++#else
++  uint z : 5;
++  uint y : 6;
++  uint x : 5;
++#endif
+   } data;
+   uint16 pack;
+   };
+@@ -227,10 +254,17 @@ namespace detail
+   {
+   struct
+   {
++#if BYTE_ORDER == LITTLE_ENDIAN
+   uint x : 5;
+   uint y : 5;
+   uint z : 5;
+   uint w : 1;
++#else
++  uint w : 1;
++  uint z : 5;
++  uint y : 5;
++  uint x : 5;
++#endif
+   } data;
+   uint16 pack;
+   };
+@@ -239,10 +273,17 @@ namespace detail
+   {
+   struct
+   {
++#if BYTE_ORDER == LITTLE_ENDIAN
+   uint x : 10;
+   uint y : 10;
+   uint z : 10;
+   uint w : 2;
++#else
++  uint w : 2;
++  uint z : 10;
++  uint y : 10;
++  uint x : 10;
++#endif
+   } data;
+   uint32 pack;
+   };
+@@ -251,10 +292,17 @@ namespace detail
+   {
+   struct
+   {
++#if BYTE_ORDER == LITTLE_ENDIAN
+   int x : 10;
+   int y : 10;
+   int z : 10;
+   int w : 2;
++#else
++  int w : 2;
++  int z : 10;
++  int y : 10;
++  int x : 10;
++#endif
+   } data;
+   uint32 pack;
+   };
+@@ -263,10 +311,17 @@ namespace detail
+   {
+   

[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2021-01-03 Thread Sam James
commit: a511a7d207bb3218adb0b9b89ff25e1f73c9dda8
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan  4 03:32:23 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan  4 03:32:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a511a7d2

media-libs/glm: Stabilize 0.9.9.8-r1 arm64, #763405

Signed-off-by: Sam James  gentoo.org>

 media-libs/glm/glm-0.9.9.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glm/glm-0.9.9.8-r1.ebuild 
b/media-libs/glm/glm-0.9.9.8-r1.ebuild
index 320b38a4248..bb7591ba329 100644
--- a/media-libs/glm/glm-0.9.9.8-r1.ebuild
+++ b/media-libs/glm/glm-0.9.9.8-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/g-truc/glm/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="|| ( HappyBunny MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2021-01-03 Thread Sam James
commit: 2d7b47311f9f9e8d19b877db6db04a3af9f7536f
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan  4 03:30:27 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan  4 03:30:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d7b4731

media-libs/glm: Stabilize 0.9.9.8-r1 amd64, #763405

Signed-off-by: Sam James  gentoo.org>

 media-libs/glm/glm-0.9.9.8-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/glm/glm-0.9.9.8-r1.ebuild 
b/media-libs/glm/glm-0.9.9.8-r1.ebuild
index 74788d45b6b..320b38a4248 100644
--- a/media-libs/glm/glm-0.9.9.8-r1.ebuild
+++ b/media-libs/glm/glm-0.9.9.8-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/g-truc/glm/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="|| ( HappyBunny MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2020-12-03 Thread Sam James
commit: 58d24674ebba85ec1ffa580d1838f86c76168014
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec  3 13:19:07 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec  3 13:19:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58d24674

media-libs/glm: fix github remote-id

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 media-libs/glm/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glm/metadata.xml b/media-libs/glm/metadata.xml
index c0784397055..9b8121fd8a3 100644
--- a/media-libs/glm/metadata.xml
+++ b/media-libs/glm/metadata.xml
@@ -9,7 +9,7 @@
header only C++ mathematics library for graphics software based 
on the OpenGL Shading Language (GLSL) specification. 


-   g-trunc/glm
+   g-truc/glm
ogl-math

 



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2020-11-21 Thread Sergei Trofimovich
commit: 2be6d912c04587bf68ee612209f0ac36d475ff1f
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Nov 21 21:47:57 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Nov 21 21:48:04 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2be6d912

media-libs/glm: keyworded 0.9.9.8-r1 for ppc

keyworded wrt bug #670500 (KEYWORDREQ)
Tested-by: ernsteiswuerfel
Package-Manager: Portage-3.0.9, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 media-libs/glm/glm-0.9.9.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glm/glm-0.9.9.8-r1.ebuild 
b/media-libs/glm/glm-0.9.9.8-r1.ebuild
index 23b762f4160..74788d45b6b 100644
--- a/media-libs/glm/glm-0.9.9.8-r1.ebuild
+++ b/media-libs/glm/glm-0.9.9.8-r1.ebuild
@@ -11,7 +11,7 @@ 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 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2020-08-09 Thread Sergei Trofimovich
commit: 21b8a971cfd361e7798c1a79467a64c6b2f720e1
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sun Aug  9 12:23:59 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Aug  9 12:32:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21b8a971

media-libs/glm: keyworded 0.9.9.8-r1 for sparc, bug #732332

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 media-libs/glm/glm-0.9.9.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glm/glm-0.9.9.8-r1.ebuild 
b/media-libs/glm/glm-0.9.9.8-r1.ebuild
index d247d9fdf8e..23b762f4160 100644
--- a/media-libs/glm/glm-0.9.9.8-r1.ebuild
+++ b/media-libs/glm/glm-0.9.9.8-r1.ebuild
@@ -11,7 +11,7 @@ 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"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~sparc ~x86"
 IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2020-08-01 Thread Alfredo Tupone
commit: b13b2f98879179773c114256350c5a2d21f4c15d
Author: Karlson2k (Evgeny Grin)  narod  ru>
AuthorDate: Wed Jul 29 12:12:50 2020 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Sat Aug  1 14:59:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b13b2f98

media-libs/glm-0.9.9.8: fixes Fixed installation of provided CMake 
configuration module Skipped build when `test` is not used (header-only library)

Bug: https://bugs.gentoo.org/714778
Closes: https://bugs.gentoo.org/717004

Signed-off-by: Karlson2k (Evgeny Grin)  narod.ru>
Signed-off-by: Alfredo Tupone  gentoo.org>

 media-libs/glm/glm-0.9.9.8-r1.ebuild | 59 
 1 file changed, 59 insertions(+)

diff --git a/media-libs/glm/glm-0.9.9.8-r1.ebuild 
b/media-libs/glm/glm-0.9.9.8-r1.ebuild
new file mode 100644
index 000..d247d9fdf8e
--- /dev/null
+++ b/media-libs/glm/glm-0.9.9.8-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+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"
+RESTRICT="!test? ( test )"
+
+RDEPEND=""
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.9.9.6-simd.patch
+   "${FILESDIR}"/${P}-clang.patch
+)
+
+src_configure() {
+   # Header-only library
+   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)"
+   )
+   cmake_src_configure
+   fi
+
+   sed \
+   -e "s:@CMAKE_INSTALL_PREFIX@:${EPREFIX}/usr:" \
+   -e "s:@GLM_VERSION@:$(ver_cut 1-3):" \
+   "${FILESDIR}"/glm.pc.in \
+   > "${BUILD_DIR}/glm.pc" || die
+}
+
+src_compile() {
+   # Header-only library
+   if use test; then
+   cmake_src_compile
+   fi
+}
+
+src_install() {
+   doheader -r glm
+   insinto /usr/share/pkgconfig
+   doins "${BUILD_DIR}/glm.pc"
+   insinto /usr/share
+   doins -r cmake
+   dodoc readme.md manual.md
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/, media-libs/glm/files/

2020-07-06 Thread Alfredo Tupone
commit: dc027e6f5fb7980a04d5ef54ddb38623fb1695fa
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Tue Jul  7 06:51:10 2020 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Tue Jul  7 06:51:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc027e6f

media-libs/glm: remove -Werror

Closes: https://bugs.gentoo.org/730948
Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Alfredo Tupone  gentoo.org>

 media-libs/glm/files/glm-0.9.9.8-clang.patch | 11 +++
 media-libs/glm/glm-0.9.9.8.ebuild|  1 +
 2 files changed, 12 insertions(+)

diff --git a/media-libs/glm/files/glm-0.9.9.8-clang.patch 
b/media-libs/glm/files/glm-0.9.9.8-clang.patch
new file mode 100644
index 000..af763d5b452
--- /dev/null
+++ b/media-libs/glm/files/glm-0.9.9.8-clang.patch
@@ -0,0 +1,11 @@
+--- a/test/CMakeLists.txt  2020-07-07 08:44:31.304955458 +0200
 b/test/CMakeLists.txt  2020-07-07 08:44:38.962844309 +0200
+@@ -197,7 +197,7 @@
+   message("GLM: Clang - ${CMAKE_CXX_COMPILER_ID} compiler")
+   endif()
+ 
+-  add_compile_options(-Werror -Weverything)
++  add_compile_options(-Weverything)
+   add_compile_options(-Wno-c++98-compat -Wno-c++98-compat-pedantic 
-Wno-c++11-long-long -Wno-padded -Wno-gnu-anonymous-struct 
-Wno-nested-anon-types)
+   add_compile_options(-Wno-undefined-reinterpret-cast 
-Wno-sign-conversion -Wno-unused-variable -Wno-missing-prototypes 
-Wno-unreachable-code -Wno-missing-variable-declarations -Wno-sign-compare 
-Wno-global-constructors -Wno-unused-macros -Wno-format-nonliteral)
+ 

diff --git a/media-libs/glm/glm-0.9.9.8.ebuild 
b/media-libs/glm/glm-0.9.9.8.ebuild
index dcd6a2c5911..6fd8711eea6 100644
--- a/media-libs/glm/glm-0.9.9.8.ebuild
+++ b/media-libs/glm/glm-0.9.9.8.ebuild
@@ -19,6 +19,7 @@ RDEPEND=""
 
 PATCHES=(
"${FILESDIR}"/${PN}-0.9.9.6-simd.patch
+   "${FILESDIR}"/${P}-clang.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2020-07-02 Thread Alfredo Tupone
commit: 41a96591e7061ad6a3d4319d97b718c3ed01b246
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Thu Jul  2 13:55:55 2020 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Thu Jul  2 13:55:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41a96591

media-libs/glm: Version bump to 0.9.9.8

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Alfredo Tupone  gentoo.org>

 media-libs/glm/Manifest   |  1 +
 media-libs/glm/glm-0.9.9.8.ebuild | 52 +++
 2 files changed, 53 insertions(+)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index f75ae6b2e52..e165587e7d2 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -1,2 +1,3 @@
 DIST glm-0.9.9.5.tar.gz 4578601 BLAKE2B 
9ce4dc7e638a651f958e2e0e1bfa0da121aefc382579838bfd810952bb8f4253e17caa6d743de713c86a4e8bd5f1afa38f8162e5f2d98ab141d94574d1103d40
 SHA512 
3b329acf5144aab1c0f47f8045d34e097699bd6685118ad8322c5ce23afdcb44ba2bb07e49301db06355b8eef7d4340b72251d55e113b533740d1e6ef6609911
 DIST glm-0.9.9.7.tar.gz 4357077 BLAKE2B 
59746a8775e0fc20fe8a8c3ae01c48841066d6092ce3cd7fa93bbf29f5247c42645bc920a3dbf3f0b4b61eb1e47f46514d9cd98c4e6df133ced0072ba6a570ee
 SHA512 
9c557788d6382777317c94f8b30bc3df7e533877705514fa5d384f97b076d6bc750e841acbecdec8113e21af07bd8850159f5f1e079aaa2cde25540b480f983b
+DIST glm-0.9.9.8.tar.gz 4368032 BLAKE2B 
41e4d4a9fbd75c6c6717e43b6a6ae09bb7da3b4b2ee7c5b04308f3aa875b306638b638aca3e457c039845c489fcf0716a080ec2166bf5e9db93c25944f4ba81a
 SHA512 
9484b0c12175414237c5b9486a2990099b1cb727e442f25ecda18b081aa661f7e92a44481f642989553cd3da7992a773441ee5688991bd539ce19fb66a5ce9e8

diff --git a/media-libs/glm/glm-0.9.9.8.ebuild 
b/media-libs/glm/glm-0.9.9.8.ebuild
new file mode 100644
index 000..dcd6a2c5911
--- /dev/null
+++ b/media-libs/glm/glm-0.9.9.8.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+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"
+RESTRICT="!test? ( test )"
+
+RDEPEND=""
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.9.9.6-simd.patch
+)
+
+src_prepare() {
+   sed \
+   -e "s:@CMAKE_INSTALL_PREFIX@:${EPREFIX}/usr:" \
+   -e "s:@GLM_VERSION@:0.9.9:" \
+   "${FILESDIR}"/glm.pc.in \
+   > glm.pc
+   cmake_src_prepare
+}
+
+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_src_configure
+}
+
+src_install() {
+   doheader -r glm
+   insinto /usr/$(get_libdir)/pkgconfig
+   doins glm.pc
+   dodoc readme.md manual.md
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2020-06-17 Thread Alfredo Tupone
commit: ca5cd51f2f29cdb7c3760a7d08c996916762e68c
Author: Alfredo Tupone  gentoo  org>
AuthorDate: Wed Jun 17 19:22:29 2020 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Wed Jun 17 19:23:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca5cd51f

media-libs/glm: remove dep on virtual/opengl

Closes: https://bugs.gentoo.org/728360
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alfredo Tupone  gentoo.org>

 media-libs/glm/glm-0.9.9.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glm/glm-0.9.9.7.ebuild 
b/media-libs/glm/glm-0.9.9.7.ebuild
index c9c8d1c1198..23177ad7f0d 100644
--- a/media-libs/glm/glm-0.9.9.7.ebuild
+++ b/media-libs/glm/glm-0.9.9.7.ebuild
@@ -15,7 +15,7 @@ KEYWORDS="amd64 arm arm64 ~ppc64 x86"
 IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
 RESTRICT="!test? ( test )"
 
-RDEPEND="virtual/opengl"
+RDEPEND=""
 
 PATCHES=(
"${FILESDIR}"/${PN}-0.9.9.6-simd.patch



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/files/

2020-06-17 Thread Aaron Bauman
commit: 493bf9c882291c76ba217d611e4f0a0d71a7d1b8
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Tue Jun 16 18:25:58 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Wed Jun 17 17:49:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=493bf9c8

media-libs/glm: remove unused patch

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16278
Signed-off-by: Aaron Bauman  gentoo.org>

 media-libs/glm/files/glm-0.9.9.2-avx.patch | 30 --
 1 file changed, 30 deletions(-)

diff --git a/media-libs/glm/files/glm-0.9.9.2-avx.patch 
b/media-libs/glm/files/glm-0.9.9.2-avx.patch
deleted file mode 100644
index 3549af416fc..000
--- a/media-libs/glm/files/glm-0.9.9.2-avx.patch
+++ /dev/null
@@ -1,30 +0,0 @@
 a/glm/simd/platform.h  2019-03-06 18:57:53.309630574 +0100
-+++ b/glm/simd/platform.h  2019-03-06 18:58:30.796988006 +0100
-@@ -233,7 +233,7 @@
- #define GLM_ARCH_SSSE3_BIT(0x0010)
- #define GLM_ARCH_SSE41_BIT(0x0020)
- #define GLM_ARCH_SSE42_BIT(0x0040)
--#define GLM_ARCH_AVX_BIT  (0x0080)
-+#define GLM_ARCH_AVX_BIT  (0x)
- #define GLM_ARCH_AVX2_BIT (0x0100)
- 
- #define GLM_ARCH_UNKNOWN  (0)
 a/CMakeLists.txt   2019-03-06 19:27:14.052353176 +0100
-+++ b/CMakeLists.txt   2019-03-06 19:27:05.161503895 +0100
-@@ -203,7 +203,6 @@
-   message("GLM: GCC - ${CMAKE_CXX_COMPILER_ID} compiler")
-   endif()
- 
--  add_compile_options(-O2)
-   add_compile_options(-Wno-long-long)
- 
- elseif(CMAKE_CXX_COMPILER_ID MATCHES "Intel")
 a/test/perf/CMakeLists.txt.old 2019-03-18 20:18:58.397352048 +0100
-+++ b/test/perf/CMakeLists.txt 2019-03-18 20:19:08.466182370 +0100
-@@ -1,6 +1,3 @@
--glmCreateTestGTC(perf_matrix_div)
- glmCreateTestGTC(perf_matrix_inverse)
--glmCreateTestGTC(perf_matrix_mul)
--glmCreateTestGTC(perf_matrix_mul_vector)
- glmCreateTestGTC(perf_matrix_transpose)
- glmCreateTestGTC(perf_vector_mul_matrix)



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2020-03-31 Thread Mart Raudsepp
commit: 746a142b1eb1598272e9ce24ec2fb3e0b0a5f291
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Tue Mar 31 00:28:10 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Tue Mar 31 17:51:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=746a142b

media-libs/glm: arm64 stable (#709582)

Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Mart Raudsepp  gentoo.org>

 media-libs/glm/glm-0.9.9.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glm/glm-0.9.9.7.ebuild 
b/media-libs/glm/glm-0.9.9.7.ebuild
index 1b2292b614d..c9c8d1c1198 100644
--- a/media-libs/glm/glm-0.9.9.7.ebuild
+++ b/media-libs/glm/glm-0.9.9.7.ebuild
@@ -11,7 +11,7 @@ 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"
+KEYWORDS="amd64 arm arm64 ~ppc64 x86"
 IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2020-02-18 Thread Alfredo Tupone
commit: cace804f673d1d78a94e7244d66986853859ca22
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Tue Feb 18 11:21:46 2020 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Tue Feb 18 11:22:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cace804f

media-libs/glm: restore arm64 stable version

Signed-off-by: Alfredo Tupone  gentoo.org>

 media-libs/glm/Manifest   |  1 +
 media-libs/glm/glm-0.9.9.5.ebuild | 32 
 2 files changed, 33 insertions(+)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index 6b41fed3948..f75ae6b2e52 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -1 +1,2 @@
+DIST glm-0.9.9.5.tar.gz 4578601 BLAKE2B 
9ce4dc7e638a651f958e2e0e1bfa0da121aefc382579838bfd810952bb8f4253e17caa6d743de713c86a4e8bd5f1afa38f8162e5f2d98ab141d94574d1103d40
 SHA512 
3b329acf5144aab1c0f47f8045d34e097699bd6685118ad8322c5ce23afdcb44ba2bb07e49301db06355b8eef7d4340b72251d55e113b533740d1e6ef6609911
 DIST glm-0.9.9.7.tar.gz 4357077 BLAKE2B 
59746a8775e0fc20fe8a8c3ae01c48841066d6092ce3cd7fa93bbf29f5247c42645bc920a3dbf3f0b4b61eb1e47f46514d9cd98c4e6df133ced0072ba6a570ee
 SHA512 
9c557788d6382777317c94f8b30bc3df7e533877705514fa5d384f97b076d6bc750e841acbecdec8113e21af07bd8850159f5f1e079aaa2cde25540b480f983b

diff --git a/media-libs/glm/glm-0.9.9.5.ebuild 
b/media-libs/glm/glm-0.9.9.5.ebuild
new file mode 100644
index 000..b439b0bf903
--- /dev/null
+++ b/media-libs/glm/glm-0.9.9.5.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+RESTRICT="!test? ( test )"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2020-02-17 Thread Alfredo Tupone
commit: 2eebfd6a6878a8f4455b1ba4c232cb8a25206e95
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Tue Feb 18 07:55:11 2020 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Tue Feb 18 07:55:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2eebfd6a

media-libs/glm: remove old versions

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Alfredo Tupone  gentoo.org>

 media-libs/glm/Manifest  |  5 -
 media-libs/glm/glm-0.9.9.2.ebuild| 34 
 media-libs/glm/glm-0.9.9.4.ebuild| 32 --
 media-libs/glm/glm-0.9.9.5.ebuild| 32 --
 media-libs/glm/glm-0.9.9.6-r1.ebuild | 38 
 5 files changed, 141 deletions(-)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index ce1570fce00..6b41fed3948 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -1,6 +1 @@
-DIST glm-0.9.9.2.tar.gz 4572279 BLAKE2B 
8b9ade542989b3f73f1a80403b73b5c04c5d64ae259891a6b41564eb7b4417876d527ea8440352f2feec6480ec926ca877a4849c4e75c6ece3692d24d87c942a
 SHA512 
80a5fbeaaea5f1034cd6f8ad3f4daf8b5fa8d9410ccce15ced20f37e24c0f6083332fde82b1fa7357399b3e37c1a31dd3a14f257b7847a5f1ddefa627b50351a
-DIST glm-0.9.9.4.tar.gz 4578404 BLAKE2B 
4c0bb64bb477ca46d45b4d25d7d992a39a82a7d745d4564dfac04c7f6e31ea0741b33d2d6c7832580e6f51f62a2efe269a9601c10d87f1e68b333e71e20c3d02
 SHA512 
50e4784fcd5f1da4ae27830948ffe4b412ec53447b89d30c6dcc2b4e0f9ec05cca4b07461d3d8a339eb103fae8dac325fabc87607b5397122ce2021d6e15a1a1
-DIST glm-0.9.9.5.tar.gz 4578601 BLAKE2B 
9ce4dc7e638a651f958e2e0e1bfa0da121aefc382579838bfd810952bb8f4253e17caa6d743de713c86a4e8bd5f1afa38f8162e5f2d98ab141d94574d1103d40
 SHA512 
3b329acf5144aab1c0f47f8045d34e097699bd6685118ad8322c5ce23afdcb44ba2bb07e49301db06355b8eef7d4340b72251d55e113b533740d1e6ef6609911
-DIST glm-0.9.9.6-install.patch.gz 7594 BLAKE2B 
a273e1e2adc6bdcaab2a3b66457b59e42384215c19b12ce6d27706d74c4d0ec5f010912c295dff4300a44ebc16cabc09c381df5dede01daf7ebe60cf8b95d060
 SHA512 
bf489673077dcfc821264cbda55d63cf7a01f4e27cdcadf3f6e0d73f016a24fe590142144e2fa5d074cbc518acf34164653c31a346ab6909cfbd7af6c294e79f
-DIST glm-0.9.9.6.tar.gz 4354114 BLAKE2B 
e62af8d4fe22eced565a2703f5d02ad935a18a4c9352302fdb203c85149b9374066684246f940e417882d2700d13b93fc0232921151680ec58c9df80ee0be1fd
 SHA512 
1bc8fc1da21e19f95d4a24259993c7932db328fdd2d0db68dbf60c07f372e19003a8df094fb4e153bb7f50df584c17cf0a540d3d3c38b7a287f3b55314ec2d70
 DIST glm-0.9.9.7.tar.gz 4357077 BLAKE2B 
59746a8775e0fc20fe8a8c3ae01c48841066d6092ce3cd7fa93bbf29f5247c42645bc920a3dbf3f0b4b61eb1e47f46514d9cd98c4e6df133ced0072ba6a570ee
 SHA512 
9c557788d6382777317c94f8b30bc3df7e533877705514fa5d384f97b076d6bc750e841acbecdec8113e21af07bd8850159f5f1e079aaa2cde25540b480f983b

diff --git a/media-libs/glm/glm-0.9.9.2.ebuild 
b/media-libs/glm/glm-0.9.9.2.ebuild
deleted file mode 100644
index a196c92bc9b..000
--- a/media-libs/glm/glm-0.9.9.2.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# 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"
-RESTRICT="!test? ( test )"
-
-RDEPEND="virtual/opengl"
-
-PATCHES=( "${FILESDIR}"/${P}-avx.patch )
-
-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
-}

diff --git a/media-libs/glm/glm-0.9.9.4.ebuild 
b/media-libs/glm/glm-0.9.9.4.ebuild
deleted file mode 100644
index 13639d0788e..000
--- a/media-libs/glm/glm-0.9.9.4.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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"
-RESTRICT="!test? ( test )"
-
-RDEPEND="virtual/opengl"
-
-src_configure() {
-   if use test; then
-   local mycmakeargs=(
-

[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2020-02-17 Thread Agostino Sarubbo
commit: a922b61452bb9e2dc49dcd44f1a0b78defa9e63e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Feb 17 12:21:16 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Feb 17 12:21:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a922b614

media-libs/glm: x86 stable wrt bug #709582

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/glm/glm-0.9.9.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glm/glm-0.9.9.7.ebuild 
b/media-libs/glm/glm-0.9.9.7.ebuild
index 6360155bfdd..1b2292b614d 100644
--- a/media-libs/glm/glm-0.9.9.7.ebuild
+++ b/media-libs/glm/glm-0.9.9.7.ebuild
@@ -11,7 +11,7 @@ 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"
+KEYWORDS="amd64 arm ~arm64 ~ppc64 x86"
 IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2020-02-17 Thread Agostino Sarubbo
commit: a2e2b7240c9d59338579390dae6bd179d765a8b4
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Feb 17 12:13:36 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Feb 17 12:13:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2e2b724

media-libs/glm: amd64 stable wrt bug #709582

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/glm/glm-0.9.9.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glm/glm-0.9.9.7.ebuild 
b/media-libs/glm/glm-0.9.9.7.ebuild
index 467e3cd198f..6360155bfdd 100644
--- a/media-libs/glm/glm-0.9.9.7.ebuild
+++ b/media-libs/glm/glm-0.9.9.7.ebuild
@@ -11,7 +11,7 @@ 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"
+KEYWORDS="amd64 arm ~arm64 ~ppc64 ~x86"
 IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2020-02-17 Thread Agostino Sarubbo
commit: f007c1e46d98b9450136a2f997a6ef63a99aa02e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Feb 17 11:45:07 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Feb 17 11:45:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f007c1e4

media-libs/glm: arm stable wrt bug #709582

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/glm/glm-0.9.9.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glm/glm-0.9.9.7.ebuild 
b/media-libs/glm/glm-0.9.9.7.ebuild
index d806cb6f375..467e3cd198f 100644
--- a/media-libs/glm/glm-0.9.9.7.ebuild
+++ b/media-libs/glm/glm-0.9.9.7.ebuild
@@ -11,7 +11,7 @@ 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"
+KEYWORDS="~amd64 arm ~arm64 ~ppc64 ~x86"
 IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2020-01-11 Thread Alfredo Tupone
commit: f12d3468e4f471a8f0124b4d4eb98a8081c0ac52
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Sat Jan 11 08:22:49 2020 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Sat Jan 11 08:22:49 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f12d3468

media-libs/glm: fix test on SSE2

Closes: https://bugs.gentoo.org/705096
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Alfredo Tupone  gentoo.org>

 media-libs/glm/glm-0.9.9.7.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/media-libs/glm/glm-0.9.9.7.ebuild 
b/media-libs/glm/glm-0.9.9.7.ebuild
index c144e6b5a4c..d806cb6f375 100644
--- a/media-libs/glm/glm-0.9.9.7.ebuild
+++ b/media-libs/glm/glm-0.9.9.7.ebuild
@@ -17,6 +17,10 @@ RESTRICT="!test? ( test )"
 
 RDEPEND="virtual/opengl"
 
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.9.9.6-simd.patch
+)
+
 src_prepare() {
sed \
-e "s:@CMAKE_INSTALL_PREFIX@:${EPREFIX}/usr:" \



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2020-01-10 Thread Alfredo Tupone
commit: c05c832c745e2fc99c292f28b976cdae01dd8515
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Fri Jan 10 18:00:18 2020 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Fri Jan 10 18:00:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c05c832c

media-libs/glm: Fix glm.pc

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Alfredo Tupone  gentoo.org>

 media-libs/glm/glm-0.9.9.7.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/media-libs/glm/glm-0.9.9.7.ebuild 
b/media-libs/glm/glm-0.9.9.7.ebuild
index ac6c4ff427a..c144e6b5a4c 100644
--- a/media-libs/glm/glm-0.9.9.7.ebuild
+++ b/media-libs/glm/glm-0.9.9.7.ebuild
@@ -18,7 +18,9 @@ RESTRICT="!test? ( test )"
 RDEPEND="virtual/opengl"
 
 src_prepare() {
-   sed -e "s:@CMAKE_INSTALL_PREFIX@:${EPREFIX}/usr:" \
+   sed \
+   -e "s:@CMAKE_INSTALL_PREFIX@:${EPREFIX}/usr:" \
+   -e "s:@GLM_VERSION@:0.9.9:" \
"${FILESDIR}"/glm.pc.in \
> glm.pc
cmake-utils_src_prepare



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/files/, media-libs/glm/

2020-01-07 Thread Alfredo Tupone
commit: 3f944f98d92107b26f7347aee359dd7bf2defb42
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Wed Jan  8 07:33:05 2020 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Wed Jan  8 07:33:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f944f98

media-libs/glm: Version bump to 0.9.9.7

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Alfredo Tupone  gentoo.org>

 media-libs/glm/Manifest   |  1 +
 media-libs/glm/files/glm.pc.in|  7 ++
 media-libs/glm/glm-0.9.9.7.ebuild | 46 +++
 3 files changed, 54 insertions(+)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index b26407fe392..ce1570fce00 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -3,3 +3,4 @@ DIST glm-0.9.9.4.tar.gz 4578404 BLAKE2B 
4c0bb64bb477ca46d45b4d25d7d992a39a82a7d7
 DIST glm-0.9.9.5.tar.gz 4578601 BLAKE2B 
9ce4dc7e638a651f958e2e0e1bfa0da121aefc382579838bfd810952bb8f4253e17caa6d743de713c86a4e8bd5f1afa38f8162e5f2d98ab141d94574d1103d40
 SHA512 
3b329acf5144aab1c0f47f8045d34e097699bd6685118ad8322c5ce23afdcb44ba2bb07e49301db06355b8eef7d4340b72251d55e113b533740d1e6ef6609911
 DIST glm-0.9.9.6-install.patch.gz 7594 BLAKE2B 
a273e1e2adc6bdcaab2a3b66457b59e42384215c19b12ce6d27706d74c4d0ec5f010912c295dff4300a44ebc16cabc09c381df5dede01daf7ebe60cf8b95d060
 SHA512 
bf489673077dcfc821264cbda55d63cf7a01f4e27cdcadf3f6e0d73f016a24fe590142144e2fa5d074cbc518acf34164653c31a346ab6909cfbd7af6c294e79f
 DIST glm-0.9.9.6.tar.gz 4354114 BLAKE2B 
e62af8d4fe22eced565a2703f5d02ad935a18a4c9352302fdb203c85149b9374066684246f940e417882d2700d13b93fc0232921151680ec58c9df80ee0be1fd
 SHA512 
1bc8fc1da21e19f95d4a24259993c7932db328fdd2d0db68dbf60c07f372e19003a8df094fb4e153bb7f50df584c17cf0a540d3d3c38b7a287f3b55314ec2d70
+DIST glm-0.9.9.7.tar.gz 4357077 BLAKE2B 
59746a8775e0fc20fe8a8c3ae01c48841066d6092ce3cd7fa93bbf29f5247c42645bc920a3dbf3f0b4b61eb1e47f46514d9cd98c4e6df133ced0072ba6a570ee
 SHA512 
9c557788d6382777317c94f8b30bc3df7e533877705514fa5d384f97b076d6bc750e841acbecdec8113e21af07bd8850159f5f1e079aaa2cde25540b480f983b

diff --git a/media-libs/glm/files/glm.pc.in b/media-libs/glm/files/glm.pc.in
new file mode 100644
index 000..fc5c7bb7f90
--- /dev/null
+++ b/media-libs/glm/files/glm.pc.in
@@ -0,0 +1,7 @@
+prefix=@CMAKE_INSTALL_PREFIX@
+includedir=${prefix}/include
+
+Name: GLM
+Description: OpenGL Mathematics
+Version: @GLM_VERSION@
+Cflags: -I${includedir}

diff --git a/media-libs/glm/glm-0.9.9.7.ebuild 
b/media-libs/glm/glm-0.9.9.7.ebuild
new file mode 100644
index 000..ac6c4ff427a
--- /dev/null
+++ b/media-libs/glm/glm-0.9.9.7.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+RESTRICT="!test? ( test )"
+
+RDEPEND="virtual/opengl"
+
+src_prepare() {
+   sed -e "s:@CMAKE_INSTALL_PREFIX@:${EPREFIX}/usr:" \
+   "${FILESDIR}"/glm.pc.in \
+   > glm.pc
+   cmake-utils_src_prepare
+}
+
+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
+}
+
+src_install() {
+   doheader -r glm
+   insinto /usr/$(get_libdir)/pkgconfig
+   doins glm.pc
+   dodoc readme.md manual.md
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2019-11-18 Thread Alfredo Tupone
commit: 0321db0109929cb1a892be35f089eb2ba0fd3c0c
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Mon Nov 18 08:12:25 2019 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Mon Nov 18 08:12:25 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0321db01

media-libs/glm: MissingTestRestrict

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Alfredo Tupone  gentoo.org>

 media-libs/glm/glm-0.9.9.2.ebuild| 1 +
 media-libs/glm/glm-0.9.9.4.ebuild| 1 +
 media-libs/glm/glm-0.9.9.5.ebuild| 1 +
 media-libs/glm/glm-0.9.9.6-r1.ebuild | 1 +
 4 files changed, 4 insertions(+)

diff --git a/media-libs/glm/glm-0.9.9.2.ebuild 
b/media-libs/glm/glm-0.9.9.2.ebuild
index 7d34ec0aba6..a196c92bc9b 100644
--- a/media-libs/glm/glm-0.9.9.2.ebuild
+++ b/media-libs/glm/glm-0.9.9.2.ebuild
@@ -13,6 +13,7 @@ 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"
+RESTRICT="!test? ( test )"
 
 RDEPEND="virtual/opengl"
 

diff --git a/media-libs/glm/glm-0.9.9.4.ebuild 
b/media-libs/glm/glm-0.9.9.4.ebuild
index 169bf319fad..13639d0788e 100644
--- a/media-libs/glm/glm-0.9.9.4.ebuild
+++ b/media-libs/glm/glm-0.9.9.4.ebuild
@@ -13,6 +13,7 @@ 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"
+RESTRICT="!test? ( test )"
 
 RDEPEND="virtual/opengl"
 

diff --git a/media-libs/glm/glm-0.9.9.5.ebuild 
b/media-libs/glm/glm-0.9.9.5.ebuild
index 8ae918b5299..b439b0bf903 100644
--- a/media-libs/glm/glm-0.9.9.5.ebuild
+++ b/media-libs/glm/glm-0.9.9.5.ebuild
@@ -13,6 +13,7 @@ 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"
+RESTRICT="!test? ( test )"
 
 RDEPEND="virtual/opengl"
 

diff --git a/media-libs/glm/glm-0.9.9.6-r1.ebuild 
b/media-libs/glm/glm-0.9.9.6-r1.ebuild
index 196d3f431fc..6facddfdf0f 100644
--- a/media-libs/glm/glm-0.9.9.6-r1.ebuild
+++ b/media-libs/glm/glm-0.9.9.6-r1.ebuild
@@ -14,6 +14,7 @@ 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"
+RESTRICT="!test? ( test )"
 
 RDEPEND="virtual/opengl"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/files/, media-libs/glm/

2019-10-29 Thread Alfredo Tupone
commit: 752fa45e66e9f949f62ba9bec05ef4691269c97c
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Tue Oct 29 21:22:04 2019 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Tue Oct 29 21:22:04 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=752fa45e

media-libs/glm: revert to cmake install

Closes: https://bugs.gentoo.org/695648
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Alfredo Tupone  gentoo.org>

 media-libs/glm/Manifest|  1 +
 media-libs/glm/files/glm.pc.in |  7 ---
 .../{glm-0.9.9.6.ebuild => glm-0.9.9.6-r1.ebuild}  | 23 ++
 3 files changed, 7 insertions(+), 24 deletions(-)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index 571ab1845ac..b26407fe392 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -1,4 +1,5 @@
 DIST glm-0.9.9.2.tar.gz 4572279 BLAKE2B 
8b9ade542989b3f73f1a80403b73b5c04c5d64ae259891a6b41564eb7b4417876d527ea8440352f2feec6480ec926ca877a4849c4e75c6ece3692d24d87c942a
 SHA512 
80a5fbeaaea5f1034cd6f8ad3f4daf8b5fa8d9410ccce15ced20f37e24c0f6083332fde82b1fa7357399b3e37c1a31dd3a14f257b7847a5f1ddefa627b50351a
 DIST glm-0.9.9.4.tar.gz 4578404 BLAKE2B 
4c0bb64bb477ca46d45b4d25d7d992a39a82a7d745d4564dfac04c7f6e31ea0741b33d2d6c7832580e6f51f62a2efe269a9601c10d87f1e68b333e71e20c3d02
 SHA512 
50e4784fcd5f1da4ae27830948ffe4b412ec53447b89d30c6dcc2b4e0f9ec05cca4b07461d3d8a339eb103fae8dac325fabc87607b5397122ce2021d6e15a1a1
 DIST glm-0.9.9.5.tar.gz 4578601 BLAKE2B 
9ce4dc7e638a651f958e2e0e1bfa0da121aefc382579838bfd810952bb8f4253e17caa6d743de713c86a4e8bd5f1afa38f8162e5f2d98ab141d94574d1103d40
 SHA512 
3b329acf5144aab1c0f47f8045d34e097699bd6685118ad8322c5ce23afdcb44ba2bb07e49301db06355b8eef7d4340b72251d55e113b533740d1e6ef6609911
+DIST glm-0.9.9.6-install.patch.gz 7594 BLAKE2B 
a273e1e2adc6bdcaab2a3b66457b59e42384215c19b12ce6d27706d74c4d0ec5f010912c295dff4300a44ebc16cabc09c381df5dede01daf7ebe60cf8b95d060
 SHA512 
bf489673077dcfc821264cbda55d63cf7a01f4e27cdcadf3f6e0d73f016a24fe590142144e2fa5d074cbc518acf34164653c31a346ab6909cfbd7af6c294e79f
 DIST glm-0.9.9.6.tar.gz 4354114 BLAKE2B 
e62af8d4fe22eced565a2703f5d02ad935a18a4c9352302fdb203c85149b9374066684246f940e417882d2700d13b93fc0232921151680ec58c9df80ee0be1fd
 SHA512 
1bc8fc1da21e19f95d4a24259993c7932db328fdd2d0db68dbf60c07f372e19003a8df094fb4e153bb7f50df584c17cf0a540d3d3c38b7a287f3b55314ec2d70

diff --git a/media-libs/glm/files/glm.pc.in b/media-libs/glm/files/glm.pc.in
deleted file mode 100644
index fc5c7bb7f90..000
--- a/media-libs/glm/files/glm.pc.in
+++ /dev/null
@@ -1,7 +0,0 @@
-prefix=@CMAKE_INSTALL_PREFIX@
-includedir=${prefix}/include
-
-Name: GLM
-Description: OpenGL Mathematics
-Version: @GLM_VERSION@
-Cflags: -I${includedir}

diff --git a/media-libs/glm/glm-0.9.9.6.ebuild 
b/media-libs/glm/glm-0.9.9.6-r1.ebuild
similarity index 71%
rename from media-libs/glm/glm-0.9.9.6.ebuild
rename to media-libs/glm/glm-0.9.9.6-r1.ebuild
index 7049a117fce..196d3f431fc 100644
--- a/media-libs/glm/glm-0.9.9.6.ebuild
+++ b/media-libs/glm/glm-0.9.9.6-r1.ebuild
@@ -7,7 +7,8 @@ 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"
+SRC_URI="https://github.com/g-truc/glm/archive/${PV}.tar.gz -> ${P}.tar.gz
+   https://dev.gentoo.org/~tupone/distfiles/${P}-install.patch.gz";
 
 LICENSE="|| ( HappyBunny MIT )"
 SLOT="0"
@@ -16,15 +17,10 @@ IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 
cpu_flags_x86_avx cpu_flags_x86
 
 RDEPEND="virtual/opengl"
 
-PATCHES=( "${FILESDIR}"/${P}-simd.patch )
-
-src_prepare() {
-   cmake-utils_src_prepare
-   sed \
-   -e "s:@CMAKE_INSTALL_PREFIX@:${EPREFIX}/usr:" \
-   -e "s:@GLM_VERSION@:0.9.9:" \
-   "${FILESDIR}"/glm.pc.in > glm.pc || die
-}
+PATCHES=(
+   "${FILESDIR}"/${P}-simd.patch
+   "${WORKDIR}"/${P}-install.patch
+)
 
 src_configure() {
if use test; then
@@ -39,10 +35,3 @@ src_configure() {
 
cmake-utils_src_configure
 }
-
-src_install() {
-   doheader -r glm
-   dodoc -r *md doc/*
-   insinto /usr/$(get_libdir)/pkgconfig
-   doins glm.pc
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/files/, media-libs/glm/

2019-09-12 Thread Alfredo Tupone
commit: ac0397adc5b4ddfc44e26de96c743f2e54a7a91a
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Thu Sep 12 07:01:50 2019 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Thu Sep 12 07:01:50 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac0397ad

media-libs/glm: disable SSE2

Closes: https://bugs.gentoo.org/693954
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Alfredo Tupone  gentoo.org>

 media-libs/glm/files/glm-0.9.9.6-simd.patch | 11 +++
 media-libs/glm/glm-0.9.9.6.ebuild   |  2 ++
 2 files changed, 13 insertions(+)

diff --git a/media-libs/glm/files/glm-0.9.9.6-simd.patch 
b/media-libs/glm/files/glm-0.9.9.6-simd.patch
new file mode 100644
index 000..5ed2bf1f6d6
--- /dev/null
+++ b/media-libs/glm/files/glm-0.9.9.6-simd.patch
@@ -0,0 +1,11 @@
+--- a/glm/simd/platform.h  2019-03-06 18:57:53.309630574 +0100
 b/glm/simd/platform.h  2019-03-06 18:58:30.796988006 +0100
+@@ -245,7 +245,7 @@
+ 
+ #define GLM_ARCH_NEON_BIT (0x0001)
+ #define GLM_ARCH_SSE_BIT  (0x0002)
+-#define GLM_ARCH_SSE2_BIT (0x0004)
++#define GLM_ARCH_SSE2_BIT (0x)
+ #define GLM_ARCH_SSE3_BIT (0x0008)
+ #define GLM_ARCH_SSSE3_BIT(0x0010)
+ #define GLM_ARCH_SSE41_BIT(0x0020)

diff --git a/media-libs/glm/glm-0.9.9.6.ebuild 
b/media-libs/glm/glm-0.9.9.6.ebuild
index 89d9894cf71..7049a117fce 100644
--- a/media-libs/glm/glm-0.9.9.6.ebuild
+++ b/media-libs/glm/glm-0.9.9.6.ebuild
@@ -16,6 +16,8 @@ IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 
cpu_flags_x86_avx cpu_flags_x86
 
 RDEPEND="virtual/opengl"
 
+PATCHES=( "${FILESDIR}"/${P}-simd.patch )
+
 src_prepare() {
cmake-utils_src_prepare
sed \



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/, media-libs/glm/files/

2019-09-10 Thread Alfredo Tupone
commit: 19fd8f929f791c589312f4c54634bfdd6cb41d5f
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Tue Sep 10 17:17:00 2019 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Tue Sep 10 17:17:00 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19fd8f92

media-libs/glm: respect EPREFIX

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Alfredo Tupone  gentoo.org>

 media-libs/glm/files/{glm.pc => glm.pc.in} |  4 ++--
 media-libs/glm/glm-0.9.9.6.ebuild  | 10 +-
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/media-libs/glm/files/glm.pc b/media-libs/glm/files/glm.pc.in
similarity index 64%
rename from media-libs/glm/files/glm.pc
rename to media-libs/glm/files/glm.pc.in
index e3bb5acc1af..fc5c7bb7f90 100644
--- a/media-libs/glm/files/glm.pc
+++ b/media-libs/glm/files/glm.pc.in
@@ -1,7 +1,7 @@
-prefix=/usr
+prefix=@CMAKE_INSTALL_PREFIX@
 includedir=${prefix}/include
 
 Name: GLM
 Description: OpenGL Mathematics
-Version: 0.9.9
+Version: @GLM_VERSION@
 Cflags: -I${includedir}

diff --git a/media-libs/glm/glm-0.9.9.6.ebuild 
b/media-libs/glm/glm-0.9.9.6.ebuild
index 8b84a358e2b..89d9894cf71 100644
--- a/media-libs/glm/glm-0.9.9.6.ebuild
+++ b/media-libs/glm/glm-0.9.9.6.ebuild
@@ -16,6 +16,14 @@ IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 
cpu_flags_x86_avx cpu_flags_x86
 
 RDEPEND="virtual/opengl"
 
+src_prepare() {
+   cmake-utils_src_prepare
+   sed \
+   -e "s:@CMAKE_INSTALL_PREFIX@:${EPREFIX}/usr:" \
+   -e "s:@GLM_VERSION@:0.9.9:" \
+   "${FILESDIR}"/glm.pc.in > glm.pc || die
+}
+
 src_configure() {
if use test; then
local mycmakeargs=(
@@ -34,5 +42,5 @@ src_install() {
doheader -r glm
dodoc -r *md doc/*
insinto /usr/$(get_libdir)/pkgconfig
-   doins "${FILESDIR}"/glm.pc
+   doins glm.pc
 }



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/files/, media-libs/glm/

2019-09-09 Thread Alfredo Tupone
commit: 4524f4ea0d795dc109c5499f471160b2e7d9d338
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Tue Sep 10 06:47:50 2019 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Tue Sep 10 06:47:50 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4524f4ea

media-libs/glm: re-add glm.pc

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Alfredo Tupone  gentoo.org>

 media-libs/glm/files/glm.pc   | 7 +++
 media-libs/glm/glm-0.9.9.6.ebuild | 2 ++
 2 files changed, 9 insertions(+)

diff --git a/media-libs/glm/files/glm.pc b/media-libs/glm/files/glm.pc
new file mode 100644
index 000..e3bb5acc1af
--- /dev/null
+++ b/media-libs/glm/files/glm.pc
@@ -0,0 +1,7 @@
+prefix=/usr
+includedir=${prefix}/include
+
+Name: GLM
+Description: OpenGL Mathematics
+Version: 0.9.9
+Cflags: -I${includedir}

diff --git a/media-libs/glm/glm-0.9.9.6.ebuild 
b/media-libs/glm/glm-0.9.9.6.ebuild
index 6e35cfa670b..8b84a358e2b 100644
--- a/media-libs/glm/glm-0.9.9.6.ebuild
+++ b/media-libs/glm/glm-0.9.9.6.ebuild
@@ -33,4 +33,6 @@ src_configure() {
 src_install() {
doheader -r glm
dodoc -r *md doc/*
+   insinto /usr/$(get_libdir)/pkgconfig
+   doins "${FILESDIR}"/glm.pc
 }



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2019-09-09 Thread Alfredo Tupone
commit: b81970ba8c5f70819a52a09daed3ac18950823c1
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Mon Sep  9 18:27:46 2019 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Mon Sep  9 18:27:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b81970ba

media-libs/glm: fix install phase

Closes: https://bugs.gentoo.org/693928
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Alfredo Tupone  gentoo.org>

 media-libs/glm/glm-0.9.9.6.ebuild | 5 +
 1 file changed, 5 insertions(+)

diff --git a/media-libs/glm/glm-0.9.9.6.ebuild 
b/media-libs/glm/glm-0.9.9.6.ebuild
index 169bf319fad..6e35cfa670b 100644
--- a/media-libs/glm/glm-0.9.9.6.ebuild
+++ b/media-libs/glm/glm-0.9.9.6.ebuild
@@ -29,3 +29,8 @@ src_configure() {
 
cmake-utils_src_configure
 }
+
+src_install() {
+   doheader -r glm
+   dodoc -r *md doc/*
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2019-09-09 Thread Alfredo Tupone
commit: 59ab0260756b8ca8802f01b44ae6e93e6ac42c2f
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Mon Sep  9 12:56:41 2019 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Mon Sep  9 12:56:41 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59ab0260

media-libs/glm: version bump to 0.9.9.6

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Alfredo Tupone  gentoo.org>

 media-libs/glm/Manifest   |  1 +
 media-libs/glm/glm-0.9.9.6.ebuild | 31 +++
 2 files changed, 32 insertions(+)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index 197ebe8778d..571ab1845ac 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -1,3 +1,4 @@
 DIST glm-0.9.9.2.tar.gz 4572279 BLAKE2B 
8b9ade542989b3f73f1a80403b73b5c04c5d64ae259891a6b41564eb7b4417876d527ea8440352f2feec6480ec926ca877a4849c4e75c6ece3692d24d87c942a
 SHA512 
80a5fbeaaea5f1034cd6f8ad3f4daf8b5fa8d9410ccce15ced20f37e24c0f6083332fde82b1fa7357399b3e37c1a31dd3a14f257b7847a5f1ddefa627b50351a
 DIST glm-0.9.9.4.tar.gz 4578404 BLAKE2B 
4c0bb64bb477ca46d45b4d25d7d992a39a82a7d745d4564dfac04c7f6e31ea0741b33d2d6c7832580e6f51f62a2efe269a9601c10d87f1e68b333e71e20c3d02
 SHA512 
50e4784fcd5f1da4ae27830948ffe4b412ec53447b89d30c6dcc2b4e0f9ec05cca4b07461d3d8a339eb103fae8dac325fabc87607b5397122ce2021d6e15a1a1
 DIST glm-0.9.9.5.tar.gz 4578601 BLAKE2B 
9ce4dc7e638a651f958e2e0e1bfa0da121aefc382579838bfd810952bb8f4253e17caa6d743de713c86a4e8bd5f1afa38f8162e5f2d98ab141d94574d1103d40
 SHA512 
3b329acf5144aab1c0f47f8045d34e097699bd6685118ad8322c5ce23afdcb44ba2bb07e49301db06355b8eef7d4340b72251d55e113b533740d1e6ef6609911
+DIST glm-0.9.9.6.tar.gz 4354114 BLAKE2B 
e62af8d4fe22eced565a2703f5d02ad935a18a4c9352302fdb203c85149b9374066684246f940e417882d2700d13b93fc0232921151680ec58c9df80ee0be1fd
 SHA512 
1bc8fc1da21e19f95d4a24259993c7932db328fdd2d0db68dbf60c07f372e19003a8df094fb4e153bb7f50df584c17cf0a540d3d3c38b7a287f3b55314ec2d70

diff --git a/media-libs/glm/glm-0.9.9.6.ebuild 
b/media-libs/glm/glm-0.9.9.6.ebuild
new file mode 100644
index 000..169bf319fad
--- /dev/null
+++ b/media-libs/glm/glm-0.9.9.6.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2019-08-01 Thread Aaron Bauman
commit: 62e61c928b69891972646ba691ef81d0c52f4767
Author: Aaron Bauman  gentoo  org>
AuthorDate: Thu Aug  1 12:41:12 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Thu Aug  1 13:09:48 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62e61c92

media-libs/glm: arm64 stable

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="arm64"

 media-libs/glm/glm-0.9.9.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glm/glm-0.9.9.5.ebuild 
b/media-libs/glm/glm-0.9.9.5.ebuild
index 169bf319fad..8ae918b5299 100644
--- a/media-libs/glm/glm-0.9.9.5.ebuild
+++ b/media-libs/glm/glm-0.9.9.5.ebuild
@@ -11,7 +11,7 @@ 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"
+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"



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2019-04-14 Thread Alfredo Tupone
commit: dcc45328eeeb5bb952e424448ae7bef772bd4e1d
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Sun Apr 14 19:31:18 2019 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Sun Apr 14 19:31:18 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcc45328

media-libs/glm: Version bump to 0.9.9.5

Signed-off-by: Alfredo Tupone  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 media-libs/glm/Manifest   |  1 +
 media-libs/glm/glm-0.9.9.5.ebuild | 31 +++
 2 files changed, 32 insertions(+)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index 5a8a8c49456..197ebe8778d 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -1,2 +1,3 @@
 DIST glm-0.9.9.2.tar.gz 4572279 BLAKE2B 
8b9ade542989b3f73f1a80403b73b5c04c5d64ae259891a6b41564eb7b4417876d527ea8440352f2feec6480ec926ca877a4849c4e75c6ece3692d24d87c942a
 SHA512 
80a5fbeaaea5f1034cd6f8ad3f4daf8b5fa8d9410ccce15ced20f37e24c0f6083332fde82b1fa7357399b3e37c1a31dd3a14f257b7847a5f1ddefa627b50351a
 DIST glm-0.9.9.4.tar.gz 4578404 BLAKE2B 
4c0bb64bb477ca46d45b4d25d7d992a39a82a7d745d4564dfac04c7f6e31ea0741b33d2d6c7832580e6f51f62a2efe269a9601c10d87f1e68b333e71e20c3d02
 SHA512 
50e4784fcd5f1da4ae27830948ffe4b412ec53447b89d30c6dcc2b4e0f9ec05cca4b07461d3d8a339eb103fae8dac325fabc87607b5397122ce2021d6e15a1a1
+DIST glm-0.9.9.5.tar.gz 4578601 BLAKE2B 
9ce4dc7e638a651f958e2e0e1bfa0da121aefc382579838bfd810952bb8f4253e17caa6d743de713c86a4e8bd5f1afa38f8162e5f2d98ab141d94574d1103d40
 SHA512 
3b329acf5144aab1c0f47f8045d34e097699bd6685118ad8322c5ce23afdcb44ba2bb07e49301db06355b8eef7d4340b72251d55e113b533740d1e6ef6609911

diff --git a/media-libs/glm/glm-0.9.9.5.ebuild 
b/media-libs/glm/glm-0.9.9.5.ebuild
new file mode 100644
index 000..169bf319fad
--- /dev/null
+++ b/media-libs/glm/glm-0.9.9.5.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/files/

2019-04-08 Thread Alfredo Tupone
commit: 7a4ffbffc1336d3036ce4339691ac533212d2bc4
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Mon Apr  8 19:53:28 2019 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Mon Apr  8 19:53:28 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a4ffbff

media-libs/glm: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/11625
Signed-off-by: Alfredo Tupone  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 media-libs/glm/files/glm-0.9.8.5-gcc7_tests.patch | 70 ---
 media-libs/glm/files/glm-gcc73.patch  | 35 
 2 files changed, 105 deletions(-)

diff --git a/media-libs/glm/files/glm-0.9.8.5-gcc7_tests.patch 
b/media-libs/glm/files/glm-0.9.8.5-gcc7_tests.patch
deleted file mode 100644
index d7744aed555..000
--- a/media-libs/glm/files/glm-0.9.8.5-gcc7_tests.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-Bug: https://bugs.gentoo.org/638312
-Upstream commit: 
https://github.com/g-truc/glm/commit/e37cf6e47fa4305c82845103b17af58f6cfe23db
-
-From e37cf6e47fa4305c82845103b17af58f6cfe23db Mon Sep 17 00:00:00 2001
-From: Christophe Riccio 
-Date: Thu, 17 Aug 2017 00:08:37 +0200
-Subject: [PATCH] Fixed GCC 7.1.0 failing tests #666
-

- test/core/core_type_mat2x4.cpp | 4 +++-
- test/core/core_type_mat3x4.cpp | 4 +++-
- test/core/core_type_mat4x4.cpp | 3 ++-
- 3 files changed, 8 insertions(+), 3 deletions(-)
-
-diff --git a/test/core/core_type_mat2x4.cpp b/test/core/core_type_mat2x4.cpp
-index 17afebf91..eea3e46f4 100644
 a/test/core/core_type_mat2x4.cpp
-+++ b/test/core/core_type_mat2x4.cpp
-@@ -1,3 +1,5 @@
-+#include 
-+#include 
- #include 
- #include 
- #include 
-@@ -83,7 +85,7 @@ namespace cast
-   glm::mat2x4 Identity(1.0f);
- 
-   for(glm::length_t i = 0, length = B.length(); i < length; ++i)
--  Error += glm::all(glm::equal(B[i], Identity[i])) ? 0 : 
1;
-+  Error += glm::all(glm::epsilonEqual(B[i], Identity[i], 
glm::epsilon())) ? 0 : 1;
- 
-   return Error;
-   }
-diff --git a/test/core/core_type_mat3x4.cpp b/test/core/core_type_mat3x4.cpp
-index e3b78d31b..74a45d87a 100644
 a/test/core/core_type_mat3x4.cpp
-+++ b/test/core/core_type_mat3x4.cpp
-@@ -1,3 +1,5 @@
-+#include 
-+#include 
- #include 
- #include 
- #include 
-@@ -87,7 +89,7 @@ namespace cast
-   glm::mat3x4 Identity(1.0f);
- 
-   for(glm::length_t i = 0, length = B.length(); i < length; ++i)
--  Error += glm::all(glm::equal(B[i], Identity[i])) ? 0 : 
1;
-+  Error += glm::all(glm::epsilonEqual(B[i], Identity[i], 
glm::epsilon())) ? 0 : 1;
- 
-   return Error;
-   }
-diff --git a/test/core/core_type_mat4x4.cpp b/test/core/core_type_mat4x4.cpp
-index 3966c2b7f..fd2aca8b4 100644
 a/test/core/core_type_mat4x4.cpp
-+++ b/test/core/core_type_mat4x4.cpp
-@@ -1,3 +1,4 @@
-+#include 
- #include 
- #include 
- #include 
-@@ -263,7 +264,7 @@ namespace cast
-   glm::mat4x4 Identity(1.0f);
- 
-   for(glm::length_t i = 0, length = B.length(); i < length; ++i)
--  Error += glm::all(glm::equal(B[i], Identity[i])) ? 0 : 
1;
-+  Error += glm::all(glm::epsilonEqual(B[i], Identity[i], 
glm::epsilon())) ? 0 : 1;
- 
-   return Error;
-   }

diff --git a/media-libs/glm/files/glm-gcc73.patch 
b/media-libs/glm/files/glm-gcc73.patch
deleted file mode 100644
index 68033b5b6f6..000
--- a/media-libs/glm/files/glm-gcc73.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-diff -ur glm-0.9.8.5.orig/glm/simd/platform.h glm-0.9.8.5/glm/simd/platform.h
 glm-0.9.8.5.orig/glm/simd/platform.h   2017-08-16 05:15:24.0 
-0700
-+++ glm-0.9.8.5/glm/simd/platform.h2018-01-26 15:38:57.584130263 -0800
-@@ -111,7 +111,8 @@
- #define GLM_COMPILER_GCC700x02000A00
- #define GLM_COMPILER_GCC710x02000B00
- #define GLM_COMPILER_GCC720x02000C00
--#define GLM_COMPILER_GCC800x02000D00
-+#define GLM_COMPILER_GCC730x02000D00
-+#define GLM_COMPILER_GCC800x02000E00
- 
- // CUDA
- #define GLM_COMPILER_CUDA 0x1000
-@@ -283,6 +284,8 @@
- # define GLM_COMPILER (GLM_COMPILER_GCC71)
- # elif (__GNUC__ == 7) && (__GNUC_MINOR__ == 2)
- # define GLM_COMPILER (GLM_COMPILER_GCC72)
-+# elif (__GNUC__ == 7) && (__GNUC_MINOR__ == 3)
-+# define GLM_COMPILER (GLM_COMPILER_GCC73)
- # elif (__GNUC__ >= 8)
- # define GLM_COMPILER (GLM_COMPILER_GCC80)
- # else
-diff -ur glm-0.9.8.5.orig/test/core/core_setup_message.cpp 
glm-0.9.8.5/test/core/core_setup_message.cpp
 glm-0.9.8.5.orig/test/core/core_setup_message.cpp  2017-08-16 
05:15:24.0 -0700
-+++ glm-0.9.8.5/test/core/core_setup_message.cpp   2018-01-26 
15:37:56.953298475 -0800
-@@ 

[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2019-04-08 Thread Alexey Shvetsov
commit: 4db2df53d8ec073989fc1cd2d3c6e7c384f9c767
Author: Alexey Shvetsov  gentoo  org>
AuthorDate: Mon Apr  8 16:27:31 2019 +
Commit: Alexey Shvetsov  gentoo  org>
CommitDate: Mon Apr  8 16:27:31 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4db2df53

media-libs/glm: Drop buggy version

Has compatibility issues. Fixed in .4 version
https://github.com/g-truc/glm/issues/851

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Alexey Shvetsov  gentoo.org>

 media-libs/glm/Manifest   |  1 -
 media-libs/glm/glm-0.9.9.3.ebuild | 31 ---
 2 files changed, 32 deletions(-)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index e57346a546b..5a8a8c49456 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -1,3 +1,2 @@
 DIST glm-0.9.9.2.tar.gz 4572279 BLAKE2B 
8b9ade542989b3f73f1a80403b73b5c04c5d64ae259891a6b41564eb7b4417876d527ea8440352f2feec6480ec926ca877a4849c4e75c6ece3692d24d87c942a
 SHA512 
80a5fbeaaea5f1034cd6f8ad3f4daf8b5fa8d9410ccce15ced20f37e24c0f6083332fde82b1fa7357399b3e37c1a31dd3a14f257b7847a5f1ddefa627b50351a
-DIST glm-0.9.9.3.tar.gz 4577239 BLAKE2B 
167312e95a43417dba59481b1d45976d9249af9fda9ebb6d0ec598e706bc2469b8c0928877683d47335e0c55ee881a20c1c7f648dd77e183880f7c2792bd5277
 SHA512 
44152ea6438763feda3b78813287fd59d3574a9630a41647a157825bf5ce4a18fbbecae5a5ccd94acc118ed3d42cbce53d3a67f25632d0c00ab77e7de2bb4650
 DIST glm-0.9.9.4.tar.gz 4578404 BLAKE2B 
4c0bb64bb477ca46d45b4d25d7d992a39a82a7d745d4564dfac04c7f6e31ea0741b33d2d6c7832580e6f51f62a2efe269a9601c10d87f1e68b333e71e20c3d02
 SHA512 
50e4784fcd5f1da4ae27830948ffe4b412ec53447b89d30c6dcc2b4e0f9ec05cca4b07461d3d8a339eb103fae8dac325fabc87607b5397122ce2021d6e15a1a1

diff --git a/media-libs/glm/glm-0.9.9.3.ebuild 
b/media-libs/glm/glm-0.9.9.3.ebuild
deleted file mode 100644
index 6d61f3165de..000
--- a/media-libs/glm/glm-0.9.9.3.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# 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
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2019-04-01 Thread Alfredo Tupone
commit: b83120bf53077382b3b55c7532a4dda1ea9c3b7b
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Tue Apr  2 06:31:20 2019 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Tue Apr  2 06:31:20 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b83120bf

media-libs/glm: Remove old version

Signed-off-by: Alfredo Tupone  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 media-libs/glm/Manifest  |  1 -
 media-libs/glm/glm-0.9.8.5-r1.ebuild | 36 
 2 files changed, 37 deletions(-)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index 74aee87eafd..e57346a546b 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -1,4 +1,3 @@
-DIST glm-0.9.8.5.tar.gz 3756809 BLAKE2B 
41abc10e1c41c40ad68b7148a8ccbe9d2f4fc8a80c034c86341d12fedb17ab16f96114df28f56f52a12d8d60edecd26ecbcbffe6daa76f035711248240ef6616
 SHA512 
5a7e84ecc5a54320c74776c133bfdbeaf0d4496a7a7fdf2f4ccf89e66b3665a577a370a662ac97a350a2b1f717ce769cb0826057ebb3b13c9c2fee65f20ac7b4
 DIST glm-0.9.9.2.tar.gz 4572279 BLAKE2B 
8b9ade542989b3f73f1a80403b73b5c04c5d64ae259891a6b41564eb7b4417876d527ea8440352f2feec6480ec926ca877a4849c4e75c6ece3692d24d87c942a
 SHA512 
80a5fbeaaea5f1034cd6f8ad3f4daf8b5fa8d9410ccce15ced20f37e24c0f6083332fde82b1fa7357399b3e37c1a31dd3a14f257b7847a5f1ddefa627b50351a
 DIST glm-0.9.9.3.tar.gz 4577239 BLAKE2B 
167312e95a43417dba59481b1d45976d9249af9fda9ebb6d0ec598e706bc2469b8c0928877683d47335e0c55ee881a20c1c7f648dd77e183880f7c2792bd5277
 SHA512 
44152ea6438763feda3b78813287fd59d3574a9630a41647a157825bf5ce4a18fbbecae5a5ccd94acc118ed3d42cbce53d3a67f25632d0c00ab77e7de2bb4650
 DIST glm-0.9.9.4.tar.gz 4578404 BLAKE2B 
4c0bb64bb477ca46d45b4d25d7d992a39a82a7d745d4564dfac04c7f6e31ea0741b33d2d6c7832580e6f51f62a2efe269a9601c10d87f1e68b333e71e20c3d02
 SHA512 
50e4784fcd5f1da4ae27830948ffe4b412ec53447b89d30c6dcc2b4e0f9ec05cca4b07461d3d8a339eb103fae8dac325fabc87607b5397122ce2021d6e15a1a1

diff --git a/media-libs/glm/glm-0.9.8.5-r1.ebuild 
b/media-libs/glm/glm-0.9.8.5-r1.ebuild
deleted file mode 100644
index 58732d5eb6d..000
--- a/media-libs/glm/glm-0.9.8.5-r1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# 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 x86"
-IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
-
-RDEPEND="virtual/opengl"
-
-PATCHES=(
-   "${FILESDIR}/glm-gcc73.patch"
-   "${FILESDIR}/${P}-gcc7_tests.patch"
-)
-
-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
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2019-03-21 Thread Lars Wendler
commit: cad604bf3bc8da503dd0ab3930ed64d86b07641b
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Mar 21 09:29:53 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Mar 21 09:29:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cad604bf

media-libs/glm: Bump to version 0.9.9.4

Closes: https://bugs.gentoo.org/681110
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 media-libs/glm/Manifest   |  1 +
 media-libs/glm/glm-0.9.9.4.ebuild | 31 +++
 2 files changed, 32 insertions(+)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index 3408cdc99f9..74aee87eafd 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -1,3 +1,4 @@
 DIST glm-0.9.8.5.tar.gz 3756809 BLAKE2B 
41abc10e1c41c40ad68b7148a8ccbe9d2f4fc8a80c034c86341d12fedb17ab16f96114df28f56f52a12d8d60edecd26ecbcbffe6daa76f035711248240ef6616
 SHA512 
5a7e84ecc5a54320c74776c133bfdbeaf0d4496a7a7fdf2f4ccf89e66b3665a577a370a662ac97a350a2b1f717ce769cb0826057ebb3b13c9c2fee65f20ac7b4
 DIST glm-0.9.9.2.tar.gz 4572279 BLAKE2B 
8b9ade542989b3f73f1a80403b73b5c04c5d64ae259891a6b41564eb7b4417876d527ea8440352f2feec6480ec926ca877a4849c4e75c6ece3692d24d87c942a
 SHA512 
80a5fbeaaea5f1034cd6f8ad3f4daf8b5fa8d9410ccce15ced20f37e24c0f6083332fde82b1fa7357399b3e37c1a31dd3a14f257b7847a5f1ddefa627b50351a
 DIST glm-0.9.9.3.tar.gz 4577239 BLAKE2B 
167312e95a43417dba59481b1d45976d9249af9fda9ebb6d0ec598e706bc2469b8c0928877683d47335e0c55ee881a20c1c7f648dd77e183880f7c2792bd5277
 SHA512 
44152ea6438763feda3b78813287fd59d3574a9630a41647a157825bf5ce4a18fbbecae5a5ccd94acc118ed3d42cbce53d3a67f25632d0c00ab77e7de2bb4650
+DIST glm-0.9.9.4.tar.gz 4578404 BLAKE2B 
4c0bb64bb477ca46d45b4d25d7d992a39a82a7d745d4564dfac04c7f6e31ea0741b33d2d6c7832580e6f51f62a2efe269a9601c10d87f1e68b333e71e20c3d02
 SHA512 
50e4784fcd5f1da4ae27830948ffe4b412ec53447b89d30c6dcc2b4e0f9ec05cca4b07461d3d8a339eb103fae8dac325fabc87607b5397122ce2021d6e15a1a1

diff --git a/media-libs/glm/glm-0.9.9.4.ebuild 
b/media-libs/glm/glm-0.9.9.4.ebuild
new file mode 100644
index 000..169bf319fad
--- /dev/null
+++ b/media-libs/glm/glm-0.9.9.4.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2019-03-20 Thread Mikle Kolyada
commit: a502329f367009a05747bd6bbb3c56ba09a684fa
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Wed Mar 20 21:20:29 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Wed Mar 20 21:20:29 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a502329f

media-libs/glm: arm stable wrt bug #678342

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="arm"

 media-libs/glm/glm-0.9.9.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glm/glm-0.9.9.2.ebuild 
b/media-libs/glm/glm-0.9.9.2.ebuild
index 5dd83d7c508..140aeaf8baa 100644
--- a/media-libs/glm/glm-0.9.9.2.ebuild
+++ b/media-libs/glm/glm-0.9.9.2.ebuild
@@ -11,7 +11,7 @@ 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"
+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"



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/files/

2019-03-18 Thread Alfredo Tupone
commit: 6597619ea6640f53e8fd9c538399af3a14c7ba7c
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Mon Mar 18 19:26:53 2019 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Mon Mar 18 19:26:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6597619e

media-libs/glm: Remove failing test

Closes: https://bugs.gentoo.org/669638
Signed-off-by: Alfredo Tupone  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 media-libs/glm/files/glm-0.9.9.2-avx.patch | 42 +++---
 1 file changed, 9 insertions(+), 33 deletions(-)

diff --git a/media-libs/glm/files/glm-0.9.9.2-avx.patch 
b/media-libs/glm/files/glm-0.9.9.2-avx.patch
index 7ac91f490a1..3549af416fc 100644
--- a/media-libs/glm/files/glm-0.9.9.2-avx.patch
+++ b/media-libs/glm/files/glm-0.9.9.2-avx.patch
@@ -19,36 +19,12 @@
add_compile_options(-Wno-long-long)
  
  elseif(CMAKE_CXX_COMPILER_ID MATCHES "Intel")
 a/test/perf/perf_matrix_div.cpp2019-03-08 09:42:30.180305872 +0100
-+++ b/test/perf/perf_matrix_div.cpp2019-03-08 09:42:40.381140911 +0100
-@@ -109,7 +109,7 @@
-   {
-   packedMatType const A = SISD[i];
-   packedMatType const B = SIMD[i];
--  Error += glm::all(glm::equal(A, B, static_cast(0.001))) ? 0 
: 1;
-+  Error += glm::all(glm::equal(A, B, static_cast(0.002))) ? 0 
: 1;
-   assert(!Error);
-   }
-   
 a/test/perf/perf_matrix_mul.cpp2019-03-08 09:51:09.411923180 +0100
-+++ b/test/perf/perf_matrix_mul.cpp2019-03-08 09:51:53.465219910 +0100
-@@ -111,7 +111,7 @@
-   {
-   packedMatType const A = SISD[i];
-   packedMatType const B = SIMD[i];
--  Error += glm::all(glm::equal(A, B, static_cast(0.001))) ? 0 
: 1;
-+  Error += glm::all(glm::equal(A, B, static_cast(0.01))) ? 0 : 
1;
-   }
-   
-   return Error;
 a/test/perf/perf_matrix_mul_vector.cpp 2019-03-08 09:43:10.450654282 
+0100
-+++ b/test/perf/perf_matrix_mul_vector.cpp 2019-03-08 09:50:09.685875081 
+0100
-@@ -111,7 +111,7 @@
-   {
-   packedVecType const A = SISD[i];
-   packedVecType const B = SIMD[i];
--  Error += glm::all(glm::equal(A, B, static_cast(0.001))) ? 0 
: 1;
-+  Error += glm::all(glm::equal(A, B, static_cast(0.01))) ? 0 : 
1;
-   }
-   
-   return Error;
+--- a/test/perf/CMakeLists.txt.old 2019-03-18 20:18:58.397352048 +0100
 b/test/perf/CMakeLists.txt 2019-03-18 20:19:08.466182370 +0100
+@@ -1,6 +1,3 @@
+-glmCreateTestGTC(perf_matrix_div)
+ glmCreateTestGTC(perf_matrix_inverse)
+-glmCreateTestGTC(perf_matrix_mul)
+-glmCreateTestGTC(perf_matrix_mul_vector)
+ glmCreateTestGTC(perf_matrix_transpose)
+ glmCreateTestGTC(perf_vector_mul_matrix)



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2019-03-16 Thread Agostino Sarubbo
commit: bfbecb2954abdaee81a8256da8cda88da8040ff4
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Mar 16 21:36:10 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Mar 16 21:36:10 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfbecb29

media-libs/glm: amd64 stable wrt bug #678342

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 media-libs/glm/glm-0.9.9.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glm/glm-0.9.9.2.ebuild 
b/media-libs/glm/glm-0.9.9.2.ebuild
index cb748d8c62e..5dd83d7c508 100644
--- a/media-libs/glm/glm-0.9.9.2.ebuild
+++ b/media-libs/glm/glm-0.9.9.2.ebuild
@@ -11,7 +11,7 @@ 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"
+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"



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/files/

2019-03-08 Thread Alfredo Tupone
commit: 86f0a723163670d49a8f9f0da6b2060094962061
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Fri Mar  8 08:58:45 2019 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Fri Mar  8 08:58:45 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86f0a723

media-libs/glm: Enabled all tests. Increase the error tolerance

Closes: https://bugs.gentoo.org/669638
Signed-off-by: Alfredo Tupone  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 media-libs/glm/files/glm-0.9.9.2-avx.patch | 42 +++---
 1 file changed, 33 insertions(+), 9 deletions(-)

diff --git a/media-libs/glm/files/glm-0.9.9.2-avx.patch 
b/media-libs/glm/files/glm-0.9.9.2-avx.patch
index 87d8c5bd598..7ac91f490a1 100644
--- a/media-libs/glm/files/glm-0.9.9.2-avx.patch
+++ b/media-libs/glm/files/glm-0.9.9.2-avx.patch
@@ -19,12 +19,36 @@
add_compile_options(-Wno-long-long)
  
  elseif(CMAKE_CXX_COMPILER_ID MATCHES "Intel")
 a/test/perf/CMakeLists.txt 2019-03-06 20:32:35.172976526 +0100
-+++ b/test/perf/CMakeLists.txt 2019-03-06 20:33:04.138486121 +0100
-@@ -1,6 +1,4 @@
--glmCreateTestGTC(perf_matrix_div)
- glmCreateTestGTC(perf_matrix_inverse)
- glmCreateTestGTC(perf_matrix_mul)
--glmCreateTestGTC(perf_matrix_mul_vector)
- glmCreateTestGTC(perf_matrix_transpose)
- glmCreateTestGTC(perf_vector_mul_matrix)
+--- a/test/perf/perf_matrix_div.cpp2019-03-08 09:42:30.180305872 +0100
 b/test/perf/perf_matrix_div.cpp2019-03-08 09:42:40.381140911 +0100
+@@ -109,7 +109,7 @@
+   {
+   packedMatType const A = SISD[i];
+   packedMatType const B = SIMD[i];
+-  Error += glm::all(glm::equal(A, B, static_cast(0.001))) ? 0 
: 1;
++  Error += glm::all(glm::equal(A, B, static_cast(0.002))) ? 0 
: 1;
+   assert(!Error);
+   }
+   
+--- a/test/perf/perf_matrix_mul.cpp2019-03-08 09:51:09.411923180 +0100
 b/test/perf/perf_matrix_mul.cpp2019-03-08 09:51:53.465219910 +0100
+@@ -111,7 +111,7 @@
+   {
+   packedMatType const A = SISD[i];
+   packedMatType const B = SIMD[i];
+-  Error += glm::all(glm::equal(A, B, static_cast(0.001))) ? 0 
: 1;
++  Error += glm::all(glm::equal(A, B, static_cast(0.01))) ? 0 : 
1;
+   }
+   
+   return Error;
+--- a/test/perf/perf_matrix_mul_vector.cpp 2019-03-08 09:43:10.450654282 
+0100
 b/test/perf/perf_matrix_mul_vector.cpp 2019-03-08 09:50:09.685875081 
+0100
+@@ -111,7 +111,7 @@
+   {
+   packedVecType const A = SISD[i];
+   packedVecType const B = SIMD[i];
+-  Error += glm::all(glm::equal(A, B, static_cast(0.001))) ? 0 
: 1;
++  Error += glm::all(glm::equal(A, B, static_cast(0.01))) ? 0 : 
1;
+   }
+   
+   return Error;



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/, media-libs/glm/files/

2019-03-06 Thread Alfredo Tupone
commit: c5c19f7820c56475a0b0b3ee84f913f235949a87
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Wed Mar  6 19:45:56 2019 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Wed Mar  6 19:46:29 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5c19f78

media-libs/glm: Disable avx. Remove failing test.

Closes: https://bugs.gentoo.org/669638
Signed-off-by: Alfredo Tupone  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 media-libs/glm/files/glm-0.9.9.2-avx.patch | 30 ++
 media-libs/glm/glm-0.9.9.2.ebuild  |  4 +++-
 2 files changed, 33 insertions(+), 1 deletion(-)

diff --git a/media-libs/glm/files/glm-0.9.9.2-avx.patch 
b/media-libs/glm/files/glm-0.9.9.2-avx.patch
new file mode 100644
index 000..87d8c5bd598
--- /dev/null
+++ b/media-libs/glm/files/glm-0.9.9.2-avx.patch
@@ -0,0 +1,30 @@
+--- a/glm/simd/platform.h  2019-03-06 18:57:53.309630574 +0100
 b/glm/simd/platform.h  2019-03-06 18:58:30.796988006 +0100
+@@ -233,7 +233,7 @@
+ #define GLM_ARCH_SSSE3_BIT(0x0010)
+ #define GLM_ARCH_SSE41_BIT(0x0020)
+ #define GLM_ARCH_SSE42_BIT(0x0040)
+-#define GLM_ARCH_AVX_BIT  (0x0080)
++#define GLM_ARCH_AVX_BIT  (0x)
+ #define GLM_ARCH_AVX2_BIT (0x0100)
+ 
+ #define GLM_ARCH_UNKNOWN  (0)
+--- a/CMakeLists.txt   2019-03-06 19:27:14.052353176 +0100
 b/CMakeLists.txt   2019-03-06 19:27:05.161503895 +0100
+@@ -203,7 +203,6 @@
+   message("GLM: GCC - ${CMAKE_CXX_COMPILER_ID} compiler")
+   endif()
+ 
+-  add_compile_options(-O2)
+   add_compile_options(-Wno-long-long)
+ 
+ elseif(CMAKE_CXX_COMPILER_ID MATCHES "Intel")
+--- a/test/perf/CMakeLists.txt 2019-03-06 20:32:35.172976526 +0100
 b/test/perf/CMakeLists.txt 2019-03-06 20:33:04.138486121 +0100
+@@ -1,6 +1,4 @@
+-glmCreateTestGTC(perf_matrix_div)
+ glmCreateTestGTC(perf_matrix_inverse)
+ glmCreateTestGTC(perf_matrix_mul)
+-glmCreateTestGTC(perf_matrix_mul_vector)
+ glmCreateTestGTC(perf_matrix_transpose)
+ glmCreateTestGTC(perf_vector_mul_matrix)

diff --git a/media-libs/glm/glm-0.9.9.2.ebuild 
b/media-libs/glm/glm-0.9.9.2.ebuild
index 8f93505e327..cb748d8c62e 100644
--- a/media-libs/glm/glm-0.9.9.2.ebuild
+++ b/media-libs/glm/glm-0.9.9.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -16,6 +16,8 @@ IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 
cpu_flags_x86_avx cpu_flags_x86
 
 RDEPEND="virtual/opengl"
 
+PATCHES=( "${FILESDIR}"/${P}-avx.patch )
+
 src_configure() {
if use test; then
local mycmakeargs=(



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2018-11-02 Thread Lars Wendler
commit: c8c87635fb7175ad682fa63ffc92032bf8740982
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Nov  2 15:36:44 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Nov  2 15:36:44 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8c87635

media-libs/glm: Bump to version 0.9.9.3

Signed-off-by: Lars Wendler  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 media-libs/glm/Manifest   |  1 +
 media-libs/glm/glm-0.9.9.3.ebuild | 31 +++
 2 files changed, 32 insertions(+)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index 593cffabb9e..2ca8b859ebe 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -2,3 +2,4 @@ DIST glm-0.9.8.5.tar.gz 3756809 BLAKE2B 
41abc10e1c41c40ad68b7148a8ccbe9d2f4fc8a8
 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
 DIST glm-0.9.9.2.tar.gz 4572279 BLAKE2B 
8b9ade542989b3f73f1a80403b73b5c04c5d64ae259891a6b41564eb7b4417876d527ea8440352f2feec6480ec926ca877a4849c4e75c6ece3692d24d87c942a
 SHA512 
80a5fbeaaea5f1034cd6f8ad3f4daf8b5fa8d9410ccce15ced20f37e24c0f6083332fde82b1fa7357399b3e37c1a31dd3a14f257b7847a5f1ddefa627b50351a
+DIST glm-0.9.9.3.tar.gz 4577239 BLAKE2B 
167312e95a43417dba59481b1d45976d9249af9fda9ebb6d0ec598e706bc2469b8c0928877683d47335e0c55ee881a20c1c7f648dd77e183880f7c2792bd5277
 SHA512 
44152ea6438763feda3b78813287fd59d3574a9630a41647a157825bf5ce4a18fbbecae5a5ccd94acc118ed3d42cbce53d3a67f25632d0c00ab77e7de2bb4650

diff --git a/media-libs/glm/glm-0.9.9.3.ebuild 
b/media-libs/glm/glm-0.9.9.3.ebuild
new file mode 100644
index 000..6d61f3165de
--- /dev/null
+++ b/media-libs/glm/glm-0.9.9.3.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2018 Gentoo Authors
+# 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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2018-11-02 Thread Lars Wendler
commit: 92ac1bafdbc7625686758a2ca4c7ae9916e1382a
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Nov  2 15:37:18 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Nov  2 15:37:18 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92ac1baf

media-libs/glm: Removed old.

Signed-off-by: Lars Wendler  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 media-libs/glm/Manifest   |  2 --
 media-libs/glm/glm-0.9.9.0.ebuild | 31 ---
 media-libs/glm/glm-0.9.9.1.ebuild | 31 ---
 3 files changed, 64 deletions(-)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index 2ca8b859ebe..3408cdc99f9 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -1,5 +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
 DIST glm-0.9.9.2.tar.gz 4572279 BLAKE2B 
8b9ade542989b3f73f1a80403b73b5c04c5d64ae259891a6b41564eb7b4417876d527ea8440352f2feec6480ec926ca877a4849c4e75c6ece3692d24d87c942a
 SHA512 
80a5fbeaaea5f1034cd6f8ad3f4daf8b5fa8d9410ccce15ced20f37e24c0f6083332fde82b1fa7357399b3e37c1a31dd3a14f257b7847a5f1ddefa627b50351a
 DIST glm-0.9.9.3.tar.gz 4577239 BLAKE2B 
167312e95a43417dba59481b1d45976d9249af9fda9ebb6d0ec598e706bc2469b8c0928877683d47335e0c55ee881a20c1c7f648dd77e183880f7c2792bd5277
 SHA512 
44152ea6438763feda3b78813287fd59d3574a9630a41647a157825bf5ce4a18fbbecae5a5ccd94acc118ed3d42cbce53d3a67f25632d0c00ab77e7de2bb4650

diff --git a/media-libs/glm/glm-0.9.9.0.ebuild 
b/media-libs/glm/glm-0.9.9.0.ebuild
deleted file mode 100644
index 8f93505e327..000
--- a/media-libs/glm/glm-0.9.9.0.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# 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
-}

diff --git a/media-libs/glm/glm-0.9.9.1.ebuild 
b/media-libs/glm/glm-0.9.9.1.ebuild
deleted file mode 100644
index 8f93505e327..000
--- a/media-libs/glm/glm-0.9.9.1.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# 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
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2018-09-21 Thread Alfredo Tupone
commit: b44b9b70f86bb7f1ce9725a8a57e233cbe5927e1
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Fri Sep 21 18:52:14 2018 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Fri Sep 21 18:52:14 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b44b9b70

media-libs/glm: Version bump to glm-0.9.9.2

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 media-libs/glm/Manifest   |  1 +
 media-libs/glm/glm-0.9.9.2.ebuild | 31 +++
 2 files changed, 32 insertions(+)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index 21ba931679d..593cffabb9e 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -1,3 +1,4 @@
 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
+DIST glm-0.9.9.2.tar.gz 4572279 BLAKE2B 
8b9ade542989b3f73f1a80403b73b5c04c5d64ae259891a6b41564eb7b4417876d527ea8440352f2feec6480ec926ca877a4849c4e75c6ece3692d24d87c942a
 SHA512 
80a5fbeaaea5f1034cd6f8ad3f4daf8b5fa8d9410ccce15ced20f37e24c0f6083332fde82b1fa7357399b3e37c1a31dd3a14f257b7847a5f1ddefa627b50351a

diff --git a/media-libs/glm/glm-0.9.9.2.ebuild 
b/media-libs/glm/glm-0.9.9.2.ebuild
new file mode 100644
index 000..8f93505e327
--- /dev/null
+++ b/media-libs/glm/glm-0.9.9.2.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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2018-09-10 Thread Lars Wendler
commit: 25559e7f7c82d6abed72eda667ae04dc11a5ecb4
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Sep 10 09:45:42 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Sep 10 09:45:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25559e7f

media-libs/glm: Bump to version 0.9.9.1

Package-Manager: Portage-2.3.49, Repoman-2.3.10

 media-libs/glm/Manifest   |  1 +
 media-libs/glm/glm-0.9.9.1.ebuild | 31 +++
 2 files changed, 32 insertions(+)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index 736140c3301..21ba931679d 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 000..8f93505e327
--- /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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2018-08-28 Thread Alfredo Tupone
commit: bb07782d259b0220db1ff7dd324465a6691d2005
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Tue Aug 28 12:17:37 2018 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Tue Aug 28 12:17:37 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb07782d

media-libs/glm: add ~ppc64

Closes: https://bugs.gentoo.org/664426
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 media-libs/glm/glm-0.9.9.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glm/glm-0.9.9.0.ebuild 
b/media-libs/glm/glm-0.9.9.0.ebuild
index af2730d813f..8f93505e327 100644
--- a/media-libs/glm/glm-0.9.9.0.ebuild
+++ b/media-libs/glm/glm-0.9.9.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/g-truc/glm/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="|| ( HappyBunny MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+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"



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2018-06-01 Thread Lars Wendler
commit: c518d28bcdba858f495de29c874ea425e7462e94
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Jun  1 14:03:37 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Jun  1 14:10:57 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c518d28b

media-libs/glm: Bump to version 0.9.9.0

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 media-libs/glm/Manifest   |  1 +
 media-libs/glm/glm-0.9.9.0.ebuild | 31 +++
 2 files changed, 32 insertions(+)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index f6a349547a4..35eee3c589a 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -2,3 +2,4 @@ DIST glm-0.9.6.1.zip 4232099 BLAKE2B 
ba8e9fc4a4401f9a78c46f6eebe5fdd6bd9af14f8c6
 DIST glm-0.9.7.6.tar.gz 3457100 BLAKE2B 
f9c0e481dbac76fa8922d4f58f2d4d60f0735a44a249b1136aa519f7638c21fa193e8c618c784b8b3adbbcf3838e9dbd6ff6a22a2708483bfc39bbea5a24494a
 SHA512 
d4e1e173405c11b5744df8dc12f0848cd84ab27b868434c0f8fc74f15110b78606564991f3063ccc97e68a0aa1c1cb4a1b40ba6ce7feffb0d1a23c3e5cff315a
 DIST glm-0.9.8.4.tar.gz 3769208 BLAKE2B 
f675d110d1ceb16ed8afe171fd537254bef68790eca010677a15db501f964e0f7ed7a2cacc93e17c71140e7e3cd9a36a1f0a40c908d01c405ae335be3016
 SHA512 
ff0e0651a695caebe9235882d14e09546d52b3cdf66cca8e2078f15b02a3fca4e47bd97d2807aa329f76aa633af3b4999501bd4d0b22ad44b00558d4917f39ed
 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

diff --git a/media-libs/glm/glm-0.9.9.0.ebuild 
b/media-libs/glm/glm-0.9.9.0.ebuild
new file mode 100644
index 000..af2730d813f
--- /dev/null
+++ b/media-libs/glm/glm-0.9.9.0.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 ~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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2018-06-01 Thread Lars Wendler
commit: 2b8d3f11dd00f16419b87fb9e130684b836b75b0
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Jun  1 14:10:39 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Jun  1 14:10:59 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b8d3f11

media-libs/glm: Removed old.

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 media-libs/glm/Manifest   |  3 ---
 media-libs/glm/glm-0.9.6.1.ebuild | 26 --
 media-libs/glm/glm-0.9.7.6.ebuild | 30 --
 media-libs/glm/glm-0.9.8.4.ebuild | 30 --
 4 files changed, 89 deletions(-)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index 35eee3c589a..736140c3301 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -1,5 +1,2 @@
-DIST glm-0.9.6.1.zip 4232099 BLAKE2B 
ba8e9fc4a4401f9a78c46f6eebe5fdd6bd9af14f8c65bfcac7b61988b551ba27bf8d28f3a50f3f619dad5a10e11adb6988f9408227d10d738ea6d809d81db0bf
 SHA512 
7f1468c5e60e65181f4685a2429fa8d70350a3576175a55b7c9e8597a03837cb84aeaeb88d311e1e1948c5bd90ad9cee9286433cb78fdee54b0fbe5313ce2f84
-DIST glm-0.9.7.6.tar.gz 3457100 BLAKE2B 
f9c0e481dbac76fa8922d4f58f2d4d60f0735a44a249b1136aa519f7638c21fa193e8c618c784b8b3adbbcf3838e9dbd6ff6a22a2708483bfc39bbea5a24494a
 SHA512 
d4e1e173405c11b5744df8dc12f0848cd84ab27b868434c0f8fc74f15110b78606564991f3063ccc97e68a0aa1c1cb4a1b40ba6ce7feffb0d1a23c3e5cff315a
-DIST glm-0.9.8.4.tar.gz 3769208 BLAKE2B 
f675d110d1ceb16ed8afe171fd537254bef68790eca010677a15db501f964e0f7ed7a2cacc93e17c71140e7e3cd9a36a1f0a40c908d01c405ae335be3016
 SHA512 
ff0e0651a695caebe9235882d14e09546d52b3cdf66cca8e2078f15b02a3fca4e47bd97d2807aa329f76aa633af3b4999501bd4d0b22ad44b00558d4917f39ed
 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

diff --git a/media-libs/glm/glm-0.9.6.1.ebuild 
b/media-libs/glm/glm-0.9.6.1.ebuild
deleted file mode 100644
index 730a756af3b..000
--- a/media-libs/glm/glm-0.9.6.1.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-DESCRIPTION="OpenGL Mathematics"
-HOMEPAGE="http://glm.g-truc.net/";
-SRC_URI="mirror://sourceforge/ogl-math/${P}.zip"
-
-S="${WORKDIR}/${PN}"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm x86"
-IUSE=""
-
-RDEPEND=""
-DEPEND="app-arch/unzip"
-
-src_install() {
-   dodoc readme.txt doc/${PN}.pdf
-   cd ${PN} || die
-   insinto /usr/include/${PN}
-   doins -r *.hpp detail gtc gtx
-   rm "${ED}"usr/include/${PN}/detail/*.cpp || die
-}

diff --git a/media-libs/glm/glm-0.9.7.6.ebuild 
b/media-libs/glm/glm-0.9.7.6.ebuild
deleted file mode 100644
index 434184d6146..000
--- a/media-libs/glm/glm-0.9.7.6.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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
-}

diff --git a/media-libs/glm/glm-0.9.8.4.ebuild 
b/media-libs/glm/glm-0.9.8.4.ebuild
deleted file mode 100644
index c1f45f53b1a..000
--- a/media-libs/glm/glm-0.9.8.4.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# 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_fl

[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2018-04-16 Thread Alfredo Tupone
commit: 3d5754cb8962bf89b12b0c9dbbce579106409611
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Mon Apr 16 09:27:06 2018 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Mon Apr 16 09:27:06 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d5754cb

media-libs/glm: Stable 0.9.8.5-r1

Closes: https://bugs.gentoo.org/653216
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 media-libs/glm/glm-0.9.8.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glm/glm-0.9.8.5-r1.ebuild 
b/media-libs/glm/glm-0.9.8.5-r1.ebuild
index b30d2b1a0f8..58732d5eb6d 100644
--- a/media-libs/glm/glm-0.9.8.5-r1.ebuild
+++ b/media-libs/glm/glm-0.9.8.5-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/g-truc/glm/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="|| ( HappyBunny MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="amd64 arm ~arm64 x86"
 IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_avx 
cpu_flags_x86_avx2"
 
 RDEPEND="virtual/opengl"



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/files/, media-libs/glm/

2018-04-13 Thread Alfredo Tupone
commit: 2b7bb52573775e7a2a8334ba3c633d5b223d3d54
Author: Peter Levine  gmail  com>
AuthorDate: Sat Mar 31 06:25:53 2018 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Fri Apr 13 16:57:25 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b7bb525

media-libs/glm: Fix tests with GCC-7

Bug: https://bugs.gentoo.org/638312
Closes: https://bugs.gentoo.org/638312
Closes: https://github.com/gentoo/gentoo/pull/7730
Package-Manager: Portage-2.3.16, Repoman-2.3.6

 media-libs/glm/files/glm-0.9.8.5-gcc7_tests.patch | 70 +++
 media-libs/glm/glm-0.9.8.5-r1.ebuild  |  1 +
 2 files changed, 71 insertions(+)

diff --git a/media-libs/glm/files/glm-0.9.8.5-gcc7_tests.patch 
b/media-libs/glm/files/glm-0.9.8.5-gcc7_tests.patch
new file mode 100644
index 000..d7744aed555
--- /dev/null
+++ b/media-libs/glm/files/glm-0.9.8.5-gcc7_tests.patch
@@ -0,0 +1,70 @@
+Bug: https://bugs.gentoo.org/638312
+Upstream commit: 
https://github.com/g-truc/glm/commit/e37cf6e47fa4305c82845103b17af58f6cfe23db
+
+From e37cf6e47fa4305c82845103b17af58f6cfe23db Mon Sep 17 00:00:00 2001
+From: Christophe Riccio 
+Date: Thu, 17 Aug 2017 00:08:37 +0200
+Subject: [PATCH] Fixed GCC 7.1.0 failing tests #666
+
+---
+ test/core/core_type_mat2x4.cpp | 4 +++-
+ test/core/core_type_mat3x4.cpp | 4 +++-
+ test/core/core_type_mat4x4.cpp | 3 ++-
+ 3 files changed, 8 insertions(+), 3 deletions(-)
+
+diff --git a/test/core/core_type_mat2x4.cpp b/test/core/core_type_mat2x4.cpp
+index 17afebf91..eea3e46f4 100644
+--- a/test/core/core_type_mat2x4.cpp
 b/test/core/core_type_mat2x4.cpp
+@@ -1,3 +1,5 @@
++#include 
++#include 
+ #include 
+ #include 
+ #include 
+@@ -83,7 +85,7 @@ namespace cast
+   glm::mat2x4 Identity(1.0f);
+ 
+   for(glm::length_t i = 0, length = B.length(); i < length; ++i)
+-  Error += glm::all(glm::equal(B[i], Identity[i])) ? 0 : 
1;
++  Error += glm::all(glm::epsilonEqual(B[i], Identity[i], 
glm::epsilon())) ? 0 : 1;
+ 
+   return Error;
+   }
+diff --git a/test/core/core_type_mat3x4.cpp b/test/core/core_type_mat3x4.cpp
+index e3b78d31b..74a45d87a 100644
+--- a/test/core/core_type_mat3x4.cpp
 b/test/core/core_type_mat3x4.cpp
+@@ -1,3 +1,5 @@
++#include 
++#include 
+ #include 
+ #include 
+ #include 
+@@ -87,7 +89,7 @@ namespace cast
+   glm::mat3x4 Identity(1.0f);
+ 
+   for(glm::length_t i = 0, length = B.length(); i < length; ++i)
+-  Error += glm::all(glm::equal(B[i], Identity[i])) ? 0 : 
1;
++  Error += glm::all(glm::epsilonEqual(B[i], Identity[i], 
glm::epsilon())) ? 0 : 1;
+ 
+   return Error;
+   }
+diff --git a/test/core/core_type_mat4x4.cpp b/test/core/core_type_mat4x4.cpp
+index 3966c2b7f..fd2aca8b4 100644
+--- a/test/core/core_type_mat4x4.cpp
 b/test/core/core_type_mat4x4.cpp
+@@ -1,3 +1,4 @@
++#include 
+ #include 
+ #include 
+ #include 
+@@ -263,7 +264,7 @@ namespace cast
+   glm::mat4x4 Identity(1.0f);
+ 
+   for(glm::length_t i = 0, length = B.length(); i < length; ++i)
+-  Error += glm::all(glm::equal(B[i], Identity[i])) ? 0 : 
1;
++  Error += glm::all(glm::epsilonEqual(B[i], Identity[i], 
glm::epsilon())) ? 0 : 1;
+ 
+   return Error;
+   }

diff --git a/media-libs/glm/glm-0.9.8.5-r1.ebuild 
b/media-libs/glm/glm-0.9.8.5-r1.ebuild
index 073f3bee1e2..b30d2b1a0f8 100644
--- a/media-libs/glm/glm-0.9.8.5-r1.ebuild
+++ b/media-libs/glm/glm-0.9.8.5-r1.ebuild
@@ -18,6 +18,7 @@ RDEPEND="virtual/opengl"
 
 PATCHES=(
"${FILESDIR}/glm-gcc73.patch"
+   "${FILESDIR}/${P}-gcc7_tests.patch"
 )
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2018-02-04 Thread Alfredo Tupone
commit: dda931b86ac55b79afb1537d560fe14c360f4428
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Sun Feb  4 19:56:46 2018 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Sun Feb  4 19:56:46 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dda931b8

media-libs/glm: Revbump of 0.9.8.5, Bug #645942

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 media-libs/glm/{glm-0.9.8.5.ebuild => glm-0.9.8.5-r1.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/media-libs/glm/glm-0.9.8.5.ebuild 
b/media-libs/glm/glm-0.9.8.5-r1.ebuild
similarity index 100%
rename from media-libs/glm/glm-0.9.8.5.ebuild
rename to media-libs/glm/glm-0.9.8.5-r1.ebuild



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/files/, media-libs/glm/

2018-01-26 Thread Patrick McLean
commit: 1e45f7cd1dfa04ef4b89eb453df04b62ee432425
Author: Patrick McLean  gentoo  org>
AuthorDate: Fri Jan 26 23:52:31 2018 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Fri Jan 26 23:52:52 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e45f7cd

media-libs/glm: Add patch to support gcc-7.3 to 0.9.8.5

Package-Manager: Portage-2.3.20, Repoman-2.3.6

 media-libs/glm/files/glm-gcc73.patch | 35 +++
 media-libs/glm/glm-0.9.8.5.ebuild|  6 +-
 2 files changed, 40 insertions(+), 1 deletion(-)

diff --git a/media-libs/glm/files/glm-gcc73.patch 
b/media-libs/glm/files/glm-gcc73.patch
new file mode 100644
index 000..68033b5b6f6
--- /dev/null
+++ b/media-libs/glm/files/glm-gcc73.patch
@@ -0,0 +1,35 @@
+diff -ur glm-0.9.8.5.orig/glm/simd/platform.h glm-0.9.8.5/glm/simd/platform.h
+--- glm-0.9.8.5.orig/glm/simd/platform.h   2017-08-16 05:15:24.0 
-0700
 glm-0.9.8.5/glm/simd/platform.h2018-01-26 15:38:57.584130263 -0800
+@@ -111,7 +111,8 @@
+ #define GLM_COMPILER_GCC700x02000A00
+ #define GLM_COMPILER_GCC710x02000B00
+ #define GLM_COMPILER_GCC720x02000C00
+-#define GLM_COMPILER_GCC800x02000D00
++#define GLM_COMPILER_GCC730x02000D00
++#define GLM_COMPILER_GCC800x02000E00
+ 
+ // CUDA
+ #define GLM_COMPILER_CUDA 0x1000
+@@ -283,6 +284,8 @@
+ # define GLM_COMPILER (GLM_COMPILER_GCC71)
+ # elif (__GNUC__ == 7) && (__GNUC_MINOR__ == 2)
+ # define GLM_COMPILER (GLM_COMPILER_GCC72)
++# elif (__GNUC__ == 7) && (__GNUC_MINOR__ == 3)
++# define GLM_COMPILER (GLM_COMPILER_GCC73)
+ # elif (__GNUC__ >= 8)
+ # define GLM_COMPILER (GLM_COMPILER_GCC80)
+ # else
+diff -ur glm-0.9.8.5.orig/test/core/core_setup_message.cpp 
glm-0.9.8.5/test/core/core_setup_message.cpp
+--- glm-0.9.8.5.orig/test/core/core_setup_message.cpp  2017-08-16 
05:15:24.0 -0700
 glm-0.9.8.5/test/core/core_setup_message.cpp   2018-01-26 
15:37:56.953298475 -0800
+@@ -86,6 +86,9 @@
+   case GLM_COMPILER_GCC72:
+   std::printf("GCC 7.2\n");
+   break;
++  case GLM_COMPILER_GCC73:
++  std::printf("GCC 7.3\n");
++  break;
+   case GLM_COMPILER_GCC80:
+   std::printf("GCC 8.0\n");
+   break;

diff --git a/media-libs/glm/glm-0.9.8.5.ebuild 
b/media-libs/glm/glm-0.9.8.5.ebuild
index 548d897c684..073f3bee1e2 100644
--- a/media-libs/glm/glm-0.9.8.5.ebuild
+++ b/media-libs/glm/glm-0.9.8.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -16,6 +16,10 @@ IUSE="test cpu_flags_x86_sse2 cpu_flags_x86_sse3 
cpu_flags_x86_avx cpu_flags_x86
 
 RDEPEND="virtual/opengl"
 
+PATCHES=(
+   "${FILESDIR}/glm-gcc73.patch"
+)
+
 src_configure() {
if use test; then
local mycmakeargs=(



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2017-08-18 Thread Lars Wendler
commit: 5d2e7ade267f11fc5b1840ccbcbaea8f0608bb3a
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Aug 18 08:43:32 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Aug 18 08:43:32 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d2e7ade

media-libs/glm: Bump to version 0.9.8.5

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 media-libs/glm/Manifest   |  1 +
 media-libs/glm/glm-0.9.8.5.ebuild | 31 +++
 2 files changed, 32 insertions(+)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index b6d8ba432f0..4d05bff2bad 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 000..22f8f5cb771
--- /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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2017-08-18 Thread Lars Wendler
commit: e6b8c7f3e196dbcd921c8e27f1d4a7f4b1f3a360
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Aug 18 08:43:59 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Aug 18 08:43:59 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6b8c7f3

media-libs/glm: Removed old.

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 media-libs/glm/Manifest   |  1 -
 media-libs/glm/glm-0.9.8.3.ebuild | 30 --
 2 files changed, 31 deletions(-)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index 4d05bff2bad..2aea671239d 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -1,5 +1,4 @@
 DIST glm-0.9.6.1.zip 4232099 SHA256 
1a8a0c84dee47b0493aa8d45ccd38dc02b917d9f14da835c5b06fb0b93bb33e8 SHA512 
7f1468c5e60e65181f4685a2429fa8d70350a3576175a55b7c9e8597a03837cb84aeaeb88d311e1e1948c5bd90ad9cee9286433cb78fdee54b0fbe5313ce2f84
 WHIRLPOOL 
88e0c6df25ee1bf73b625614be61c21c07389a7ecc05e2e74714da08412ab3ab0eba6c99c6a793f7b08d52f6748ef5202d8301c1b6cf4d64ab06184bc9482030
 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.3.ebuild 
b/media-libs/glm/glm-0.9.8.3.ebuild
deleted file mode 100644
index f5fc6039931..000
--- a/media-libs/glm/glm-0.9.8.3.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2016 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 )
-
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2017-01-26 Thread Lars Wendler
commit: 627058f279b2b1760f62122e885915daec5991ce
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Jan 26 23:08:08 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Jan 26 23:36:47 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=627058f2

media-libs/glm: Removed old.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 media-libs/glm/Manifest   |  1 -
 media-libs/glm/glm-0.9.8.2.ebuild | 31 ---
 2 files changed, 32 deletions(-)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index 0db7189..b6d8ba4 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -1,5 +1,4 @@
 DIST glm-0.9.6.1.zip 4232099 SHA256 
1a8a0c84dee47b0493aa8d45ccd38dc02b917d9f14da835c5b06fb0b93bb33e8 SHA512 
7f1468c5e60e65181f4685a2429fa8d70350a3576175a55b7c9e8597a03837cb84aeaeb88d311e1e1948c5bd90ad9cee9286433cb78fdee54b0fbe5313ce2f84
 WHIRLPOOL 
88e0c6df25ee1bf73b625614be61c21c07389a7ecc05e2e74714da08412ab3ab0eba6c99c6a793f7b08d52f6748ef5202d8301c1b6cf4d64ab06184bc9482030
 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.2.ebuild 
b/media-libs/glm/glm-0.9.8.2.ebuild
deleted file mode 100644
index 0ef2057..
--- a/media-libs/glm/glm-0.9.8.2.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# 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
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2017-01-26 Thread Lars Wendler
commit: bddbb58558038dc84559e39450df2995a655fc1e
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Jan 26 23:07:40 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Jan 26 23:36:44 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bddbb585

media-libs/glm: Bump to version 0.9.8.4

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 media-libs/glm/Manifest   |  1 +
 media-libs/glm/glm-0.9.8.4.ebuild | 31 +++
 2 files changed, 32 insertions(+)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index 1bf4178..0db7189 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 ..97db1bd
--- /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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2016-11-16 Thread Lars Wendler
commit: a887af5e381fe3b4673a7ec310d6ddf0ad6830ff
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Nov 16 21:10:01 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Nov 16 21:30:24 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a887af5e

media-libs/glm: Removed old.

Package-Manager: portage-2.3.2

 media-libs/glm/Manifest   |  1 -
 media-libs/glm/glm-0.9.8.1.ebuild | 31 ---
 2 files changed, 32 deletions(-)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index 4212fd3..1bf4178 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -1,5 +1,4 @@
 DIST glm-0.9.6.1.zip 4232099 SHA256 
1a8a0c84dee47b0493aa8d45ccd38dc02b917d9f14da835c5b06fb0b93bb33e8 SHA512 
7f1468c5e60e65181f4685a2429fa8d70350a3576175a55b7c9e8597a03837cb84aeaeb88d311e1e1948c5bd90ad9cee9286433cb78fdee54b0fbe5313ce2f84
 WHIRLPOOL 
88e0c6df25ee1bf73b625614be61c21c07389a7ecc05e2e74714da08412ab3ab0eba6c99c6a793f7b08d52f6748ef5202d8301c1b6cf4d64ab06184bc9482030
 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.1.ebuild 
b/media-libs/glm/glm-0.9.8.1.ebuild
deleted file mode 100644
index 0ef2057..
--- a/media-libs/glm/glm-0.9.8.1.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# 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
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2016-11-16 Thread Lars Wendler
commit: 36c163c407ec64f0253dd0822f2f531f20fbbedb
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Nov 16 21:09:24 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Nov 16 21:30:21 2016 +
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 ..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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2016-11-04 Thread Lars Wendler
commit: 993bbfc3d9e17c4912817a0498a612176de80f14
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Nov  4 09:04:36 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Nov  4 09:04:36 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=993bbfc3

media-libs/glm: Bump to version 0.9.8.2

Package-Manager: portage-2.3.2
Signed-off-by: Lars Wendler  gentoo.org>

 media-libs/glm/Manifest   |  1 +
 media-libs/glm/glm-0.9.8.2.ebuild | 31 +++
 2 files changed, 32 insertions(+)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index 65f5b24..1284627 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -1,3 +1,4 @@
 DIST glm-0.9.6.1.zip 4232099 SHA256 
1a8a0c84dee47b0493aa8d45ccd38dc02b917d9f14da835c5b06fb0b93bb33e8 SHA512 
7f1468c5e60e65181f4685a2429fa8d70350a3576175a55b7c9e8597a03837cb84aeaeb88d311e1e1948c5bd90ad9cee9286433cb78fdee54b0fbe5313ce2f84
 WHIRLPOOL 
88e0c6df25ee1bf73b625614be61c21c07389a7ecc05e2e74714da08412ab3ab0eba6c99c6a793f7b08d52f6748ef5202d8301c1b6cf4d64ab06184bc9482030
 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

diff --git a/media-libs/glm/glm-0.9.8.2.ebuild 
b/media-libs/glm/glm-0.9.8.2.ebuild
new file mode 100644
index ..0ef2057
--- /dev/null
+++ b/media-libs/glm/glm-0.9.8.2.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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2016-10-17 Thread Lars Wendler
commit: 5aefa784348c1324a065786adf2e21325857610f
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Oct 17 08:27:35 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Oct 17 09:04:37 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5aefa784

media-libs/glm: Removed old.

Package-Manager: portage-2.3.2
Signed-off-by: Lars Wendler  gentoo.org>

 media-libs/glm/Manifest   |  5 -
 media-libs/glm/glm-0.9.2.4.ebuild | 25 -
 media-libs/glm/glm-0.9.3.2.ebuild | 25 -
 media-libs/glm/glm-0.9.5.1.ebuild | 27 ---
 media-libs/glm/glm-0.9.7.1.ebuild | 31 ---
 media-libs/glm/glm-0.9.7.2.ebuild | 31 ---
 6 files changed, 144 deletions(-)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index 1338da5..65f5b24 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -1,8 +1,3 @@
-DIST glm-0.9.2.4.zip 3462705 SHA256 
1ec0e08c15c3f7e67d646ffae5836c64431ddbf6bdcda4b73fb584b2542c SHA512 
8129802b33d11647c7ab8249e8639903314f1bf7ab86f1a5f62ee99971424497fa660d164e64a43d76fb0050b4e8512c5f8fe6d1667a28083107185d91420f6a
 WHIRLPOOL 
eb53bed52e33bc364c89af22bc4398ad7b443e5c484b07d9f6991d0b6398c1cfeedbd7d97b459c20e0ceccdf444ec12fa4600b3766ca1f6eabb5454e4e0b5154
-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
-DIST glm-0.9.7.2.tar.gz 3454084 SHA256 
8fb3049a620cee153462c8c41df9c9ecebfc44cddf823828b25f9eb53a541890 SHA512 
edcfc8df59e3adfd6131156bc817a7880afb336d9bea1f2e7324b7c3937057fc8c6eca3b47f5c0c33b08e79ed7ca4f69d884fdfe75204c070b7b79d24256b81a
 WHIRLPOOL 
ab296f91ed27cbe24c0ad3fa6fa03787e42aa27ae1c7bf9e31ebadada00a0d00f228aaf8a762ec1f1aaf7096c79db8642ad31926bbe2383a019b2b813e29de23
 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

diff --git a/media-libs/glm/glm-0.9.2.4.ebuild 
b/media-libs/glm/glm-0.9.2.4.ebuild
deleted file mode 100644
index 8630f6c..
--- a/media-libs/glm/glm-0.9.2.4.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-DESCRIPTION="OpenGL Mathematics"
-HOMEPAGE="http://glm.g-truc.net/";
-SRC_URI="mirror://sourceforge/ogl-math/${P}.zip"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND=""
-DEPEND="app-arch/unzip"
-
-src_install() {
-   dodoc doc/${PN}-0.9.2.pdf
-   cd ${PN}
-   insinto /usr/include/${PN}
-   doins -r *.hpp core gtc gtx virtrev
-   rm "${D}"/usr/include/${PN}/core/*cpp
-}

diff --git a/media-libs/glm/glm-0.9.3.2.ebuild 
b/media-libs/glm/glm-0.9.3.2.ebuild
deleted file mode 100644
index 3d2a439..
--- a/media-libs/glm/glm-0.9.3.2.ebuild
+++ /dev/null
@@ -1,25 +

[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2016-10-17 Thread Lars Wendler
commit: c012026c8e5e496adb47486999d9e899c6d9d427
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Oct 17 08:26:46 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Oct 17 09:04:35 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c012026c

media-libs/glm: Bump to version 0.9.8.1

Package-Manager: portage-2.3.2
Signed-off-by: Lars Wendler  gentoo.org>

 media-libs/glm/Manifest   |  1 +
 media-libs/glm/glm-0.9.8.1.ebuild | 31 +++
 2 files changed, 32 insertions(+)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index c6cb805..1338da5 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -5,3 +5,4 @@ DIST glm-0.9.6.1.zip 4232099 SHA256 
1a8a0c84dee47b0493aa8d45ccd38dc02b917d9f14da
 DIST glm-0.9.7.1.tar.gz 3453078 SHA256 
285a0dc8f762b4e523c8710fbd97accaace0c61f45bc8be2bdb0deed07b0e6f3 SHA512 
380d3611b5867a4680c213bfec00e974d29c9aa92ed374adc9ca2ae04d6c4d29f20b88ccf3359df5faabf5050f9e6dc6e417ee9f5f4b484a3ef5aefecd3827a2
 WHIRLPOOL 
7a76f6efb7acacd7d2025d9ccf9d3feb0887e55dd10c757387ad07dbae44d2aba41758994ca870c64e55e501a9916b3dbdf3606dc9c7cf44368cc405d6c26a4e
 DIST glm-0.9.7.2.tar.gz 3454084 SHA256 
8fb3049a620cee153462c8c41df9c9ecebfc44cddf823828b25f9eb53a541890 SHA512 
edcfc8df59e3adfd6131156bc817a7880afb336d9bea1f2e7324b7c3937057fc8c6eca3b47f5c0c33b08e79ed7ca4f69d884fdfe75204c070b7b79d24256b81a
 WHIRLPOOL 
ab296f91ed27cbe24c0ad3fa6fa03787e42aa27ae1c7bf9e31ebadada00a0d00f228aaf8a762ec1f1aaf7096c79db8642ad31926bbe2383a019b2b813e29de23
 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

diff --git a/media-libs/glm/glm-0.9.8.1.ebuild 
b/media-libs/glm/glm-0.9.8.1.ebuild
new file mode 100644
index ..0ef2057
--- /dev/null
+++ b/media-libs/glm/glm-0.9.8.1.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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2016-07-22 Thread Alfredo Tupone
commit: 3aea916e9e7b022a1f0fa9de237d27fa938a98f8
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Fri Jul 22 20:41:03 2016 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Fri Jul 22 20:41:38 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3aea916e

media-libs/glm: Version bump to 0.9.7.6

Package-Manager: portage-2.2.28

 media-libs/glm/Manifest   |  1 +
 media-libs/glm/glm-0.9.7.6.ebuild | 31 +++
 2 files changed, 32 insertions(+)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index 1d8a019..c6cb805 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -4,3 +4,4 @@ DIST glm-0.9.5.1.zip 4071873 SHA256 
4f621657a3a7e73e2062f0c9b4366ba5e14a3c3b3c04
 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
 DIST glm-0.9.7.2.tar.gz 3454084 SHA256 
8fb3049a620cee153462c8c41df9c9ecebfc44cddf823828b25f9eb53a541890 SHA512 
edcfc8df59e3adfd6131156bc817a7880afb336d9bea1f2e7324b7c3937057fc8c6eca3b47f5c0c33b08e79ed7ca4f69d884fdfe75204c070b7b79d24256b81a
 WHIRLPOOL 
ab296f91ed27cbe24c0ad3fa6fa03787e42aa27ae1c7bf9e31ebadada00a0d00f228aaf8a762ec1f1aaf7096c79db8642ad31926bbe2383a019b2b813e29de23
+DIST glm-0.9.7.6.tar.gz 3457100 SHA256 
872fdea580b69b752562adc60734d7472fd97d5724c4ead585564083deac3953 SHA512 
d4e1e173405c11b5744df8dc12f0848cd84ab27b868434c0f8fc74f15110b78606564991f3063ccc97e68a0aa1c1cb4a1b40ba6ce7feffb0d1a23c3e5cff315a
 WHIRLPOOL 
ac48038cc7ed3e5a7f8a192ba4fe7cd43cc4f5f65cbfebe545ef0b9841f945e9fd6ff1385fa8c8d09ac4c578883827f187290b1154e1f5f01b8558a5e604883b

diff --git a/media-libs/glm/glm-0.9.7.6.ebuild 
b/media-libs/glm/glm-0.9.7.6.ebuild
new file mode 100644
index 000..5af7bf4
--- /dev/null
+++ b/media-libs/glm/glm-0.9.7.6.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2016-02-17 Thread Alfredo Tupone
commit: b1facf8818ab7fff0818d97ef589e78a73a3def7
Author: Tupone Alfredo  gentoo  org>
AuthorDate: Wed Feb 17 21:14:00 2016 +
Commit: Alfredo Tupone  gentoo  org>
CommitDate: Wed Feb 17 21:15:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1facf88

media-libs/glm: Version bump to 0.9.7.2

Package-Manager: portage-2.2.26

 media-libs/glm/Manifest   |  1 +
 media-libs/glm/glm-0.9.7.2.ebuild | 31 +++
 2 files changed, 32 insertions(+)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index ef9429b..1d8a019 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -3,3 +3,4 @@ DIST glm-0.9.3.2.zip 6451695 SHA256 
ee66ab8336b9b6b3dff69268c497688268cf5a9d2b3a
 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
+DIST glm-0.9.7.2.tar.gz 3454084 SHA256 
8fb3049a620cee153462c8c41df9c9ecebfc44cddf823828b25f9eb53a541890 SHA512 
edcfc8df59e3adfd6131156bc817a7880afb336d9bea1f2e7324b7c3937057fc8c6eca3b47f5c0c33b08e79ed7ca4f69d884fdfe75204c070b7b79d24256b81a
 WHIRLPOOL 
ab296f91ed27cbe24c0ad3fa6fa03787e42aa27ae1c7bf9e31ebadada00a0d00f228aaf8a762ec1f1aaf7096c79db8642ad31926bbe2383a019b2b813e29de23

diff --git a/media-libs/glm/glm-0.9.7.2.ebuild 
b/media-libs/glm/glm-0.9.7.2.ebuild
new file mode 100644
index 000..5af7bf4
--- /dev/null
+++ b/media-libs/glm/glm-0.9.7.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2015-09-16 Thread Justin Lecher
commit: 803cf4282098411664082bfeefcbb57d54614efd
Author: Marius Brehler  linux  sungazer  de>
AuthorDate: Thu Sep 10 10:18:52 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Thu Sep 10 10:18:52 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=803cf428

media-libs/glm: Version bump, fixes #553156 and #538294

Package-Manager: portage-2.2.20.1

 media-libs/glm/Manifest   |  1 +
 media-libs/glm/glm-0.9.7.1.ebuild | 31 +++
 2 files changed, 32 insertions(+)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index c91819f..d055681 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -2,3 +2,4 @@ DIST glm-0.9.2.4.zip 3462705 SHA256 
1ec0e08c15c3f7e67d646ffae5836c64431ddbf6
 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 000..b2cb846
--- /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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2015-09-16 Thread Justin Lecher
commit: 6599f68cce5e0202b3ce99bc14bd865b5f8847d3
Author: Marius Brehler  linux  sungazer  de>
AuthorDate: Sat Sep 12 10:16:41 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Sat Sep 12 10:16:41 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6599f68c

media-libs/glm: Fix remote-id

Package-Manager: portage-2.2.20.1

 media-libs/glm/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glm/metadata.xml b/media-libs/glm/metadata.xml
index 8b1dc50..80f9177 100644
--- a/media-libs/glm/metadata.xml
+++ b/media-libs/glm/metadata.xml
@@ -9,6 +9,6 @@
header only C++ mathematics library for graphics software based 
on the OpenGL Shading Language (GLSL) specification. 


-   ogl-math
+   g-trunc/glm

 



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2015-09-16 Thread Justin Lecher
commit: 0ba4ec49e9fe1aec78b2887174c1dadbabc7c6f7
Author: Marius Brehler  linux  sungazer  de>
AuthorDate: Sat Sep 12 10:16:41 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Wed Sep 16 08:53:41 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ba4ec49

media-libs/glm: Fix remote-id

Package-Manager: portage-2.2.20.1

 media-libs/glm/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glm/metadata.xml b/media-libs/glm/metadata.xml
index 8b1dc50..80f9177 100644
--- a/media-libs/glm/metadata.xml
+++ b/media-libs/glm/metadata.xml
@@ -9,6 +9,6 @@
header only C++ mathematics library for graphics software based 
on the OpenGL Shading Language (GLSL) specification. 


-   ogl-math
+   g-trunc/glm

 



[gentoo-commits] repo/gentoo:master commit in: media-libs/glm/

2015-09-16 Thread Justin Lecher
commit: 1b177c32a9e22c8a5a566a444ede3caf79c88c07
Author: Marius Brehler  linux  sungazer  de>
AuthorDate: Thu Sep 10 10:18:52 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Wed Sep 16 08:53:41 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b177c32

media-libs/glm: Version bump, fixes #553156 and #538294

Package-Manager: portage-2.2.20.1

 media-libs/glm/Manifest   |  1 +
 media-libs/glm/glm-0.9.7.1.ebuild | 31 +++
 2 files changed, 32 insertions(+)

diff --git a/media-libs/glm/Manifest b/media-libs/glm/Manifest
index c91819f..d055681 100644
--- a/media-libs/glm/Manifest
+++ b/media-libs/glm/Manifest
@@ -2,3 +2,4 @@ DIST glm-0.9.2.4.zip 3462705 SHA256 
1ec0e08c15c3f7e67d646ffae5836c64431ddbf6
 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 000..b2cb846
--- /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
+}