diff options
Diffstat (limited to 'meta-gnome/recipes-gnome/gvfs/gvfs_1.41.2.bb')
-rw-r--r-- | meta-gnome/recipes-gnome/gvfs/gvfs_1.41.2.bb | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/gvfs/gvfs_1.41.2.bb b/meta-gnome/recipes-gnome/gvfs/gvfs_1.41.2.bb new file mode 100644 index 000000000..27e3f92cc --- /dev/null +++ b/meta-gnome/recipes-gnome/gvfs/gvfs_1.41.2.bb | |||
@@ -0,0 +1,82 @@ | |||
1 | DESCRIPTION = "gvfs is a userspace virtual filesystem" | ||
2 | LICENSE = "LGPLv2" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=05df38dd77c35ec8431f212410a3329e" | ||
4 | |||
5 | GNOMEBASEBUILDCLASS = "meson" | ||
6 | inherit gnomebase bash-completion gettext upstream-version-is-even | ||
7 | |||
8 | DEPENDS += "libsecret glib-2.0 glib-2.0-native gconf libgudev shadow-native" | ||
9 | |||
10 | SRC_URI = "https://download.gnome.org/sources/${BPN}/${@gnome_verdir("${PV}")}/${BPN}-${PV}.tar.xz;name=archive" | ||
11 | |||
12 | SRC_URI[archive.md5sum] = "9a9a97a63bb9e87258d48086a6bdacaa" | ||
13 | SRC_URI[archive.sha256sum] = "f311b7c5f855ebe259960c00c7d03c812e040928ecb0ec093b50a4f16b3bcf26" | ||
14 | |||
15 | |||
16 | EXTRA_OEMESON = " \ | ||
17 | -Dbluray=false \ | ||
18 | -Dgoa=false \ | ||
19 | -Dgoogle=false \ | ||
20 | -Dnfs=false \ | ||
21 | " | ||
22 | |||
23 | PACKAGES =+ "gvfsd-ftp gvfsd-sftp gvfsd-trash" | ||
24 | |||
25 | FILES_${PN} += " \ | ||
26 | ${datadir}/glib-2.0 \ | ||
27 | ${datadir}/GConf \ | ||
28 | ${datadir}/dbus-1/services \ | ||
29 | ${libdir}/gio/modules/*.so \ | ||
30 | ${libdir}/tmpfiles.d \ | ||
31 | ${systemd_user_unitdir} \ | ||
32 | " | ||
33 | |||
34 | FILES_${PN}-dbg += "${libdir}/gio/modules/.debug/*" | ||
35 | FILES_${PN}-dev += "${libdir}/gio/modules/*.la" | ||
36 | |||
37 | FILES_gvfsd-ftp = "${libexecdir}/gvfsd-ftp ${datadir}/gvfs/mounts/ftp.mount" | ||
38 | FILES_gvfsd-sftp = "${libexecdir}/gvfsd-sftp ${datadir}/gvfs/mounts/sftp.mount" | ||
39 | FILES_gvfsd-trash = "${libexecdir}/gvfsd-trash ${datadir}/gvfs/mounts/trash.mount" | ||
40 | |||
41 | RRECOMMENDS_gvfsd-ftp += "openssh-sftp openssh-ssh" | ||
42 | |||
43 | PACKAGECONFIG ?= "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 | " | ||
48 | |||
49 | PACKAGECONFIG[udisks2] = "-Dudisks2=true, -Dudisks2=false, udisks2, udisks2" | ||
50 | PACKAGECONFIG[admin] = "-Dadmin=true, -Dadmin=false, libcap polkit" | ||
51 | PACKAGECONFIG[afc] = "-Dafc=true, -Dafc=false, libimobiledevice libplist" | ||
52 | PACKAGECONFIG[archive] = "-Darchive=true, -Darchive=false, libarchive" | ||
53 | PACKAGECONFIG[dnssd] = "-Ddnssd=true, -Ddnssd=false, avahi" | ||
54 | PACKAGECONFIG[gcr] = "-Dgcr=true, -Dgcr=false, gcr" | ||
55 | PACKAGECONFIG[http] = "-Dhttp=true, -Dhttp=false, libsoup-2.4" | ||
56 | PACKAGECONFIG[libmtp] = "-Dmtp=true, -Dmtp=false, libmtp" | ||
57 | PACKAGECONFIG[logind] = "-Dlogind=true, -Dlogind=false, systemd" | ||
58 | PACKAGECONFIG[libgphoto2] = "-Dgphoto2=true, -Dgphoto2=false, libgphoto2" | ||
59 | PACKAGECONFIG[samba] = "-Dsmb=true, -Dsmb=false, samba" | ||
60 | PACKAGECONFIG[systemd] = "-Dsystemduserunitdir=${systemd_user_unitdir} -Dtmpfilesdir=${libdir}/tmpfiles.d, -Dsystemduserunitdir=no -Dtmpfilesdir=no, systemd" | ||
61 | |||
62 | # needs meta-filesystems | ||
63 | PACKAGECONFIG[fuse] = "-Dfuse=true, -Dfuse=false, fuse" | ||
64 | |||
65 | # libcdio-paranoia recipe doesn't exist yet | ||
66 | PACKAGECONFIG[cdda] = "-Dcdda=true, -Dcdda=false, libcdio-paranoia" | ||
67 | |||
68 | do_install_append() { | ||
69 | if ${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'true', 'false', d)}; then | ||
70 | # Fix up permissions on polkit rules.d to work with rpm4 constraints | ||
71 | chmod 700 ${D}/${datadir}/polkit-1/rules.d | ||
72 | chown polkitd:root ${D}/${datadir}/polkit-1/rules.d | ||
73 | fi | ||
74 | |||
75 | # After rebuilds (not from scracth) it can happen that the executables in | ||
76 | # libexec ar missing executable permission flag. Not sure but it came up | ||
77 | # during transition to meson. Looked into build files and logs but could | ||
78 | # not find suspicious | ||
79 | for exe in `find ${D}/${libexecdir}`; do | ||
80 | chmod +x $exe | ||
81 | done | ||
82 | } | ||