50 lines
1.7 KiB
Bash
50 lines
1.7 KiB
Bash
# Template file for 'nautilus'
|
|
pkgname=nautilus
|
|
version=46.2
|
|
revision=2
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="-Dtests=headless -Dintrospection=$(vopt_if gir true false)"
|
|
hostmakedepends="gettext glib-devel libxslt pkg-config desktop-file-utils
|
|
localsearch gtk-update-icon-cache"
|
|
makedepends="exempi-devel gnome-autoar-devel gnome-desktop-devel gtk4-devel
|
|
libexif-devel libgexiv2-devel libglib-devel libnotify-devel libseccomp-devel
|
|
libxml2-devel gst-plugins-base1-devel harfbuzz-devel
|
|
libadwaita-devel libportal-gtk4-devel"
|
|
depends="desktop-file-utils gsettings-desktop-schemas hicolor-icon-theme
|
|
tinysparql localsearch"
|
|
checkdepends="tinysparql localsearch python3-gobject dbus"
|
|
short_desc="GNOME file manager"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
|
homepage="https://wiki.gnome.org/Nautilus"
|
|
#changelog="https://gitlab.gnome.org/GNOME/nautilus/-/raw/main/NEWS"
|
|
changelog="https://gitlab.gnome.org/GNOME/nautilus/-/raw/gnome-46/NEWS"
|
|
distfiles="${GNOME_SITE}/nautilus/${version%%.*}/nautilus-${version}.tar.xz"
|
|
checksum=6ee8c99019b9e3447f6918d68232a20deca89e5525c05805432b7d8840ca71fa
|
|
# tests timeout:
|
|
# 11/11 test-nautilus-search-engine-tracker TIMEOUT 480.00s
|
|
make_check=ci-skip
|
|
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
libnautilus_package() {
|
|
short_desc+=" - shared libraries"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
nautilus-devel_package() {
|
|
depends="gtk4-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
|
|
}
|
|
}
|