mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 23:23:51 +02:00
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:
parent
6d8474bb60
commit
f1884af21f
2 changed files with 16 additions and 4 deletions
|
@ -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
|
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'graphene'
|
# Template file for 'graphene'
|
||||||
pkgname=graphene
|
pkgname=graphene
|
||||||
version=1.10.2
|
version=1.10.6
|
||||||
revision=1
|
revision=1
|
||||||
build_style=meson
|
build_style=meson
|
||||||
build_helper="gir"
|
build_helper="gir"
|
||||||
configure_args="-Dtests=false -Dbenchmarks=false
|
configure_args="-Dbenchmarks=false -Dinstalled_tests=false
|
||||||
-Dintrospection=$(vopt_if gir true false)"
|
-Dintrospection=$(vopt_if gir enabled disabled) -Dsse2=true"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libglib-devel"
|
makedepends="libglib-devel"
|
||||||
short_desc="Thin layer of types for graphic libraries"
|
short_desc="Thin layer of types for graphic libraries"
|
||||||
|
@ -13,7 +13,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/ebassi/graphene"
|
homepage="https://github.com/ebassi/graphene"
|
||||||
distfiles="${GNOME_SITE}/graphene/${version%.*}/graphene-${version}.tar.xz"
|
distfiles="${GNOME_SITE}/graphene/${version%.*}/graphene-${version}.tar.xz"
|
||||||
checksum=e97de8208f1aac4f913d4fa71ab73a7034e807186feb2abe55876e51c425a7f6
|
checksum=80ae57723e4608e6875626a88aaa6f56dd25df75024bd16e9d77e718c3560b25
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
arm*) configure_args+=" -Darm_neon=false" ;;
|
arm*) configure_args+=" -Darm_neon=false" ;;
|
||||||
|
|
Loading…
Add table
Reference in a new issue