51 lines
1.7 KiB
Bash
51 lines
1.7 KiB
Bash
# Template file for 'nautilus'
|
|
pkgname=nautilus
|
|
version=3.38.2
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="-Dtests=headless -Dintrospection=$(vopt_if gir true false)"
|
|
hostmakedepends="gettext glib-devel libxslt pkg-config tracker3"
|
|
makedepends="exempi-devel gnome-autoar-devel gnome-desktop-devel gtk+3-devel
|
|
libexif-devel libgexiv2-devel libglib-devel libnotify-devel libseccomp-devel
|
|
libX11-devel libxml2-devel tracker3-devel gst-plugins-base1-devel harfbuzz-devel"
|
|
depends="desktop-file-utils gsettings-desktop-schemas hicolor-icon-theme
|
|
tracker3-miners tracker3"
|
|
checkdepends="tracker3 tracker3-miners python3-gobject dbus"
|
|
short_desc="GNOME file manager"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
|
homepage="https://wiki.gnome.org/Nautilus"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version::4}/${pkgname}-${version}.tar.xz"
|
|
checksum=d09ceb54c274e50084c8757a73cd247fee5bde02a0b0d13733b0006d1a4196a6
|
|
# tests timeout:
|
|
# 11/11 test-nautilus-search-engine-tracker TIMEOUT 480.00s
|
|
make_check=extended
|
|
|
|
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"
|
|
|
|
libnautilus_package() {
|
|
short_desc+=" - shared libraries"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
nautilus-devel_package() {
|
|
depends="gtk+3-devel libnautilus>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
}
|
|
}
|