diff options
Diffstat (limited to 'meta-gnome/packages/gnome/libbonobo.inc')
-rw-r--r-- | meta-gnome/packages/gnome/libbonobo.inc | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/meta-gnome/packages/gnome/libbonobo.inc b/meta-gnome/packages/gnome/libbonobo.inc new file mode 100644 index 0000000000..9f3642b80b --- /dev/null +++ b/meta-gnome/packages/gnome/libbonobo.inc | |||
@@ -0,0 +1,64 @@ | |||
1 | DESCRIPTION = "Bonobo CORBA interfaces library" | ||
2 | LICENSE = "GPL" | ||
3 | SECTION = "x11/gnome/libs" | ||
4 | DEPENDS = "glib-2.0 orbit2 intltool-native libxml2" | ||
5 | |||
6 | inherit gnome | ||
7 | |||
8 | SRC_URI += "file://gtk-doc.m4 \ | ||
9 | file://gtk-doc.make \ | ||
10 | " | ||
11 | |||
12 | ORBIT_IDL_SRC = "${STAGING_BINDIR_NATIVE}/orbit-idl-2" | ||
13 | |||
14 | FILES_${PN} += "${libdir}/orbit-2.0/*.so ${libdir}/bonobo/monikers/*.so" | ||
15 | FILES_${PN}-dbg += "${libdir}/bonobo/monikers/.debug \ | ||
16 | ${libdir}/bonobo-2.0/samples/.debug ${libdir}/orbit-2.0/.debug" | ||
17 | FILES_${PN}-dev += "${libdir}/orbit-2.0/* ${libdir}/bonobo/monikers/* \ | ||
18 | ${libdir}/bonobo-2.0/samples" | ||
19 | |||
20 | LEAD_SONAME = "libbonobo-2.so" | ||
21 | |||
22 | PARALLEL_MAKE = "" | ||
23 | |||
24 | do_configure_prepend() { | ||
25 | install -d m4 | ||
26 | install ${WORKDIR}/gtk-doc.m4 m4/ | ||
27 | install ${WORKDIR}/gtk-doc.make ./ | ||
28 | } | ||
29 | |||
30 | ACTIVATION_HEADERS = "Bonobo_Unknown.h Bonobo_GenericFactory.h Bonobo_Activation_types.h \ | ||
31 | bonobo-activation.h bonobo-activation-async.h bonobo-activation-activate.h \ | ||
32 | bonobo-activation-init.h bonobo-activation-shlib.h bonobo-activation-register.h \ | ||
33 | bonobo-activation-server-info.h bonobo-activation-version.h" | ||
34 | |||
35 | BONOBO_HEADERS = "Bonobo.h bonobo-arg.h bonobo-context.h bonobo-event-source.h bonobo-exception.h \ | ||
36 | bonobo-generic-factory.h bonobo-item-container.h bonobo-item-handler.h \ | ||
37 | bonobo-listener.h bonobo-main.h bonobo-macros.h bonobo-moniker-extender.h \ | ||
38 | bonobo-moniker-simple.h bonobo-moniker-util.h bonobo-moniker.h bonobo-object.h \ | ||
39 | bonobo-foreign-object.h bonobo-persist-file.h bonobo-persist-stream.h \ | ||
40 | bonobo-persist.h bonobo-persist-client.h bonobo-property-bag.h \ | ||
41 | bonobo-property-bag-client.h bonobo-shlib-factory.h bonobo-storage.h \ | ||
42 | bonobo-stream.h bonobo-stream-client.h bonobo-stream-memory.h \ | ||
43 | bonobo-storage-memory.h bonobo-xobject.h bonobo-i18n.h bonobo-types.h \ | ||
44 | bonobo-app-client.h bonobo-application.h" | ||
45 | |||
46 | do_compile() { | ||
47 | oe_runmake ORBIT_IDL="${ORBIT_IDL_SRC}" | ||
48 | } | ||
49 | |||
50 | do_stage() { | ||
51 | install -d ${STAGING_INCDIR}/bonobo-activation-2.0/bonobo-activation | ||
52 | for i in ${ACTIVATION_HEADERS}; do install -m 0644 bonobo-activation/$i ${STAGING_INCDIR}/bonobo-activation-2.0/bonobo-activation/; done | ||
53 | install -d ${STAGING_INCDIR}/libbonobo-2.0/bonobo | ||
54 | for i in ${BONOBO_HEADERS}; do install -m 0644 bonobo/$i ${STAGING_INCDIR}/libbonobo-2.0/bonobo/; done | ||
55 | install -m 0644 libbonobo.h ${STAGING_INCDIR}/libbonobo-2.0/ | ||
56 | install -d ${STAGING_DATADIR}/idl/bonobo-activation-2.0/ | ||
57 | install idl/*.idl ${STAGING_DATADIR}/idl/bonobo-activation-2.0/ | ||
58 | oe_libinstall -so -C bonobo libbonobo-2 ${STAGING_LIBDIR} | ||
59 | oe_libinstall -so -C bonobo-activation libbonobo-activation ${STAGING_LIBDIR} | ||
60 | } | ||
61 | |||
62 | do_install() { | ||
63 | oe_runmake ORBIT_IDL="${ORBIT_IDL_SRC}" DESTDIR="${D}" install | ||
64 | } | ||