1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
8 libnautilus-extension-docs
12 pkgdesc="Default file manager for GNOME"
13 url="https://wiki.gnome.org/Apps/Files"
37 checkdepends=(python-gobject)
38 _commit=a3fda22858ad6186ace1b22bc466e4087d67ca8e # tags/44.1^0
40 "git+https://gitlab.gnome.org/GNOME/nautilus.git#commit=$_commit"
44 '079cd60e8f408cd145bc71c4c0edb9738719adcaccb24f110464ac9cd87f6b65cc9246563c809aec65f67e050dce6b5f09520e621c61cb83ca4b7f13917d57cf')
48 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
54 # Tracker test broken in our containers because bubblewrap stopped working,
55 # also see https://bugs.archlinux.org/task/78033
56 git apply -3 ../no-tracker-test.diff
65 arch-meson nautilus build "${meson_options[@]}"
66 meson compile -C build
70 meson test -C build --print-errorlogs
74 local p="$1" f d; shift
76 d="$srcdir/$p/${f#$pkgdir/}"
77 mkdir -p "$(dirname "$d")"
79 rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
84 depends+=(libnautilus-extension.so)
86 'nautilus-sendto: Send files via mail extension'
87 'tracker3-miners: Full text search and metadata-based renaming'
91 meson install -C build --destdir "$pkgdir"
95 _pick libne usr/include
96 _pick libne usr/lib/{girepository-1.0,libnautilus-extension*,pkgconfig}
97 _pick libne usr/share/gir-1.0
99 _pick ldocs usr/share/doc
102 package_libnautilus-extension() {
103 pkgdesc="Extension interface for Nautilus"
108 provides=(libnautilus-extension.so)
113 package_libnautilus-extension-docs() {
114 pkgdesc="Extension interface for Nautilus (documentation)"
120 # vim:set sw=2 sts=-1 et: