main/gobject-introspection: upgrade to 1.82.0

This commit is contained in:
fossdd 2024-09-15 21:08:11 +02:00 committed by Natanael Copa
parent 908249f166
commit de59dbc8ce

View file

@ -1,8 +1,8 @@
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gobject-introspection
pkgver=1.80.1
pkgrel=2
pkgver=1.82.0
pkgrel=0
pkgdesc="Introspection system for GObject-based libraries"
url="https://wiki.gnome.org/action/show/Projects/GObjectIntrospection"
arch="all"
@ -26,16 +26,16 @@ replaces="libgirepository"
checkdepends="sed"
source="https://download.gnome.org/sources/gobject-introspection/${pkgver%.*}/gobject-introspection-$pkgver.tar.xz"
case "$CARCH" in
*)
# FIXME: the gir scan on
#define REGRESS_GOOD_EXPR_CONSTANT (1 + 2 * (3 + 2) << 3 - 4 >> REGRESS_ATEST_ERROR_CODE2)
# evaluates to 0 instead of -2305843009213693952
# so a test failes
# https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/458
options="$options !check"
;;
esac
prepare() {
default_prepare
case "$CARCH" in
x86)
# https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/520
sed -i "s|subdir('tests')||g" meson.build
;;
esac
}
build() {
abuild-meson -Db_lto=true . output
@ -57,5 +57,5 @@ dev() {
}
sha512sums="
f45c2c1b105086488d974c6134db9910746df8edb187772f2ecd249656a1047c8ac88ba51f5bf7393c3d99c3ace143ecd09be256c2f4d0ceee110c9ad51a839a gobject-introspection-1.80.1.tar.xz
e139fadb4174c72b648914f3774d89fc0e5eaee45bba0c13edf05de883664dad8276dbc34006217bb09871ed4bad23adab51ff232a17b9eb131329b2926cafb7 gobject-introspection-1.82.0.tar.xz
"