1 |
commit: 694fe6b7de8a7d4a69d1fa0c3140b43827675990 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 31 02:45:54 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 31 22:13:35 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=694fe6b7 |
7 |
|
8 |
gnome-base/gvfs: [QA] call tmpfiles_process in pkg_postinst (conditionally) |
9 |
|
10 |
This is needed to actually apply the tmpfiles configuration |
11 |
we've installed in the ebuild. See tmpfiles.eclass documentation. |
12 |
|
13 |
Revbump for the conditional virtual/tmpfiles dependency. |
14 |
|
15 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
16 |
|
17 |
.../gvfs/{gvfs-1.48.1.ebuild => gvfs-1.48.1-r1.ebuild} | 12 ++++++++++-- |
18 |
1 file changed, 10 insertions(+), 2 deletions(-) |
19 |
|
20 |
diff --git a/gnome-base/gvfs/gvfs-1.48.1.ebuild b/gnome-base/gvfs/gvfs-1.48.1-r1.ebuild |
21 |
similarity index 94% |
22 |
rename from gnome-base/gvfs/gvfs-1.48.1.ebuild |
23 |
rename to gnome-base/gvfs/gvfs-1.48.1-r1.ebuild |
24 |
index be6dd089674..f4b50cffc64 100644 |
25 |
--- a/gnome-base/gvfs/gvfs-1.48.1.ebuild |
26 |
+++ b/gnome-base/gvfs/gvfs-1.48.1-r1.ebuild |
27 |
@@ -3,7 +3,8 @@ |
28 |
|
29 |
EAPI=7 |
30 |
|
31 |
-inherit gnome.org gnome2-utils meson systemd xdg |
32 |
+TMPFILES_OPTIONAL=1 |
33 |
+inherit gnome.org gnome2-utils meson systemd tmpfiles xdg |
34 |
|
35 |
DESCRIPTION="Virtual filesystem implementation for GIO" |
36 |
HOMEPAGE="https://wiki.gnome.org/Projects/gvfs" |
37 |
@@ -40,7 +41,10 @@ RDEPEND=" |
38 |
) |
39 |
zeroconf? ( >=net-dns/avahi-0.6[dbus] ) |
40 |
udev? ( >=dev-libs/libgudev-147:= ) |
41 |
- fuse? ( >=sys-fs/fuse-3.0.0:3 ) |
42 |
+ fuse? ( |
43 |
+ >=sys-fs/fuse-3.0.0:3 |
44 |
+ virtual/tmpfiles |
45 |
+ ) |
46 |
udisks? ( >=sys-fs/udisks-1.97:2 ) |
47 |
systemd? ( >=sys-apps/systemd-206:0= ) |
48 |
elogind? ( >=sys-auth/elogind-229:0= ) |
49 |
@@ -128,6 +132,10 @@ src_configure() { |
50 |
} |
51 |
|
52 |
pkg_postinst() { |
53 |
+ if use fuse; then |
54 |
+ tmpfiles_process gvfsd-fuse-tmpfiles.conf |
55 |
+ fi |
56 |
+ |
57 |
xdg_pkg_postinst |
58 |
gnome2_schemas_update |
59 |
gnome2_giomodule_cache_update |