nautilus: fix build after libdir changes.
Also gate tests.
This commit is contained in:
parent
3078a6a912
commit
fbf810233d
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue