commit: 694fe6b7de8a7d4a69d1fa0c3140b43827675990
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 31 02:45:54 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 31 22:13:35 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=694fe6b7
gnome-base/gvfs: [QA] call tmpfiles_process in pkg_postinst (conditionally)
This is needed to actually apply the tmpfiles configuration
we've installed in the ebuild. See tmpfiles.eclass documentation.
Revbump for the conditional virtual/tmpfiles dependency.
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../gvfs/{gvfs-1.48.1.ebuild => gvfs-1.48.1-r1.ebuild} | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/gnome-base/gvfs/gvfs-1.48.1.ebuild
b/gnome-base/gvfs/gvfs-1.48.1-r1.ebuild
similarity index 94%
rename from gnome-base/gvfs/gvfs-1.48.1.ebuild
rename to gnome-base/gvfs/gvfs-1.48.1-r1.ebuild
index be6dd089674..f4b50cffc64 100644
--- a/gnome-base/gvfs/gvfs-1.48.1.ebuild
+++ b/gnome-base/gvfs/gvfs-1.48.1-r1.ebuild
@@ -3,7 +3,8 @@
EAPI=7
-inherit gnome.org gnome2-utils meson systemd xdg
+TMPFILES_OPTIONAL=1
+inherit gnome.org gnome2-utils meson systemd tmpfiles xdg
DESCRIPTION="Virtual filesystem implementation for GIO"
HOMEPAGE="https://wiki.gnome.org/Projects/gvfs"
@@ -40,7 +41,10 @@ RDEPEND="
)
zeroconf? ( >=net-dns/avahi-0.6[dbus] )
udev? ( >=dev-libs/libgudev-147:= )
- fuse? ( >=sys-fs/fuse-3.0.0:3 )
+ fuse? (
+ >=sys-fs/fuse-3.0.0:3
+ virtual/tmpfiles
+ )
udisks? ( >=sys-fs/udisks-1.97:2 )
systemd? ( >=sys-apps/systemd-206:0= )
elogind? ( >=sys-auth/elogind-229:0= )
@@ -128,6 +132,10 @@ src_configure() {
}
pkg_postinst() {
+ if use fuse; then
+ tmpfiles_process gvfsd-fuse-tmpfiles.conf
+ fi
+
xdg_pkg_postinst
gnome2_schemas_update
gnome2_giomodule_cache_update