aboutsummaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-gnome/gvfs/gvfs-gdu-volume-monitor_1.10.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-gnome/recipes-gnome/gvfs/gvfs-gdu-volume-monitor_1.10.1.bb')
-rw-r--r--meta-gnome/recipes-gnome/gvfs/gvfs-gdu-volume-monitor_1.10.1.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/gvfs/gvfs-gdu-volume-monitor_1.10.1.bb b/meta-gnome/recipes-gnome/gvfs/gvfs-gdu-volume-monitor_1.10.1.bb
new file mode 100644
index 00000000000..bd6d9de5d0b
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gvfs/gvfs-gdu-volume-monitor_1.10.1.bb
@@ -0,0 +1,29 @@
+require gvfs.inc
+
+BPN = "gvfs"
+
+DEPENDS = "gvfs gnome-disk-utility"
+
+PR = "${INC_PR}.0"
+
+# we need gdu files only: reduce files to delete in libexecdir
+EXTRA_OECONF += "--disable-gphoto2 \
+ --disable-afc \
+ --disable-samba"
+
+do_install_append() {
+ rm -rf ${D}${sysconfdir}
+ rm -rf ${D}${bindir}
+ rm -rf ${D}${includedir}
+ rm -rf ${D}${libdir}/gio
+ rm -rf ${D}${libdir}/lib*
+ rmdir --ignore-fail-on-non-empty ${D}${libdir}
+ rm -rf ${D}${datadir}/gvfs/mounts
+ rm -rf ${D}${datadir}/glib-2.0
+ rm -rf ${D}${datadir}/GConf
+ rm -f ${D}${datadir}/dbus-1/services/gvfs-*
+ rm -rf ${D}${datadir}/locale
+ rm -f ${D}${libexecdir}/gvfsd*
+ rm -f ${D}${libexecdir}/gvfs-fuse-daemon
+ rm -f ${D}${libexecdir}/gvfs-gphoto2-volume-monitor
+}