5 RPROVIDES = "gnome-vfs"
7 inherit gnome pkgconfig
9 DEPENDS = "libxml2 gconf-dbus dbus bzip2 gnome-mime-data zlib samba-3.0.14a"
10 RRECOMMENDS = "gnome-vfs-plugin-file shared-mime-info"
13 SRC_URI = "http://ftp.imendio.com/pub/extra/${PN}/${PN}-${PV}.tar.gz \
14 file://gssapi.patch;patch=1;pnum=1 \
15 file://gconftool-lossage.patch;patch=1;pnum=1"
17 EXTRA_OECONF = "--with-ipc=dbus"
19 FILES_${PN} += " ${libdir}/vfs"
20 FILES_${PN}-dev += " ${libdir}/gnome-vfs-2.0/modules/*.a ${libdir}/gnome-vfs-2.0/modules/*.la ${libdir}/gnome-vfs-2.0/include"
21 FILES_${PN}-doc += " ${datadir}/gtk-doc"
23 GNOME_VFS_HEADERS = " \
25 gnome-vfs-application-registry.h \
26 gnome-vfs-async-ops.h \
29 gnome-vfs-standard-callbacks.h \
30 gnome-vfs-module-callback.h \
32 gnome-vfs-file-info.h \
33 gnome-vfs-directory.h \
34 gnome-vfs-mime-monitor.h \
35 gnome-vfs-mime-handlers.h \
37 gnome-vfs-job-limit.h \
38 gnome-vfs-file-size.h \
39 gnome-vfs-mime-utils.h \
40 gnome-vfs-find-directory.h \
44 gnome-vfs-cancellation.h \
48 gnome-vfs-volume-monitor.h \
51 gnome-vfs-enum-types.h \
54 gnome-vfs-mime-info-cache.h \
57 GNOME_VFS_MODULE_HEADERS = " \
58 gnome-vfs-mime-info.h \
59 gnome-vfs-transform.h \
61 gnome-vfs-inet-connection.h \
63 gnome-vfs-parse-ls.h \
65 gnome-vfs-cancellable-ops.h \
67 gnome-vfs-module-shared.h \
68 gnome-vfs-module-callback-module-api.h \
70 gnome-vfs-socket-buffer.h"
73 oe_libinstall -so -C libgnomevfs libgnomevfs-2 ${STAGING_LIBDIR}
74 install -d ${STAGING_INCDIR}/gnome-vfs-2.0/libgnomevfs
75 for i in ${GNOME_VFS_HEADERS}; do install -m 0644 libgnomevfs/$i ${STAGING_INCDIR}/gnome-vfs-2.0/libgnomevfs/; done
76 install -d ${STAGING_INCDIR}/gnome-vfs-module-2.0/libgnomevfs
77 for i in ${GNOME_VFS_MODULE_HEADERS}; do install -m 0644 libgnomevfs/$i ${STAGING_INCDIR}/gnome-vfs-module-2.0/libgnomevfs/; done
81 oe_runmake ORBIT_IDL="${ORBIT_IDL_SRC}" DESTDIR="${D}" install
84 python populate_packages_prepend () {
85 print bb.data.getVar('FILES_gnome-vfs', d, 1)
87 plugindir = bb.data.expand('${libdir}/gnome-vfs-2.0/modules/', d)
88 do_split_packages(d, plugindir, '^lib(.*)\.so$', 'gnome-vfs-plugin-%s', 'GNOME VFS plugin for %s')