summaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-gnome
diff options
context:
space:
mode:
Diffstat (limited to 'meta-gnome/recipes-gnome')
-rw-r--r--meta-gnome/recipes-gnome/gvfs/gvfs_1.40.0.bb20
1 files changed, 13 insertions, 7 deletions
diff --git a/meta-gnome/recipes-gnome/gvfs/gvfs_1.40.0.bb b/meta-gnome/recipes-gnome/gvfs/gvfs_1.40.0.bb
index 7caee2771..3a4714a12 100644
--- a/meta-gnome/recipes-gnome/gvfs/gvfs_1.40.0.bb
+++ b/meta-gnome/recipes-gnome/gvfs/gvfs_1.40.0.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=05df38dd77c35ec8431f212410a3329e"
5GNOMEBASEBUILDCLASS = "meson" 5GNOMEBASEBUILDCLASS = "meson"
6inherit gnome bash-completion gettext upstream-version-is-even 6inherit gnome bash-completion gettext upstream-version-is-even
7 7
8DEPENDS += "libsecret glib-2.0 gconf libgudev udisks2 polkit shadow-native" 8DEPENDS += "libsecret glib-2.0 gconf libgudev shadow-native"
9 9
10SRC_URI = "https://download.gnome.org/sources/${BPN}/${@gnome_verdir("${PV}")}/${BPN}-${PV}.tar.xz;name=archive" 10SRC_URI = "https://download.gnome.org/sources/${BPN}/${@gnome_verdir("${PV}")}/${BPN}-${PV}.tar.xz;name=archive"
11 11
@@ -18,7 +18,6 @@ EXTRA_OEMESON = " \
18 -Dgoa=false \ 18 -Dgoa=false \
19 -Dgoogle=false \ 19 -Dgoogle=false \
20 -Dnfs=false \ 20 -Dnfs=false \
21 -Dudisks2=true \
22" 21"
23 22
24PACKAGES =+ "gvfsd-ftp gvfsd-sftp gvfsd-trash" 23PACKAGES =+ "gvfsd-ftp gvfsd-sftp gvfsd-trash"
@@ -31,7 +30,6 @@ FILES_${PN} += " \
31 ${libdir}/tmpfiles.d \ 30 ${libdir}/tmpfiles.d \
32 ${systemd_user_unitdir} \ 31 ${systemd_user_unitdir} \
33" 32"
34RDEPENDS_${PN} = "udisks2"
35 33
36FILES_${PN}-dbg += "${libdir}/gio/modules/.debug/*" 34FILES_${PN}-dbg += "${libdir}/gio/modules/.debug/*"
37FILES_${PN}-dev += "${libdir}/gio/modules/*.la" 35FILES_${PN}-dev += "${libdir}/gio/modules/*.la"
@@ -42,8 +40,14 @@ FILES_gvfsd-trash = "${libexecdir}/gvfsd-trash ${datadir}/gvfs/mounts/trash.moun
42 40
43RRECOMMENDS_gvfsd-ftp += "openssh-sftp openssh-ssh" 41RRECOMMENDS_gvfsd-ftp += "openssh-sftp openssh-ssh"
44 42
45PACKAGECONFIG ?= "libgphoto2 ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" 43PACKAGECONFIG ?= "libgphoto2 \
44 ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
45 ${@bb.utils.contains('DISTRO_FEATURES','polkit','udisks2','',d)} \
46 ${@bb.utils.contains('DISTRO_FEATURES','polkit','admin','',d)} \
47 "
46 48
49PACKAGECONFIG[udisks2] = "-Dudisks2=true, -Dudisks2=false, udisks2, udisks2"
50PACKAGECONFIG[admin] = "-Dadmin=true, -Dadmin=false, libcap polkit"
47PACKAGECONFIG[afc] = "-Dafc=true, -Dafc=false, libimobiledevice libplist" 51PACKAGECONFIG[afc] = "-Dafc=true, -Dafc=false, libimobiledevice libplist"
48PACKAGECONFIG[archive] = "-Darchive=true, -Darchive=false, libarchive" 52PACKAGECONFIG[archive] = "-Darchive=true, -Darchive=false, libarchive"
49PACKAGECONFIG[dnssd] = "-Ddnssd=true, -Ddnssd=false, avahi" 53PACKAGECONFIG[dnssd] = "-Ddnssd=true, -Ddnssd=false, avahi"
@@ -62,9 +66,11 @@ PACKAGECONFIG[fuse] = "-Dfuse=true, -Dfuse=false, fuse"
62PACKAGECONFIG[cdda] = "-Dcdda=true, -Dcdda=false, libcdio-paranoia" 66PACKAGECONFIG[cdda] = "-Dcdda=true, -Dcdda=false, libcdio-paranoia"
63 67
64do_install_append() { 68do_install_append() {
65 # Fix up permissions on polkit rules.d to work with rpm4 constraints 69 if ${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'true', 'false', d)}; then
66 chmod 700 ${D}/${datadir}/polkit-1/rules.d 70 # Fix up permissions on polkit rules.d to work with rpm4 constraints
67 chown polkitd:root ${D}/${datadir}/polkit-1/rules.d 71 chmod 700 ${D}/${datadir}/polkit-1/rules.d
72 chown polkitd:root ${D}/${datadir}/polkit-1/rules.d
73 fi
68 74
69 # After rebuilds (not from scracth) it can happen that the executables in 75 # After rebuilds (not from scracth) it can happen that the executables in
70 # libexec ar missing executable permission flag. Not sure but it came up 76 # libexec ar missing executable permission flag. Not sure but it came up