glm: update to 0.9.9.2.

This commit is contained in:
maxice8 2018-09-15 02:51:11 -03:00
parent 0992c9873e
commit e47e99dd0d
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -1,22 +1,18 @@
# Template file for 'glm'
pkgname=glm
version=0.9.9.1
version=0.9.9.2
revision=1
wrksrc=glm
noarch=yes
build_style=cmake
configure_args="-DGLM_TEST_ENABLE=OFF"
hostmakedepends="dos2unix unzip"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
short_desc="A C++ mathematics library for graphics programming"
license="MIT"
homepage="http://glm.g-truc.net"
distfiles="https://github.com/g-truc/glm/releases/download/${version}/glm-${version}.zip"
checksum=10f1471d69ec09992f400705bedc9f5121e17a2c8fd6f9591244bb5ee1104a10
post_extract() {
# Fix compiler version detection: GCC >= 7.2
sed -i glm/simd/platform.h -e "/(__GNUC__ == 7)/s/ == 2/>= 2/"
}
checksum=209b5943d393925e1a6ecb6734e7507b8f6add25e72a605b25d0d0d382e64fd4
post_install() {
local f