nautilus: fix build after libdir changes.

Also gate tests.
This commit is contained in:
Érico Rolim 2021-02-02 21:51:21 -03:00 committed by Érico Nogueira Rolim
parent 3078a6a912
commit fbf810233d
1 changed files with 14 additions and 0 deletions

View File

@ -19,9 +19,23 @@ homepage="https://wiki.gnome.org/Nautilus"
distfiles="${GNOME_SITE}/${pkgname}/${version::4}/${pkgname}-${version}.tar.xz"
checksum=0a3e812b13b774b7fd6f222f55acd1f87fb2973d9af60c04b7d25cb52222d0fd
if [ "$CROSS_BUILD" ]; then
# tests try to use tracker-sandbox from the wrong path, because of some confusion with libdir:
# "Program /usr/lib32/tracker-3.0/trackertestutils/tracker-sandbox found: NO"
configure_args+=" -Dtests=none"
fi
build_options="gir"
build_options_default="gir"
do_check() {
if [ "$XBPS_CHECK_PKGS" = full ]; then
# tests timeout:
# 11/11 test-nautilus-search-engine-tracker TIMEOUT 480.00s
ninja -C builddir test
fi
}
libnautilus_package() {
short_desc+=" - shared libraries"
pkg_install() {