summaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-gnome/gvfs/gvfs-gdu-volume-monitor_1.8.2.bb
blob: 3bc6b2bd3807fc5433b845996b3245f6f9c55562 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
require gvfs.inc

BPN = "gvfs"

DEPENDS = "gvfs gnome-disk-utility"

PR = "${INC_PR}.5"

# 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
}