gobject-introspection: update to 1.68.0

also fix cross build.

ref: db136cbaf8
This commit is contained in:
Enno Boland 2021-04-03 12:44:05 +02:00
parent 5967834b48
commit 03df84084b
No known key found for this signature in database
GPG key ID: 5A7B9F1D0DFEB55D

View file

@ -1,6 +1,6 @@
# Template file for 'gobject-introspection'
pkgname=gobject-introspection
version=1.64.1
version=1.68.0
revision=1
build_style=meson
pycompile_dirs="usr/lib/${pkgname}/giscanner"
@ -13,13 +13,13 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://wiki.gnome.org/Projects/GObjectIntrospection"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=80beae6728c134521926affff9b2e97125749b38d38744dc901f4010ee3e7fa7
checksum=d229242481a201b84a0c66716de1752bca41db4133672cfcfb37c93eb6e54a27
python_version=3
patch_args="-Np1"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" gobject-introspection qemu-user-static prelink-cross"
configure_args+=" -Dgi_cross_use_host_gi=true
configure_args+=" -Dgi_cross_use_prebuilt_gi=true
-Dgi_cross_binary_wrapper=/usr/bin/g-ir-scanner-qemuwrapper
-Dgi_cross_ldd_wrapper=/usr/bin/g-ir-scanner-lddwrapper
-Dgi_cross_pkgconfig_sysroot_path=${XBPS_CROSS_BASE}"