summaryrefslogtreecommitdiffstats
path: root/meta/packages/gnome/gnome-vfs-dbus_cvs.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gnome/gnome-vfs-dbus_cvs.bb')
-rwxr-xr-xmeta/packages/gnome/gnome-vfs-dbus_cvs.bb102
1 files changed, 102 insertions, 0 deletions
diff --git a/meta/packages/gnome/gnome-vfs-dbus_cvs.bb b/meta/packages/gnome/gnome-vfs-dbus_cvs.bb
new file mode 100755
index 0000000000..9ccd23e414
--- /dev/null
+++ b/meta/packages/gnome/gnome-vfs-dbus_cvs.bb
@@ -0,0 +1,102 @@
1SECTION = "x11/utils"
2DEPENDS = "gtk+ glib-2.0 gconf dbus libxml2 zlib bzip2 gnome-mime-data"
3DESCRIPTION = "Virtual file system library using DBUS for communication."
4LICENSE = "GPLv2"
5MAINTAINER = "Chris Lord <chris@openedhand.com>"
6PROVIDES = "gnome-vfs"
7RPROVIDES_${PN} = "gnome-vfs"
8RPROVIDES_${PN}-dev = "gnome-vfs-dev"
9RRECOMMENDS_${PN} = "gnome-vfs-plugin-file shared-mime-info"
10
11PV = "2.12.0+cvs${SRCDATE}"
12PR = "r6"
13
14SRC_URI = "svn://anonymous@developer.imendio.com/svn/gnome-vfs-dbus;module=trunk;proto=http \
15 file://no-gtk-doc.patch;patch=1 \
16 file://gconftool-lossage.patch;patch=1 \
17 file://gssapi.patch;patch=1 \
18 file://remove-old-translations.patch;patch=1"
19S = "${WORKDIR}/trunk"
20
21inherit pkgconfig autotools
22
23EXTRA_OECONF = "--with-ipc=dbus --disable-hal --disable-gtk-doc --disable-more-warnings --disable-howl"
24
25FILES_${PN} += " ${libdir}/vfs ${datadir}/dbus-1/services/dbus-vfs-daemon.service"
26FILES_${PN}-dev += " ${libdir}/gnome-vfs-2.0/modules/*.a ${libdir}/gnome-vfs-2.0/modules/*.la ${libdir}/gnome-vfs-2.0/include"
27FILES_${PN}-doc += " ${datadir}/gtk-doc"
28
29# These header lists have been copy-pasted from trunk/libgnomevfs/Makefile.am
30GNOME_VFS_PLATFORM_HEADERS = " \
31 gnome-vfs-file-size.h"
32
33GNOME_VFS_MODULE_HEADERS = " \
34 gnome-vfs-cancellable-ops.h \
35 gnome-vfs-inet-connection.h \
36 gnome-vfs-method.h \
37 gnome-vfs-mime.h \
38 gnome-vfs-mime-info.h \
39 gnome-vfs-module-callback-module-api.h \
40 gnome-vfs-module-shared.h \
41 gnome-vfs-module.h \
42 gnome-vfs-parse-ls.h \
43 gnome-vfs-ssl.h \
44 gnome-vfs-transform.h \
45 gnome-vfs-socket-buffer.h \
46 gnome-vfs-socket.h"
47
48GNOME_VFS_HEADERS = " \
49 gnome-vfs-application-registry.h \
50 gnome-vfs-address.h \
51 gnome-vfs-async-ops.h \
52 gnome-vfs-cancellation.h \
53 gnome-vfs-context.h \
54 gnome-vfs-directory.h \
55 gnome-vfs-dns-sd.h \
56 gnome-vfs-drive.h \
57 gnome-vfs-enum-types.h \
58 gnome-vfs-file-info.h \
59 gnome-vfs-file-size.h \
60 gnome-vfs-find-directory.h \
61 gnome-vfs-handle.h \
62 gnome-vfs-init.h \
63 gnome-vfs-job-limit.h \
64 gnome-vfs-mime-deprecated.h \
65 gnome-vfs-mime-handlers.h \
66 gnome-vfs-mime-info-cache.h \
67 gnome-vfs-mime-monitor.h \
68 gnome-vfs-mime-utils.h \
69 gnome-vfs-module-callback.h \
70 gnome-vfs-monitor.h \
71 gnome-vfs-ops.h \
72 gnome-vfs-resolve.h \
73 gnome-vfs-result.h \
74 gnome-vfs-standard-callbacks.h \
75 gnome-vfs-types.h \
76 gnome-vfs-uri.h \
77 gnome-vfs-utils.h \
78 gnome-vfs-volume-monitor.h \
79 gnome-vfs-volume.h \
80 gnome-vfs-xfer.h \
81 gnome-vfs.h"
82
83do_stage() {
84 oe_libinstall -so -C libgnomevfs libgnomevfs-2 ${STAGING_LIBDIR}
85 install -d ${STAGING_INCDIR}/gnome-vfs-2.0/libgnomevfs
86 for i in ${GNOME_VFS_HEADERS}; do install -m 0644 libgnomevfs/$i ${STAGING_INCDIR}/gnome-vfs-2.0/libgnomevfs/; done
87 install -d ${STAGING_INCDIR}/gnome-vfs-module-2.0/libgnomevfs
88 for i in ${GNOME_VFS_MODULE_HEADERS}; do install -m 0644 libgnomevfs/$i ${STAGING_INCDIR}/gnome-vfs-module-2.0/libgnomevfs/; done
89 install -d ${STAGING_INCDIR}/include/libgnomevfs
90 for i in ${GNOME_VFS_PLATFORM_HEADERS}; do install -m 0644 libgnomevfs/$i ${STAGING_INCDIR}/include/libgnomevfs/; done
91}
92
93PACKAGES_DYNAMIC = "gnome-vfs-plugin-*"
94
95python populate_packages_prepend () {
96 print bb.data.getVar('FILES_gnome-vfs', d, 1)
97
98 plugindir = bb.data.expand('${libdir}/gnome-vfs-2.0/modules/', d)
99 do_split_packages(d, plugindir, '^lib(.*)\.so$', 'gnome-vfs-plugin-%s',
100'GNOME VFS plugin for %s')
101}
102