gnome-builder: fix tests

validating the appstream file with network can easily time out
This commit is contained in:
Paper 2021-05-15 01:24:23 +02:00 committed by Érico Nogueira Rolim
parent 7af658cf88
commit 1d659b6606

View file

@ -4,7 +4,7 @@ version=3.40.2
revision=1
build_style=meson
build_helper=qemu
configure_args="-Dwith_webkit=true -Dwith_sysprof=true -Dhelp=true"
configure_args="-Dwith_webkit=true -Dwith_sysprof=true -Dhelp=true -Dnetwork_tests=false"
hostmakedepends="pkg-config appstream-glib desktop-file-utils flex gobject-introspection
gspell-devel llvm mm-common vala python3-Sphinx python3-sphinx_rtd_theme gettext"
makedepends="cairo-devel clang devhelp-devel enchant2-devel flatpak-devel
@ -13,11 +13,12 @@ makedepends="cairo-devel clang devhelp-devel enchant2-devel flatpak-devel
libxml2-devel template-glib-devel vala-devel vte3-devel webkit2gtk-devel
python3-gobject-devel sysprof-devel glade3-devel libportal-devel"
depends="desktop-file-utils flatpak-builder python3-lxml devhelp python3-gobject"
checkdepends="xvfb-run"
short_desc="IDE for GNOME"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://wiki.gnome.org/Apps/Builder"
changelog="https://gitlab.gnome.org/GNOME/gnome-builder/raw/gnome-builder-3-36/NEWS"
changelog="https://gitlab.gnome.org/GNOME/gnome-builder/raw/gnome-builder-3-40/NEWS"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=b2844cfde821311939fb6ed3b18a49cd331413aea720393091583ab6a99e719a
patch_args="-Np1"
@ -29,7 +30,6 @@ case "$XBPS_TARGET_MACHINE" in
;;
esac
pre_configure() {
# this test needs X
vsed -i "s/test('test-text-iter'/#&/" src/tests/meson.build
do_check() {
xvfb-run ninja -C build test
}