graphene: update to 1.10.6.

also fix comparision error.

ref: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3976#note_1079639

closes #30125.
This commit is contained in:
Enno Boland 2021-04-11 20:40:04 +02:00
parent 6d8474bb60
commit f1884af21f
No known key found for this signature in database
GPG key ID: 5A7B9F1D0DFEB55D
2 changed files with 16 additions and 4 deletions

View file

@ -0,0 +1,12 @@
diff --git src/graphene-ray.c src/graphene-ray.c
index 66c3393..9151300 100644
--- src/graphene-ray.c
+++ src/graphene-ray.c
@@ -563,7 +563,7 @@ graphene_ray_intersect_box (const graphene_ray_t *r,
#else
if (ty_min > tx_min || fpclassify (tx_min) == FP_NAN)
tx_min = ty_min;
- if (ty_max > tx_max || fpclassify (tx_max) == FP_NAN)
+ if (ty_max < tx_max || fpclassify (tx_max) == FP_NAN)
tx_max = ty_max;
#endif

View file

@ -1,11 +1,11 @@
# Template file for 'graphene'
pkgname=graphene
version=1.10.2
version=1.10.6
revision=1
build_style=meson
build_helper="gir"
configure_args="-Dtests=false -Dbenchmarks=false
-Dintrospection=$(vopt_if gir true false)"
configure_args="-Dbenchmarks=false -Dinstalled_tests=false
-Dintrospection=$(vopt_if gir enabled disabled) -Dsse2=true"
hostmakedepends="pkg-config"
makedepends="libglib-devel"
short_desc="Thin layer of types for graphic libraries"
@ -13,7 +13,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="MIT"
homepage="https://github.com/ebassi/graphene"
distfiles="${GNOME_SITE}/graphene/${version%.*}/graphene-${version}.tar.xz"
checksum=e97de8208f1aac4f913d4fa71ab73a7034e807186feb2abe55876e51c425a7f6
checksum=80ae57723e4608e6875626a88aaa6f56dd25df75024bd16e9d77e718c3560b25
case "$XBPS_TARGET_MACHINE" in
arm*) configure_args+=" -Darm_neon=false" ;;