1
0
forked from brl/citadel
citadel/meta-gnome/recipes-gnome/gvfs/gvfs_1.44.1.bb

74 lines
2.3 KiB
BlitzBasic
Raw Normal View History

DESCRIPTION = "gvfs is a userspace virtual filesystem"
LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=05df38dd77c35ec8431f212410a3329e"
GNOMEBASEBUILDCLASS = "meson"
inherit gnomebase gtk-icon-cache gconf mime bash-completion gettext upstream-version-is-even
DEPENDS += "libsecret glib-2.0 gconf libgudev udisks2 polkit shadow-native libusb1 gsettings-desktop-schemas"
SRC_URI = "https://download.gnome.org/sources/${BPN}/${@gnome_verdir("${PV}")}/${BPN}-${PV}.tar.xz;name=archive"
SRC_URI[archive.md5sum] = "72383474f52d05c21ef2be96d0b91974"
SRC_URI[archive.sha256sum] = "50ef3245d1b03666a40455109169a2a1bd51419fd2d51f9fa6cfd4f89f04fb46"
EXTRA_OEMESON = " \
-Dadmin=false \
-Dafc=false \
-Dafp=false \
-Darchive=false \
-Dcdda=false \
-Ddnssd=false \
-Dgoa=false \
-Dgoogle=false \
-Dgphoto2=false \
-Dhttp=false \
-Dmtp=false \
-Dhttp=false \
-Dnfs=false \
-Dsftp=false \
-Dsmb=false \
-Dbluray=false \
-Dgcr=false \
-Dkeyring=false \
-Dudisks2=true \
"
FILES_${PN} += " \
${datadir}/glib-2.0 \
${datadir}/GConf \
${datadir}/dbus-1/services \
${libdir}/gio/modules/*.so \
${libdir}/tmpfiles.d \
${systemd_user_unitdir} \
"
RDEPENDS_${PN} = "udisks2"
FILES_${PN}-dbg += "${libdir}/gio/modules/.debug/*"
FILES_${PN}-dev += "${libdir}/gio/modules/*.la"
PACKAGECONFIG[systemd] = "-Dsystemduserunitdir=${systemd_user_unitdir} -Dtmpfilesdir=${libdir}/tmpfiles.d, -Dsystemduserunitdir=no -Dtmpfilesdir=no, systemd"
# needs meta-filesystems
PACKAGECONFIG[fuse] = "-Dfuse=true, -Dfuse=false, fuse"
do_install_append() {
# After rebuilds (not from scracth) it can happen that the executables in
# libexec ar missing executable permission flag. Not sure but it came up
# during transition to meson. Looked into build files and logs but could
# not find suspicious
for exe in `find ${D}/${libexec}`; do
chmod +x $exe
done
# Something sets user services executable - looks a bit as if meson
# transition has room for enhancements...
# Systemd warns with messages as:
# Apr 07 01:00:33 raspberrypi3 systemd[348]: Configuration file /usr/lib/systemd/user/gvfs-mtp-volume-monitor.service is marked executable. Please remove executable permissio>
for service in `find ${D}/${systemd_user_unitdir}`; do
chmod -x $service
done
}