PR = "r1"
-DEPENDS = "libxml2 gconf libbonobo bzip2 gnome-mime-data"
+DEPENDS = "libxml2 gconf libbonobo bzip2 gnome-mime-data orbit2"
SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/${PN}/2.6/${PN}-${PV}.tar.bz2 \
file://gconftool-lossage.patch;patch=1;pnum=1"
+ORBIT_IDL_SRC = "${STAGING_BINDIR}/orbit-idl-2"
+
inherit autotools pkgconfig
FILES_${PN} += " ${libdir}/gnome-vfs-2.0/modules/*.so ${libdir}/bonobo/servers ${libdir}/bonobo/monikers/*.so ${libdir}/vfs"
gnome-vfs-mime.h \
gnome-vfs-socket-buffer.h"
+do_compile() {
+ oe_runmake ORBIT_IDL="${ORBIT_IDL_SRC}"
+}
+
do_stage() {
oe_libinstall -so -C libgnomevfs libgnomevfs-2 ${STAGING_LIBDIR}
install -d ${STAGING_INCDIR}/gnome-vfs-2.0/libgnomevfs
install -d ${STAGING_INCDIR}/gnome-vfs-module-2.0/libgnomevfs
for i in ${GNOME_VFS_MODULE_HEADERS}; do install -m 0644 libgnomevfs/$i ${STAGING_INCDIR}/gnome-vfs-module-2.0/libgnomevfs/; done
}
+
+do_install() {
+ oe_runmake ORBIT_IDL="${ORBIT_IDL_SRC}" DESTDIR="${D}" install
+}
install -d ${STAGING_INCDIR}/libbonobo-2.0/bonobo
for i in ${BONOBO_HEADERS}; do install -m 0644 bonobo/$i ${STAGING_INCDIR}/libbonobo-2.0/bonobo/; done
install -m 0644 libbonobo.h ${STAGING_INCDIR}/libbonobo-2.0/
+ install -d ${STAGING_DATADIR}/idl/bonobo-activation-2.0/
+ install idl/*.idl ${STAGING_DATADIR}/idl/bonobo-activation-2.0/
oe_libinstall -so -C bonobo libbonobo-2 ${STAGING_LIBDIR}
oe_libinstall -so -C bonobo-activation libbonobo-activation ${STAGING_LIBDIR}
}