# Template file for 'nautilus' pkgname=nautilus version=3.32.0 revision=2 build_style=meson build_helper="gir" configure_args="-Dtests=headless -Dintrospection=$(vopt_if gir true false)" hostmakedepends="glib-devel libxslt pkg-config" 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 tracker-devel gst-plugins-base1-devel" depends="desktop-file-utils gsettings-desktop-schemas hicolor-icon-theme tracker-miners" checkdepends="tracker" short_desc="GNOME file manager" maintainer="Rasmus Thomsen " license="GPL-2.0-or-later, LGPL-2.1-or-later" homepage="https://wiki.gnome.org/Nautilus" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=2246e34d3c0818714aee104c38d5b2f8836dc3db4a17f59ae2b31daa9c18d0de build_options="gir" case "$XBPS_TARGET_MACHINE" in i686-musl|x86_64-musl) build_options_default+=" gir" ;; *-musl) ;; *) build_options_default+=" gir" ;; esac 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 } }